ffmpeg cut video into chunks code example
Example 1: get chunks of a mp4 in ffmpeg
ffmpeg -i input.mp4 -c copy -map 0 -segment_time 00:20:00 -f segment -reset_timestamps 1 output%03d.mp4
Example 2: ffmpeg divide video into parts
ffmpeg -i input.mp4 -c copy -map 0 -segment_time 00:20:00 -f segment output%03d.mp4