Tried: ffmpeg -acodec g726 -ac 1 -ar 8000 -i 7011-20171231-073835-Mitzvah5.g726 
-f wav -y test.wav
Got: Invalid data found when processing input

Tried: ffmpeg -f s8 -acodec g726 -ac 1 -ar 8000 -i 
7011-20171231-073835-Mitzvah5.g726 -f wav -y test.wav
Got: Invalid number of bits 8

Tried: ffmpeg -f g722 -acodec g726 -ac 1 -ar 8000 -i 
7011-20171231-073835-Mitzvah5.g726 -f wav -y test.wav
Got: Option sample_rate not found

What are the names of the g726 format?

-----Original Message-----
From: ffmpeg-user [mailto:[email protected]] On Behalf Of Carl 
Eugen Hoyos
Sent: Wednesday, August 22, 2018 5:56 PM
To: FFmpeg user questions <[email protected]>
Subject: Re: [FFmpeg-user] Decoding g726 audio

2018-08-22 15:28 GMT+02:00, איל חסון <[email protected]>:
> Can anyone show me a working example of how to decode a g726 file?

What did you try?
Command line and complete, uncut console output missing.

> As there is no “g726” format, only codecs, all formats I tried give 
> errors when used with the g726 files.

FFmpeg does support two (!) raw g726 file formats, the original specification 
could not decide if the format is little- or big-endian, both are supported.
(The FFmpeg codec is not 100% bit-exact iirc.)

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email [email protected] with 
subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to