[Libav-user] 回复： just wanna get a decode demo for libav
ggarra13 at gmail.com
Fri May 12 16:15:48 EEST 2017
El 12/05/17 a las 07:25, 坚定前行 escribió:
> that's the demo I tried
> with warning 'avcodec_decode_audio4' is deprecated.
> and that demo could not work with : Codec not found.
> Best regards,
Usually, if you get "codec not found" it means your ffmpeg compilation
was lacking a certain codec. The audio example uses mpeg2 audio, so you
need to have ffmpeg compiled with mpeg2.
You can check the codecs you have by doing:
$ ffmpeg -codecs
For it to work, you should have a line like:
DEA.L. mp2 MP2 (MPEG audio layer 2) (decoders: mp2
mp2float ) (encoders: mp2 mp2fixed )
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user