[FFmpeg-user] triming an audio wavfile

pink panther pantherlong at gmail.com
Tue May 25 13:39:17 EEST 2021


To be clearer. G729 codec, G711 codec, etc.. the difference is bandwidth.
This is a G729 audio wave file

On Tue, May 25, 2021 at 6:36 AM pink panther <pantherlong at gmail.com> wrote:

> mohg729a is just the name of the file. I didn't show any name with g729b
> btw. Nevertheless, that is just the name. Nothing to do with the format,
> codec, etc.. It's a g729 audio wavfile that plays while on hold. I just
> wanted to trim it because it's too long.
>
> This is a proprietary music audio file that can't be sent to you
> unfortunately
>
> On Mon, May 24, 2021 at 11:35 PM Carl Zwanzig <cpz at tuunq.com> wrote:
>
>> 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!
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>>
>


More information about the ffmpeg-user mailing list