пт, 13 июн. 2025 г., 22:23 Phyllis Smith <phylsmith2017@gmail.com>:
With the patch (and even using extension of mpeg instead of seg), I simply have not been able to get this to work. So either I keep doing something wrong or it does. Patch to fileffmpeg.C is: 0001-Fixup-seg-name-to-segment-so-format-gui-button-work.patch . And the 2 presets are bluray_lpcm.seg and mpeg2hd422p.seg
Try extension mpg, not mpeg and be sure you have
%d0 symbols in your filename?
Note, this file will be created as 0-sized, you need to watch/load segment files manually.
>>
>> пт, 30 мая 2025 г., 00:30 Andrew Randrianasulu <randrianasulu@gmail.com>:
>>
>> чт, 29 мая 2025 г., 23:42 Terje J. Hanssen via Cin <cin@lists.cinelerra-gg.org>:
>>
>> 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.
>>
>> Very interesting question! Never tried this, did not even know it existed!
>>
>> As long as this -f just ordinary avformat muxer you probably can copy your favourite ffmpeg video/audio profiles with new .seg name and put "segmented" at very first line there , where "mov" or "matroska" or other format name was, and add rest of options. And add pattern (%02d) into name just as with ffmpeg-based image lists.
>>