Ffmpeg

From Federal Burro of Information
Revision as of 01:29, 18 May 2024 by David (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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