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

陆然 hephooey at fastmail.fm
Tue Dec 13 11:57:37 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 a strange behavior of the new code, since I've just tested this 
with one file, I don't know it's an exception, or a general problem. the file 
have a ra10 cook audio, playing with binary codec. 

First thing I notice is that the vibration of 'A-V' is much bigger than the 
old code, +/- 1s compare to +/- 0.002s. 

The bigger problem is the movie will eventually go out of sync, the output is 
perfect normal, 'A-V' is around 0 with some oscillation. But actually the 
audio is slower than video, I notice this after about 10 minute after the 
movie started, the audio at that time is about 1s after the video. The last 
number of the output of the bitrate is different, don't know if that is 
related.

One more thing, with the new code I get a crash when mplayer try to decode the 
audio with ffmpeg codec, the old code just gave a error message and go on the 
the binary codec.

The log of the new code and old code is in the attachment.
-- 
Best Regards,
LR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ra10cook_old.log
Type: text/x-log
Size: 8456 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20051213/7217fd55/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ra10cook_new.log
Type: text/x-log
Size: 9598 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20051213/7217fd55/attachment-0001.bin>
-------------- 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/20051213/7217fd55/attachment.pgp>


More information about the MPlayer-dev-eng mailing list