Ffmpeg: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
m (David moved page Ffmpeg Streaming Server to Ffmpeg)
No edit summary
Line 1: Line 1:
== Streaming server ==
starting the server:
starting the server:


Line 8: Line 10:


perl notes: http://www.perlmonks.org/?node_id=792758
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

Revision as of 04:46, 9 May 2018

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