Ffmpeg

From Federal Burro of Information
Jump to navigationJump to search

Streaming server

starting the server:

FIXME

adding a file to the stream:

ffmpeg -i 01_Leave_Home.mp3  -map 0 -acodec copy http://localhost:8090/feed1.ffm

perl notes: http://www.perlmonks.org/?node_id=792758


jpeg to video

ffmpeg -start_number 1 -i '%d.jpeg' -c:v mpeg4 out.mp4
ffmpeg -start_number 1 -i '%d.jpeg' -c:v mpeg4 -pix_fmt yuv420p out2.mp4


refrence: https://superuser.com/questions/666860/clarification-for-ffmpeg-input-option-with-image-files-as-input