Switch to record/split to multiple files on the fly
|Reported by:||Sebastian||Owned by:||Michael Niedermayer|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
It would be really nice if there was another command line switch/parameter for splitting/recording to multiple files on the fly. Something like the existing -t switch, but instead of recording, say, 10 minutes and then stopping, it would be nice to record 10 minutes, and then create a new file. This will obviously have to take some arguments for designating the file names automatically - either incrementally (video01.avi, video02.avi, video03.avi) - either based on the time of recording start (10:22_video.avi, 10:32_video.avi, 10:42_video.avi etc.). Or the output file name argument parsing could be modified to parse time/date based switches.
This would be very useful specially for something like a cctv application, where recording tends to be done in 10 minutes segments - but there probably are other circumstances which will benefit from this.
At the moment I use the -t switch and a loop in a bash script - but a dedicated option/command line switch for ffmpeg would be far more elegant.