[FFmpeg-user] how can I set limit_filesize or recording_time for the specific output dynamically?

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Oct 14 16:14:45 CEST 2013


Huang Soho <soho123.2012 <at> gmail.com> writes:

> how can I set limit_filesize or recording_time for the specific output?
> Is it possible to set by "dynamically"?
> for example:
> if the command line is :
> ffmpeg -sn -f video4linux2 -r 30 -s 1280x720 -input_format h264 -i
> /dev/video1 -vcodec copy http://localhost:8090/feed2.ffm -vcodec copy
> /var/tmp/usb/sda1/test1.ts

(Complete, uncut console output missing.)

There is the segment muxer, see 4.15 in 
http://ffmpeg.org/ffmpeg-formats.html

Carl Eugen



More information about the ffmpeg-user mailing list