[Mplayer-dev-eng] A-V resync problems again

Felix Buenemann atmosfear at users.sourceforge.net
Mon Jun 4 01:13:48 CEST 2001


On Sunday,  3. June 2001 23:41, you wrote:
> Hello!
>
> On Sun, 3 Jun 2001 12:29:39 +0200, Felix Buenemann wrote:
> >> >> >> I just have found SUBJ. I watched the 3 hours of DivX film and at
> >> >> >> the 15 minutes until end video was freezed but sound continued
> >> >> >> playing and as result well known 15 sec resync when audio is
> >> >> >> outdistance of video stream. It seems that resync is accumulated
> >> >> >> during film and activate at end. I don't know why this is occured,
> >> >> >> but may be would be better to use 64-bit integer type (long long
> >> >> >> int) for code which perform
> >> >> >> synchronization or something likewise?
> >> >> >
> >> >> >Video usually freezes with divx on defect frames, dunno if mplayer
> >> >> > should usually hanle it but windooze mplayer stops video then and
> >> >> > sound goes on, you have to skip forward to get video again.
> >> >> > (Haven't treid playing freezeframe divx with mplayer yet...)
> >> >>
> >> >> Of course, to continue watching I skip this frame and get
> >> >> unrecoverable A-V resync. I.e. after prexsing <- and -> nothing was
> >> >> occured and streams were resync even I skip back on point where were
> >> >> no problems. Btw during watching this film I've found also several
> >> >> such frames but they only caused slowing down of playback but not
> >> >> stop video stream and there was not resync. But possible that mplayer
> >> >> handle such situation and correctly avoid them ?
> >> >
> >> >Please check DOCS/BUGS section bout A/V sync, starting line 42, if it
> >> > doesn't help you should upload enough of the file to thot ftp so we
> >> > can reproduce the error.
> >>
> >> At first from DOCS/BUGS:
> >> #- your soundcard doesn't support 48Khz playback
> >> #  Workaround: buy a better soundcard...
> >> #             or try to decrease fps by 10% (use -fps 27 for a 30fps
> >> movie) I have SB16 which can play only 44100 but I've watched almost
> >> film entire (first 2 hours 45 min) without any problems and without a-v
> >> resync. Arpi probably fixed this by syncing each frame. Second:
> >> I would be glad to upload "bad" piece of avi but not entire avi -
> >> because avi have size about 700Mb but "bug" is occured withing last
> >> 15min of film. How I can cut out "bad" piece? I tried cut out one avi
> >> (I've cut only first megabyte of file) and mplayer says that this avi
> >> have no indexes and seek not possible.
> >
> >You can split it under windooze with virtual dub (virtualdub.sf.net)
>
> I JUST UPLOAD TO ftp://thot.banki.hu/MPlayer/incoming/ SEGMENT OF FILE
> "DIEHAR3.AVI" (about 3Mb) You can watch there fragment when video is
> freezed. Probably this stream is corrupt or bad. But after this fragment I
> have total A-V resync. Could you solve this problem or it impossible for
> such files? What is your diagnosis?
Hmm playback goes on after freezeframe for me (some seconds later), av values 
in status line also seem ok, part after freezeframe is a little short to say 
if it's out of sync (and it's russian :).
>
> Best regards! Nick
>
> P.S.: VirtualDub is very nice tool but works only under Windows. Under wine
> it causes segfault :(
>
>
-- 
Best Regards,
   Felix

_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list