get chunks of a mp4 in ffmpeg
snippet in c

get chunks of a mp4 in ffmpeg

user3005

ffmpeg -i input.mp4 -c copy -map 0 -segment_time 00:20:00 -f segment -reset_timestamps 1 output%03d.mp4

ffmpeg divide video into parts

user1931

ffmpeg -i input.mp4 -c copy -map 0 -segment_time 00:20:00 -f segment output%03d.mp4