[FFmpeg-user] How to output to multiple file "DYNAMICALLY"?

Huang Soho soho123.2012 at gmail.com
Mon Oct 14 10:33:41 CEST 2013


Hi All,

Can ffmpeg output to multiple file dynamically?
for example:
if the command line is :
ffmpeg -sn -f video4linux2 -r 30 -s 1280x720 -input_format h264 -i
/dev/video1 -f alsa -ar 48000 -ac 2 -i hw:0 -vcodec copy -acodec copy -map
0:0 -map 1:0 http://localhost:8090/feed2.ffm

I can capture video and audio from device, then output to feed2.ffm,
Can ffmpeg output the video and audio data to local file if there is the
specific event take place?
for example :
if the current time is match that user setup,
or motion detection is occur, ....etc....


More information about the ffmpeg-user mailing list