[Libav-user] decode audio example broken
jakabac at gmail.com
Wed Nov 21 22:13:03 EET 2018
On Wed, 21 Nov 2018 at 20:47, drwho <drwho at infidigm.net> wrote:
> The audio decoder example below fails to decode any file I've tried
> (mp3, opus, wav).....
> [mp2 @ 0x55d075c3d780] Header missing
> Error submitting the packet to the decoder
The audio decoding example specifically uses the MP2 audio codec to decode
It does this:
codec = avcodec_find_decoder(AV_CODEC_ID_MP2);
For more general example you can look at:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user