Opened 18 months ago

Last modified 18 months ago

#8788 new defect

Vorbis audio file doesn't play the same after seeking back to zero.

Reported by: Dale Curtis Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: vorbis regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug: Vorbis file only plays correctly the first time through, content is garbled after seeking back to zero. Seems some bug in vorbis decoder state.

How to reproduce:

  • ffplay <file>
  • observe beginning of track is okay.
  • after high pitch shrieking, press left arrow until back at t=0.
  • observe beginning of track is now garbled

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Attachments (1)

untitled.ogg (886.3 KB ) - added by Dale Curtis 18 months ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Dale Curtis, 18 months ago

Sorry forgot to mention this is on version: 7772666e5bfff27c4900942e7558a2d327df8f32 -- which is roughly today's ToT.

Last edited 18 months ago by Dale Curtis (previous) (diff)

comment:2 by Carl Eugen Hoyos, 18 months ago

Where can I find the input file?

by Dale Curtis, 18 months ago

Attachment: untitled.ogg added

comment:3 by Dale Curtis, 18 months ago

Sorry I forgot to attach.

comment:4 by Carl Eugen Hoyos, 18 months ago

Component: undeterminedavcodec
Keywords: vorbis regression added
Priority: normalimportant
Reproduced by developer: set
Version: unspecifiedgit-master

For future patches, please don't forget to provide the tested command line together with the complete, uncut console output.

Regression since e9ffee23f372390684d6d94bf8abf51350fc66a3 and wrt avplay 12.

$ ffplay untitled.ogg 
ffplay version N-98474-g05f3d37dd5 Copyright (c) 2003-2020 the FFmpeg developers
  built with gcc 9 (SUSE Linux)
  configuration: --enable-gpl --enable-gnutls --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libvpx --enable-libopus --enable-libxml2 --enable-libwebp --enable-librav1e --enable-libfreetype --enable-libass
  libavutil      56. 55.100 / 56. 55.100
  libavcodec     58. 95.100 / 58. 95.100
  libavformat    58. 48.100 / 58. 48.100
  libavdevice    58. 11.101 / 58. 11.101
  libavfilter     7. 87.100 /  7. 87.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, ogg, from 'untitled.ogg':0KB vq=    0KB sq=    0B f=0/0   
  Duration: 00:00:12.99, start: 0.000333, bitrate: 559 kb/s
    Stream #0:0: Audio: vorbis, 48000 Hz, stereo, fltp, 160 kb/s
    Metadata:
      encoder         : Lavf58.42.100
[ogg @ 0x7f8b24000bc0] 6 bytes of comment header remain  0B f=0/0   
[ogg @ 0x7f8b24000bc0] truncated comment header, 12288001 comments not found
Seek to  0% ( 0:00:00) of total duration ( 0:00:12)       B f=0/0   
[ogg @ 0x7f8b24000bc0] 6 bytes of comment header remain  0B f=0/0   
[ogg @ 0x7f8b24000bc0] truncated comment header, 12288001 comments not found
   4.65 M-A:  0.000 fd=   0 aq=  101KB vq=    0KB sq=    0B f=0/0

comment:5 by Carl Eugen Hoyos, 18 months ago

Possibly related to tickets #2117 and #2121.

Note: See TracTickets for help on using tickets.