[FFmpeg-user] triming an audio wavfile

Carl Zwanzig cpz at tuunq.com
Tue May 25 06:35:03 EEST 2021


Please learn what top-posting is and stop doing it on this list.

On 5/24/2021 6:40 PM, pink panther wrote:
> I tried it with the double quotes and got the following. Same out I got
> using the other statements I got from the other links

> C:\ffmpeg>ffmpeg -i "Mohg729.wav" -ss 00:00:00.00 -t 00:01:00.00 -c:a copy
> "Mohg729a.wav"
> ffmpeg version N-101626-gc5341d415c Copyright (c) 2000-2021 the FFmpeg
> developers
[...]

> [wav @ 00000215e03f4580] Estimating duration from bitrate, this may be
> inaccurate
> [wav @ 00000215e03f4580] Could not find codec parameters for stream 0
> (Audio: none (3[1][0][0] / 0x0133), 8000 Hz, 1 channels, 8 kb/s): unknown
> codec
> Consider increasing the value for the 'analyzeduration' (0) and 'probesize'
> (5000000) options

Well... there's a problem- ffmpeg can't figure out the input codec*. Did the 
file extension come as .wav or was it changed from something else? A quick 
google search (took me a minute) suggests that you may need to insert "-f 
g729" before the "-i". Also, that g729b isn't supported at all.
  Please verify whether that file is raw g729 or g729 in a wav container 
(can that even work?). Also that it's really g279.

*this is why the command output should always be included


z!


More information about the ffmpeg-user mailing list