[MPlayer-dev-eng] divx2svcd-0.5.1

Jan Knutar jknutar at nic.fi
Sat Apr 24 08:08:24 CEST 2004


On Sunday 18 April 2004 15:22, VMiklos wrote:

> the old version dumped the audio and video, and mplexed them using
> tcmplex

This makes for excellent audio desynchs when you have certain divx+mp3 
in avi combinations created on that OS we all so dearly love and hate, 
or just otherwise fun files...

I noticed, however, that when I did this, most of the desynch seemed to 
fix itself after a few seconds into the resulting mpeg:

videodelay=`mplayer -v $input -frames 0 2>&1|grep mp3.nCodecDelay|cut \ 
-c 17-`

and then muxing the dumped video and audio with tcmplex again and 
passing -D $videodelay parameter to it.

videodelay got the value 1393 on a problematic file I have here, 
compared to 121 on a mencoder created file...

I bet this breaks in fun ways on multi-cd svcd muxings though (havent 
tested), yay, and of course, I haven't at all even considered what 
happens if that 121 value is applied to the proper-source case of 121 
:-D





More information about the MPlayer-dev-eng mailing list