[MPlayer-dev-eng] [BUG] [PATCH] Ogg/Theora frametime broken on 0-length packets

David Kuehling dvdkhlng at gmx.de
Sun May 1 22:20:21 CEST 2011


>>>>> "Reimar" == Reimar Döffinger <Reimar.Doeffinger at gmx.de> writes:

>> I just encoded an example file that exposes the problem very clearly.
>> Now even the libavformat demuxer shows that it cannot cope with the
>> file.  The only way to play it back is to use the patch I posted in
>> the first mail, and give -demuxer ogg:
>> 
>> http://mosquito.dyndns.tv/david/nanonote/theora-0packets.ogv

> Actually, MPlayer does know how it should play it, it just thinks it's
> not a good idea to do so because the video time-stamps change too
> suddenly to it liking.  -mc 100 reduces the issue significantly,
> though if -demuxer lavf is "correct" the it still plays far too
> smoothly - though that is kind of a feature.

All timestamps are ok, just the frame-duration for each frame is wrong,
so the sync logic gets out of sync (unless of course -mc 100 is given,
allowing it to more aggressively change frame duration to compensate for
teh bug)

>> (Looks like at firefox 3.6 plays it correctly :)

> Comparing with that, -demuxer lavf plays it _completely_ differently.
> I'm afraid you'll have to explain a bit which behaviour is ok and
> which is not.  FFplay seems to play it in yet another way.

The source video which should exactly correspond to the theora video
frame-for-frame, is here:

  http://mosquito.dyndns.tv/david/nanonote/theora-0packets-src.avi

I.e. 24 FPS, however 8 frames each show the same picture, resulting in a
3 FPS video experience.

BTW today I filed a bug report for the issue with mplayerhq bugzilla:

  http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1910

cheers,

David

-- 
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20110501/8046debf/attachment.asc>


More information about the MPlayer-dev-eng mailing list