Opened 15 years ago

Closed 15 years ago

#1585 closed defect (fixed)

Interfaces do not have acces to information about what time a stream begins

Reported by: playme@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

An Ogg stream may not start at time 0. Applications need to know at what time a stream begins in order to do seeking properly.

see also
http://code.google.com/p/gnome-mplayer/issues/detail?id=300

Attachments (1)

CorrectlyCalculateOggDuration.patch (4.4 KB ) - added by playme@… 15 years ago.
your patch attached

Download all attachments as: .zip

Change History (4)

comment:1 by reimar, 15 years ago

No they don't, MPlayer (and unfortunately FFmpeg/libavformat as well) just needs to be fixed to work correctly for ogg files with non-o start time.
Part of the issue I think is that some version of the Ogg specification said that streams must start at 0, which would have made this file simply invalid. But regardless of that it should be fixed, and I sent patches for it to the MPlayer and FFmpeg lists.

by playme@…, 15 years ago

your patch attached

comment:2 by playme@…, 15 years ago

comment:3 by reimar, 15 years ago

Resolution: fixed
Status: newclosed

Forgot to say: patch was apply, issue should be fixed for a default MPlayer configuration.
-demuxer lavf with the same file still has the issue, while I have a patch for that as well, it is not really correct (works only for files with a single stream), there are some design issues in that demuxer that make it hard to do (in addition to the Ogg format making things needlessly difficult as always).

Note: See TracTickets for help on using tickets.