[FFmpeg-trac] #26(FFmpeg:new): Switch to record/split to multiple files on the fly
FFmpeg
trac at avcodec.org
Mon Mar 28 12:20:34 CEST 2011
#26: Switch to record/split to multiple files on the fly
-------------------------+-------------------------------------------------
Reporter: xj25vm | Owner: michael
Type: | Status: new
enhancement | Component: FFmpeg
Priority: normal | Keywords: segment based recording on the fly
Version: git | splitting
Blocked By: | Blocking:
Reproduced: 0 | Analyzed: 0
-------------------------+-------------------------------------------------
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.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/26>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list