#26(FFmpeg:new): Switch to record/split to multiple files on the fly
#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
#26: Switch to record/split to multiple files on the fly -------------------------------------------------+------------------------- Reporter: xj25vm | Owner: michael Type: enhancement | Status: open Priority: wish | Component: FFmpeg Version: git | Resolution: Keywords: segment based recording on the fly | Blocked By: splitting | Reproduced: 0 Blocking: | Analyzed: 0 | -------------------------------------------------+------------------------- Changes (by cehoyos): * priority: normal => wish * status: new => open Comment: I wonder if this can be done for all output formats (and all protocols) in a useful way and how the overhead on writing indexes, closing one file and opening another should be handled. -- Ticket URL: <http://avcodec.org/trac/ffmpeg/ticket/26#comment:1> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
#26: Switch to record/split to multiple files on the fly -------------------------------------+------------------------------------ Reporter: xj25vm | Owner: michael Type: enhancement | Status: closed Priority: wish | Component: avformat Version: git-master | Resolution: fixed Keywords: segment | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by cehoyos): * keywords: segment based recording on the fly splitting => segment * resolution: => fixed * status: open => closed * component: FFmpeg => avformat * version: git => git-master Comment: This has been implemented by Luca as -f segment, works fine with -segment_format mpegts (needs -flags -global_header for h264), see ffmpeg -h for the other segment options. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/26#comment:2> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg