get chunks of a mp4 in ffmpeg

Getting Chunks of an MP4 in FFmpeg

To get chunks of an MP4 in FFmpeg, you can use the following command:

ffmpeg -i input.mp4 -ss 00:00:10 -t 00:00:05 -c copy output.mp4

Replace input.mp4 with the name of your input file, 00:00:10 with the start time of the chunk, 00:00:05 with the duration of the chunk, and output.mp4 with the desired name of the output file.

This command will create a new MP4 file starting from the specified time and with the specified duration.