Opened 4 years ago

Last modified 3 years ago

#8741 open defect

Vorbis missing extradata

Reported by: cgbug Owned by:
Priority: important Component: undetermined
Version: git-master Keywords: ogg vorbis codecpar regression
Cc: mss Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Audio fails to play.

Interestingly, a 10MB cut of the file does play. In that case the header mismatch error remains, but the missing extradata error goes away.

File plays with latest VLC. It also played with old version of LAV Filters 0.68.1 (which uses FFmpeg) from early 2016. So regression in FFmpeg occurred around that time.

Sample:
http://files2.codecguide.com/samples/dx50_vorbis.ogm

ffmpeg version git-2020-06-15-9d80f3e Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.3.1 (GCC) 20200523
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 55.100 / 56. 55.100
  libavcodec     58. 92.100 / 58. 92.100
  libavformat    58. 46.101 / 58. 46.101
  libavdevice    58. 11.100 / 58. 11.100
  libavfilter     7. 86.100 /  7. 86.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
[ogg @ 00000000006426c0] Headers mismatch for stream 1: expected 3 received 2.
[ogg @ 00000000006426c0] Headers mismatch for stream 2: expected 3 received 2.
[vorbis @ 00000000006460c0] Extradata missing.
[ogg @ 00000000006426c0] Failed to open codec in avformat_find_stream_info
[vorbis @ 0000000000647300] Extradata missing.
[ogg @ 00000000006426c0] Failed to open codec in avformat_find_stream_info
[vorbis @ 00000000006460c0] Extradata missing.
[vorbis @ 0000000000647300] Extradata missing.
Guessed Channel Layout for Input Stream #0.1 : stereo
Guessed Channel Layout for Input Stream #0.2 : stereo
Input #0, ogg, from 'dx50_vorbis.ogm':
  Duration: 01:25:05.72, start: 0.000000, bitrate: 1129 kb/s
    Chapter #0:0: start 0.000000, end 393.440000
    Metadata:
      title           : Wicked City
    Chapter #0:1: start 393.440000, end 982.520000
    Metadata:
      title           : The Black Guard
    Chapter #0:2: start 982.520000, end 1595.240000
    Metadata:
      title           : Mr Giuseppie Mayart
    Chapter #0:3: start 1595.240000, end 2120.240000
    Metadata:
      title           : Hunting Mayart
    Chapter #0:4: start 2120.240000, end 2721.560000
    Metadata:
      title           : Makie's sacrifice
    Chapter #0:5: start 2721.560000, end 3296.920000
    Metadata:
      title           : Taki rushes in
    Chapter #0:6: start 3296.920000, end 3832.840000
    Metadata:
      title           : In the Tunnel
    Chapter #0:7: start 3832.840000, end 4207.800000
    Metadata:
      title           : Taki and Makie
    Chapter #0:8: start 4207.800000, end 4745.520000
    Metadata:
      title           : The dawn of a new era
    Chapter #0:9: start 4745.520000, end 5105.720000
    Metadata:
      title           : Ending Credits
    Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 25 tbn, 30k tbc
    Metadata:
      TITLE           : Wicked City
    Stream #0:1(English): Audio: vorbis, 48000 Hz, stereo, fltp, 4294967 kb/s
    Stream #0:2(Japanese): Audio: vorbis, 48000 Hz, stereo, fltp, 4294967 kb/s
    Stream #0:3(English): Subtitle: text

Change History (2)

comment:1 by Carl Eugen Hoyos, 4 years ago

Keywords: ogg vorbis codecpar regression added
Priority: normalimportant
Reproduced by developer: set
Status: newopen

Regression since 6f69f7a8 / 9200514a

comment:2 by mss, 3 years ago

Cc: mss added
Note: See TracTickets for help on using tickets.