[FFmpeg-trac] #3124(avformat:new): Wrong PTS when seeking in Opus file

FFmpeg trac at avcodec.org
Mon Nov 11 08:23:02 CET 2013


#3124: Wrong PTS when seeking in Opus file
----------------------------------+--------------------------------------
             Reporter:  tuukka    |                     Type:  defect
               Status:  new       |                 Priority:  minor
            Component:  avformat  |                  Version:  git-master
             Keywords:  Opus      |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 Seeking in Opus file with ffprobe/ffplay everything seems work fine. PTS
 changes correctly and all works as expected.
 Scenario when one wants to seek to X PTS in file and then read Y bytes
 after that jump Y bytes ahead to read next Y bytes one gets the same
 output as first readied Y bytes.
 If you just keep doing that reading procedure after next Z times you just
 get new loop to read on. This bug somehow follows the OggS-headers and
 granule points in Ogg-container. It seems you always got Y bytes from
 start of the last header-point. On Ogg/Vorbis with or without libvorbis
 everything works with same code.
 https://github.com/illuusio/ffmpeg-example.git have example application to
 demo this bug report.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3124>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list