[MPlayer-users] Audio out of sync
Nico Sabbi
nicola_sabbi at fastwebnet.it
Wed Jan 10 02:23:08 CET 2007
Michael Lindner wrote:
> I'm trying to backup tivo video to DVD. I have a utility that extracts
> a .mpg file from the tivo file. The resulting .mpg file plays
> perfectly with mplayer.
>
> However, when converting to DVD, the result has audio that starts out
> in sync, but as time progresses gradually gets out of sync with the
> video. I am using the script encode2mpeg to make the dvd, but the
> result is the same no matter what tools I've tried. At any rate,
> encode2mpeg demuxes the audio and video using the command
>
> mplayer XXX.mpg -noframedrop -v -osdlevel 0 -vo
> yuv4mpeg:file=/dev/fd/4 -ao pcm:waveheader:fast:file=%10%XXX.wav
why yuv4mpeg? if the final file will have to be mpeg why don't you use
-of mpeg ... -ovc copy or -ovc lavc?
>
> so I'm asking my question in this forum. It seems that the original
> mpg file has *mostly* frames at 29.970fps. However, a few of the
> frames are not, as shown below. I'm told this is the reason for the
> sync slipping:
>
> A: 189.7 V: 189.2 A-V: 0.476 ct: 0.284 5642/5624 2% 43% 0.3% 5073 0
> demux_mpg: 24000/1001fps progressive NTSC content detected, switching
> framerate.
> A: 190.0 V: 189.5 A-V: 0.550 ct: 0.303 5650/5631 2% 43% 0.3% 5079 0
> demux_mpg: 30000/1001fps NTSC content detected, switching framerate.
> Warning! FPS changed 23.976 -> 29.970 (-5.994005) [4] 3% 0.3% 5080 0
mencoder doesn't deal well with variable framerate content
>
> I was wondering if there's a way to fix this so the streams will be in
> sync. There are quite a few Windows programs that do this, but they
> are Windows programs and I am running Linux. I figure mplayer does
> just about everything, there must be an option that can do it that I'm
> missing...
>
> Thanks in advance for any help.
More information about the MPlayer-users
mailing list