ffmpeg file trimming

From thelinuxwiki
Jump to: navigation, search

trim an mp3 file

Example: trim time before 10 seconds and after 10+40=50 seconds, keeping the time in between:

ffmpeg -i input_file.mp3 -c copy -ss 00:00:10 -t 00:00:40 output_filename.mp3