Ffmpeg: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
(Created page with "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")
 
No edit summary
 
(3 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 6: Line 14:


  ffmpeg -i 01_Leave_Home.mp3  -map 0 -acodec copy http://localhost:8090/feed1.ffm
  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

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