[MPlayer-users] MPEG-TS files still out of sync with mencoder (fixed!)

Adam Karkowski adz at acon.com.au
Fri Jun 11 13:23:37 CEST 2004


> Well, I think I've solved this problem (hooray!)  The -mc option seems
> to control it, and when I tested it before I used -mc 10 (thinking that
> it could correct a maximum of 10 seconds of 'out-of-sync-ness' per
> frame, and thus go back in sync almost instantly) however this seems to
> be why I saw the same frame on the screen for almost 10 seconds.  So
> trying the opposite way, I used -mc 0.1 and that was *much* better, only
> making the video a little jerky.  I tried again with -mc 0.01 and that's
> almost perfect!  It only seems to drop a couple of frames, and in some
> cases you'd hardly know it went out of sync as it has been corrected
> almost instantly.
>
> At any rate, it seems that this encodes all the episodes perfectly which
> is most pleasing :-D  I'm still doing the first encode without audio,
> but so far everything seems to be in sync - I think the demuxer is more
> likely to pick up the errors before the audio/video decoder, so the
> audio doesn't have to be decoded to work out whether it's in sync or
> not.
>
> Cheers,
> Adam.

Yeah I've been having desync problems too as mentioned in another thread.  
They seem to come and go in other players (?) so but in mplayer the sound  
always seemed to lag by about 400 ms. You stated previously that the "-mc  
0" option didn't help you but it solved my problem. It's now in my  
defaults. Wierd that mplayer would desync only on files created by  
itself...

Cheers,
Adam.




More information about the MPlayer-users mailing list