Ffmpeg: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Opus to MPP3==
ffmpeg -i original.opus out.mp3
== Streaming server ==
starting the server:
starting the server:


Line 8: Line 16:


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

Latest revision as of 01:29, 18 May 2024

Opus to MPP3

ffmpeg -i original.opus out.mp3


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