[MPlayer-dev-eng] [PATCH] Real demuer audio cleanup

陆然 hephooey at fastmail.fm
Tue Dec 20 11:33:04 CET 2005


Hi,

On Monday 05 December 2005 06:49, Roberto Togni wrote:
> Hi all
>
> This patch moves audio descrambling from codec to demuxer, and removes
> the fake extradata that was used to pass descrambling parameters to the
> codec.
>
> sipr codec required an hack, because it was not possible to skip the
> raSetFlavor() function. I added some code to guess the flavor from the
> bitrate; it works with all my samples.
>
> The code is compatible with linux .so and win32 dll, someone please
> test in on ppc and macosx.
>
> Please stress test it and reports that work without this patch but are
> broken with it.
>
> Note: native 28_8 decoder is not supported, i plan to drop it and use
> the ffmpeg codec after this patch (and the ffmpeg patch with the same
> purpose) is done. To test 28_8 samples use -ac ra288
>
> Ciao,
>  Roberto

I've found another file have problem with the new code, it's a mkv with ra10 
cook audio. This time there is no crash, but there is also no sound, with 
error messages:

Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Unknown Cook version, report sample!
Could not open codec.
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/local/mplayer/lib/codecs/cook.so'
Decoder init failed, error code: 0x80040005
ADecoder preinit failed :(
ADecoder init failed :(
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/local/mplayer/lib/codecs/cook.so.6.0'
Decoder init failed, error code: 0x80040005
ADecoder preinit failed :(
ADecoder init failed :(
Opening audio decoder: [realaud] RealAudio decoder
opening win32 dll 'cook3260.dll'
Decoder init failed, error code: 0x80040005
ADecoder preinit failed :(
ADecoder init failed :(

Here you can find the sample:

http://qterm.sf.net/tmp/nosound.mkv

-- 
Best Regards,
LR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20051220/2b3ea2c9/attachment.pgp>


More information about the MPlayer-dev-eng mailing list