trim audio ffmpeg code example
Example 1: ffmpeg trim video
ffmpeg -ss 00:00:30.0 -i input.wmv -c copy -t 00:00:10.0 output.wmv
ffmpeg -ss 30 -i input.wmv -c copy -t 10 output.wmv
Example 2: cut audio using ffmpeg
ffmpeg -ss 132 -t 139 -i original.mp3 new.mp3