Discussion:
[issue2428] vorbis in ogg can't be decoded
(too old to reply)
Carl Eugen Hoyos
2010-12-16 01:31:15 UTC
Permalink
New submission from Carl Eugen Hoyos <***@rainbow.studorg.tuwien.ac.at>:

Original post:
http://thread.gmane.org/gmane.comp.video.mplayer.user/65188
http://lists.mplayerhq.hu/pipermail/mplayer-users/2010-December/081685.html

This is a regression since r25846.

Sample plays with mplayer -demuxer ogg -vc tremor, vlc, decodes fine with oggdec.

ffmpeg -i ogm_test_short.ogm out.wav
FFmpeg version SVN-r25845, Copyright (c) 2000-2010 the FFmpeg developers
built on Dec 16 2010 02:26:43 with gcc 4.4.5
configuration: --cc=/usr/local/gcc-4.4.5/bin/gcc
libavutil 50.33. 0 / 50.33. 0
libavcore 0.14. 0 / 0.14. 0
libavcodec 52.97. 2 / 52.97. 2
libavformat 52.87. 1 / 52.87. 1
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.65. 0 / 1.65. 0
libswscale 0.12. 0 / 0.12. 0
[vorbis @ 0x11dd0c0] Extradata missing.
Input #0, ogg, from 'ogm_test_short.ogm':
Duration: 00:00:09.64, start: 0.000000, bitrate: 1274 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 480x352, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream #0.1(English): Audio: vorbis, 48000 Hz, stereo, s16, 0 kb/s
Metadata:
LWING_GAIN : 01.00
LANGUAGE : English
Output #0, wav, to 'out.wav':
Metadata:
encoder : Lavf52.87.1
Stream #0.0(English): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Metadata:
LWING_GAIN : 01.00
LANGUAGE : English
Stream mapping:
Stream #0.1 -> #0.0
Press [q] to stop encoding
size= 1816kB time=9.69 bitrate=1536.0kbits/s
video:0kB audio:1816kB global headers:0kB muxing overhead 0.002366%

ffmpeg -i ogm_test_short.ogm out.wav
FFmpeg version SVN-r26023, Copyright (c) 2000-2010 the FFmpeg developers
built on Dec 16 2010 02:31:01 with gcc 4.4.5
configuration: --cc=/usr/local/gcc-4.4.5/bin/gcc
libavutil 50.34. 0 / 50.34. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.99. 1 / 52.99. 1
libavformat 52.88. 0 / 52.88. 0
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.69. 0 / 1.69. 0
libswscale 0.12. 0 / 0.12. 0
[vorbis @ 0x11e20c0] Extradata missing.
Last message repeated 378 times
[ogg @ 0x11dd510] max_analyze_duration reached
Input #0, ogg, from 'ogm_test_short.ogm':
Duration: 00:00:09.64, start: 0.000000, bitrate: 1274 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 480x352, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream #0.1(English): Audio: vorbis, 48000 Hz, 2 channels, 0 kb/s
Metadata:
LWING_GAIN : 01.00
LANGUAGE : English
[vorbis @ 0x11e20c0] Extradata missing.
Output #0, wav, to 'out.wav':
Stream #0.0(English): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Metadata:
LWING_GAIN : 01.00
LANGUAGE : English
Stream mapping:
Stream #0.1 -> #0.0
Error while opening decoder for input stream #0.1
File 'ogm_test_short.ogm' not attached - you can download it from https://roundup.ffmpeg.org/file1225.

----------
files: ogm_test_short.ogm
messages: 12969
priority: normal
status: open
substatus: open
title: vorbis in ogg can't be decoded
topic: regression
type: bug

________________________________________________
FFmpeg issue tracker <***@roundup.ffmpeg.org>
<https://roundup.ffmpeg.org/issue2428>
________________________________________________
Carl Eugen Hoyos
2010-12-16 01:37:23 UTC
Permalink
Carl Eugen Hoyos <***@rainbow.studorg.tuwien.ac.at> added the comment:

This is a regression.

----------
priority: normal -> important

________________________________________________
FFmpeg issue tracker <***@roundup.ffmpeg.org>
<https://roundup.ffmpeg.org/issue2428>
________________________________________________
realnc
2010-12-16 03:37:31 UTC
Permalink
realnc <***@gmail.com> added the comment:

Nose job.

----------
nosy: +realnc

________________________________________________
FFmpeg issue tracker <***@roundup.ffmpeg.org>
<https://roundup.ffmpeg.org/issue2428>
________________________________________________
Lou
2011-01-31 18:35:28 UTC
Permalink
Lou <***@fakeoutdoorsman.com> added the comment:

Reproduced with git-b482c00:

$ ffmpeg -v 9 -loglevel 99 -i ogm_test_short.ogm out.wav
FFmpeg version git-b482c00, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 31 2011 09:33:36 with gcc 4.5.2
configuration: --prefix=/usr --enable-gpl
libavutil 50. 36. 0 / 50. 36. 0
libavcore 0. 16. 1 / 0. 16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52. 94. 0 / 52. 94. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1. 74. 0 / 1. 74. 0
libswscale 0. 12. 0 / 0. 12. 0
[NULL @ 0x1fd5510] Probed with size=2048 and score=100
[vorbis @ 0x1fda0c0] Extradata missing.
Last message repeated 378 times
[ogg @ 0x1fd5510] max_analyze_duration reached
Input #0, ogg, from 'ogm_test_short.ogm':
Duration: 00:00:09.64, start: 0.000000, bitrate: 1274 kb/s
Stream #0.0, 127, 1/25: Video: mpeg4, yuv420p, 480x352, 1/25, 25 fps, 25
tbr, 25 tbn, 25 tbc
Stream #0.1(English), 378, 1/48000: Audio: vorbis, 48000 Hz, 2 channels, 0 kb/s
Metadata:
LWING_GAIN : 01.00
LANGUAGE : English
Incompatible sample format '(null)' for codec 'pcm_s16le', auto-selecting format
's16'
[vorbis @ 0x1fda0c0] Extradata missing.
Output #0, wav, to 'out.wav':
Stream #0.0(English), 0, 1/90000: Audio: pcm_s16le, 48000 Hz, 2 channels,
s16, 1536 kb/s
Metadata:
LWING_GAIN : 01.00
LANGUAGE : English
Stream mapping:
Stream #0.1 -> #0.0
Error while opening decoder for input stream #0.1

----------
nosy: +FakeOutdoorsman
substatus: open -> reproduced

________________________________________________
FFmpeg issue tracker <***@roundup.ffmpeg.org>
<https://roundup.ffmpeg.org/issue2428>
________________________________________________
Mans Rullgard
2011-02-08 21:42:07 UTC
Permalink
Mans Rullgard <***@mansr.com> added the comment:

Fixed in 6bd69e6

----------
status: open -> closed
substatus: reproduced -> fixed

________________________________________________
FFmpeg issue tracker <***@roundup.ffmpeg.org>
<https://roundup.ffmpeg.org/issue2428>
________________________________________________
Rudolf Polzer
2011-06-11 17:45:43 UTC
Permalink
Rudolf Polzer <***@xonotic.org> added the comment:

This fix caused another new issue: theora decoding fails in some cases near the
beginning. I provide two video files causing the issue (can't connect to
upload.libav.org, so using two different HTTP locations):


http://rm.rm.rm-f.org/~xonotic/libavbugs/6bd69e6_dpvideo001.ogv
http://ompldr.org/vOTBtaQ/6bd69e6_dpvideo001.ogv

- first frame is not decoded, leading to the screen being covered with green stuff
- [theora @ 0x2316220] vp3: first frame not a keyframe
- plays fine when reverting 6bd69e6 on top of current master
- oggz-validate shows no errors other than "missing *** eos" due to the file
being cut off with dd
- example theora player plays it correctly


http://rm.rm.rm-f.org/~xonotic/libavbugs/6bd69e6_ika_0000_0007.ogv
http://ompldr.org/vOTBtag/6bd69e6_ika_0000_0007.ogv

- timer display stops at
0.98 A-V: -0.020 s:0.0 aq= 85KB vq= 303KB sq= 0B f=0/0
- video freezes at that time
- doesn't recover until
4.78 A-V: -0.018 s:0.0 aq= 36KB vq= 339KB sq= 0B f=0/0
- sound plays normally in the meantime, just video stays frozen
- oggz-validate shows no errors
- example theora player plays it correctly

----------
nosy: -llogan, realnc
status: closed -> open
substatus: fixed -> open
topic: -regression

______________________________________________
Libav issue tracker <***@roundup.libav.org>
<https://roundup.libav.org/issue2428>
______________________________________________
Rudolf Polzer
2011-06-11 17:48:22 UTC
Permalink
Rudolf Polzer <***@xonotic.org> added the comment:

Brought back the content of the Nosy List and the Topics, as this bug tracker
apparently cleared them when I was replying (they showed empty when I started
replying, but apparently were not, given the history at the bottom).

----------
nosy: +llogan, realnc
topic: +regression

______________________________________________
Libav issue tracker <***@roundup.libav.org>
<https://roundup.libav.org/issue2428>
______________________________________________
Rudolf Polzer
2011-06-11 17:54:13 UTC
Permalink
Rudolf Polzer <***@xonotic.org> added the comment:

I want to watch the topic too. For this I have to reply. Thus, here is ffmpeg -i
output, even though it shouldn't really help as the causing commit has already
been identified.

$ /tmp/libav/ffmpeg -i
ffmpeg version git-v0.7b2-461-g19d824e, Copyright (c) 2000-2011 the Libav developers
built on Jun 11 2011 19:13:18 with gcc 4.6.0 20110603 (prerelease)
configuration: --disable-everything --enable-decoder='vorbis,theora'
--enable-demuxer=ogg --enable-protocol=file
libavutil 51. 6. 0 / 51. 6. 0
libavcodec 53. 5. 0 / 53. 5. 0
libavformat 53. 1. 3 / 53. 1. 3
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 4. 0 / 2. 4. 0
libswscale 1. 1. 0 / 1. 1. 0
/tmp/libav/ffmpeg: missing argument for option 'i'

----------
nosy: +divVerent
topic: -regression

______________________________________________
Libav issue tracker <***@roundup.libav.org>
<https://roundup.libav.org/issue2428>
______________________________________________

Loading...