[MPlayer-users] Cannot find codec 'cook' in libavcodec

Alan Snelgrove old.codger at mac.com
Sun Nov 16 17:27:58 CET 2008


Two weeks ago a change was made to 'configure' to make the lavc tscc  
decoder dependent upon zlib. Before this change the tssc compilation  
would fail complaining of a missing zlib.h.

Now a missing zlib is no longer needed for a clean compile. But..
All the ffmpeg codecs fail

Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'cook' in libavcodec...
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [realaud] RealAudio decoder
Error: /usr/lib/codecs/cook.so: cannot open shared object file: No  
such file or directory
ERROR: Could not open required DirectShow codec cook.so.
Read the RealAudio section of the DOCS!
...etc

config.h contain

#define ENABLE_AASC_DECODER 0
#define ENABLE_AMV_DECODER 0
#define ENABLE_ASV1_DECODER 0
#define ENABLE_ASV2_DECODER 0
#define ENABLE_AVS_DECODER 0
#define ENABLE_BETHSOFTVID_DECODER 0
#define ENABLE_BFI_DECODER 0
#define ENABLE_BMP_DECODER 0
#define ENABLE_C93_DECODER 0
#define ENABLE_CAVS_DECODER 0
...etc

All fixed by a detectable ZLIB library.

Can I put is a request for fatal configurations; missing or disabled  
zlib, libavformat, libswscale, etc. To save wasted compilations, and  
many hours of not knowing why the codecs in /usr/lib/codecs were not  
being used.

Alan











More information about the MPlayer-users mailing list