[FFmpeg-user] Output file to long

DopeLabs dopelabs at dubstep.fm
Sat Aug 23 13:27:25 CEST 2014

You can use the -ss option to specify a start timestamp, and the -t option to specify the encoding duration. The timestamps need to be in HH:MM:SS.xxx format or in seconds.

The following would create a 10 second clip starting at 30 seconds.

ffmpeg -i input.mp3 -ss 00:00:30.0 -c copy -t 00:00:10.0 output.mp3

you might try 

ffmpeg -i input.mp3 -ss 00:00:00.0 -c copy -t 00:02:35.0 output.mp3


More information about the ffmpeg-user mailing list