[FFmpeg-user] triming an audio wavfile

llee040 at sbcglobal.net llee040 at sbcglobal.net
Tue May 25 03:00:15 EEST 2021



> On May 24, 2021, at 4:22 PM, pink panther <pantherlong at gmail.com> wrote:
> 
> I have tried all of the below. I just want to cut the audio(music on hold)
> to 1 minute because it's too long
> 
> 
> 
> ffmpeg -ss 0 -i Mohg729.wav -t 60 -acodec copy Mohg729a.wav
> 
> ffmpeg -i mohg729.wav -ss 00:00:00 -to 00:00:60 -c copy -y temp.wav
> 
> ffmpeg -ss 00:00 -i Mohg729.wav -t 00:60 -o Mohg729a.wav
> 
> ffmpeg -i Mohg729.wav -ss 00:00:00.0 -codec copy -t 60 Mohg729a.wav
> 
> ffmpeg -i Mohg729.wav -ss 00:1:00 -c copy Mohg729b.wav
> 
> ffmpeg -i Mohg729.wav -ss 00:1:00 -c copy Mohg729b.wav
> 
> ffmpeg -ss 0 -t 50 -i Mohg729.wav Mohg729a.wav
> 

Hi pink panther,

Will this do it?

ffmpeg -i 'audio_too_long.wav' -ss 00:00:00.00 -t 00:01:00.00 -c:a copy ‘audio_just_right.wav'

Laine Lee


More information about the ffmpeg-user mailing list