El 12/05/17 a las 07:25, 坚定前行 escribió:
Hi,
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,
pp
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 )
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user