[FFmpeg-user] Decoding g726 audio
איל חסון
eyal at kolhl.com
Wed Aug 22 19:03:29 EEST 2018
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:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Carl Eugen Hoyos
Sent: Wednesday, August 22, 2018 5:56 PM
To: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
Subject: Re: [FFmpeg-user] Decoding g726 audio
2018-08-22 15:28 GMT+02:00, איל חסון <eyal at kolhl.com>:
> 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
ffmpeg-user at ffmpeg.org
http://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