[Mplayer-advusers] Mplayer fails to maintain a/v sync on avi (sample uploaded to ftp)
Michael Hunold
m.hunold at gmx.de
Mon Jul 1 16:54:08 CEST 2002
Hello all,
I'm just uploaded "av_sync_problems_right_from_the_start.avi". Here is
the description of the problem:
(Uploaded to ftp, too, of course...)
----------------------------schnipp-------------------------------------
The movie causing problems is "Collateral Damage".
(Sharereactor Release - dated 24.06.2002
http://www.sharereactor.com/release.php?id=1895
)
==> Short description:
Mplayer fails to maintain a/v sync in this particular divx-encoded
avi.
If you can confirm or deny the problem, please drop a quick note to
<m.hunold at gmx.de>
Mplayer version used:
> MPlayer CVS-020630-20:50-2.96 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
==> Long description:
The a/v sync of the movie is off right from the start:
A: 10.0 V: 6.9 A-V: 3.111 ct: 0.688 166/166 11% 10% 1.3% 0 0 0%
If you try to seek, audio and video seems to be in sync (A-V stays
around 0), but it isn't true -- a/v is still off.
Playing with -nobps, -ni, -mc 0 and friend does *not* help.
"xine" cannot play the movie either -- a/v is off, too.
Under Winblows, the movie playes fine with "Zoomplayer", "BSPlayer"
and the standard Winblows Mediaplayer.
If you dump the audio with "-dumpaudio -dumpfile cd.mp3", you
will notice that the resulting mp3 file is invalid:
> [root at michael tmp]# mplayer av_sync_problems_right_from_the_start.avi
-dumpaudio -dumpfile cd.mp3
> [...]
> [root at michael tmp]# ~/devel/mp3check-0.4.4/mp3check -e cd.mp3 |more
> cd.mp3:
> 335232 bytes of junk before first frame header
As "mp3check" mentions, there are 335232 bytes of junk before the first
frame. The file is unplayable with "xmms" or "mpg123" for example, but
"mplayer" can play it like this.
If you fix the file with
> [root at michael tmp]# ~/devel/mp3check-0.4.4/mp3check --cut-junk-start
cd.mp3
> cd.mp3: cut-junk-start: removing first 335232 bytes, retrying
> cd.mp3: cut-junk-start: no junk found
you can play it with every mp3 player around.
But even now, you cannot play the movie and the extracted mp3 file in sync:
If I try,
> [root at michael tmp]# mplayer -audiofile cd.mp3
av_sync_problems_right_from_the_start.avi
a/v sync is still off like on the tries above.
So I think that this is no problem with the junk at the beginning in the
end,
but mplayer fails somehow here. 8-(
If you can confirm or deny the problem, please drop a quick note to
<m.hunold at gmx.de>
Thanks for looking
Michael.
----------------------------schnipp-------------------------------------
CU
Michael.
More information about the MPlayer-advusers
mailing list