[Cin] Segmented Recording from input stream
Terje J. Hanssen
terjejhanssen at gmail.com
Thu May 29 22:42:03 CEST 2025
Is it possible with CinGG's Record utility (via FFMPEG) to record a
stream to file segments of same duration or file size and use auto-naming?
Typical example:
Record a video/audio input stream (i.e from playing a camcorder tape
cassette) and encode to output file segments of 10 minutes or 10 GB each
and auto-name file numbers.
Similar example code using an input file instead at
https://unix.stackexchange.com/questions/1670/how-can-i-use-ffmpeg-to-split-mpeg-video-into-10-minute-chunks
Just use what is built into ffmpeg to do exactly this.
|ffmpeg -i invid.mp4 -threads 3 \ -vcodec copy *-f segment -segment_time
10:00 \ -reset_timestamps 1 \ cam_out_h264_%02d.mp4* |
This will split it into roughly 10-minute chunks, split at the relevant
keyframes, and will output to the files *|cam_out_h264_01.mp4|,
|cam_out_h264_02.mp4|*, etc.
Terje J. H
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20250529/47a68596/attachment.htm>
More information about the Cin
mailing list