Opened 11 years ago

Closed 11 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: Analyzed by developer:


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

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

comment:1 Changed 11 years ago by reimar

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.

Changed 11 years ago by playme@…

your patch attached

comment:2 Changed 11 years ago by playme@…

comment:3 Changed 11 years ago by reimar

  • Resolution set to fixed
  • Status changed from new to closed

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.