Content Cropping
The topic provides examples for cropping contents from an audio file or from a video file.
The following code block shows the example in different scenarios.
- Crop H.264 content from an H.264 file:
ffmpeg -i 1080p.h264 -ss 00:00:10 -t 01:00:00 -vcodec copy -acodec copy 1080p.h264
- Crop content from an audio file beginning at time 00:30:00:
ffmpeg -i test1-16k-32b.mp3 -ss 00:30:00 -t 00:01:00 -acodec copy output-test1-16k-32b-cut.mp3