[FFmpeg-user] frag_duration ignored when segmentation is used
André Hänsel
andre at webkr.de
Thu Oct 4 21:35:14 EEST 2018
Hi list,
this successfully generates a fragmented MP4:
ffmpeg -i rtsp://192.168.1.202:554/ch01.264 -map 0:0 -c:v copy
-frag_duration 4000000 out.mp4
But this doesn't, it generates a normal MP4 (ftyp-free-mdat-moov):
ffmpeg -i rtsp://192.168.1.202:554/ch01.264 -map 0:0 -c:v copy
-frag_duration 4000000 -f segment -segment_time 12 -segment_format mp4
out-%03d.mp4
Am I using the wrong command or is ffmpeg unabled to fragment and segment at
the same time?
Regards,
André
More information about the ffmpeg-user
mailing list