Opened 11 years ago
Last modified 11 years ago
#3756 open enhancement
Fails to identify video track in Ogg file
Reported by: | cgbug | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avformat |
Version: | git-master | Keywords: | ogg vp8 |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
FFmpeg fails to identify the video codec in this file.
The file contains the string "on2vp8", so I assume it contains VP8 video.
Sample file:
https://www.sendspace.com/file/2vxf6w
command-line output:
ffmpeg version N-64420-g939d22a Copyright (c) 2000-2014 the FFmpeg developers
built on Jul 4 2014 22:02:13 with gcc 4.8.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-
libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libope
njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsox
r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab -
-enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
libxavs --enable-libxvid --enable-decklink --enable-zlib
libavutil 52. 90.101 / 52. 90.101
libavcodec 55. 68.100 / 55. 68.100
libavformat 55. 45.100 / 55. 45.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 10.100 / 4. 10.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
[ogg @ 02847be0] Codec not found
[ogg @ 02847be0] Could not find codec parameters for stream 0 (Unknown: none): u
nknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, ogg, from 'video_0001.ogv':
Duration: 00:00:33.69, start: 0.000000, bitrate: 2151 kb/s
Stream #0:0: Unknown: none
Stream #0:1(eng): Audio: vorbis, 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
CREATION_TIME : 2013-11-18 06:37:08
LANGUAGE : eng
HANDLER_NAME : Mainconcept MP4 Sound Media Handler
MAJOR_BRAND : mp42
MINOR_VERSION : 0
COMPATIBLE_BRANDS: mp42mp41
ENCODER : Lavf55.13.101
Change History (6)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Keywords: | ogg vp8 added |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Replying to cgbug:
ENCODER : Lavf55.13.101
I tested with this version and FFmpeg correctly refuses to mux VP8 into ogg (as does the current version) since it wasn't implemented yet:
$ ffmpeg -f lavfi -i testsrc -vcodec vp8 out.ogg ffmpeg version N-55208-gb7ed18b Copyright (c) 2000-2013 the FFmpeg developers built on Jul 5 2014 20:04:06 with gcc 4.7 (SUSE Linux) configuration: --enable-libvpx --enable-gpl libavutil 52. 40.100 / 52. 40.100 libavcodec 55. 20.100 / 55. 20.100 libavformat 55. 13.101 / 55. 13.101 libavdevice 55. 3.100 / 55. 3.100 libavfilter 3. 82.100 / 3. 82.100 libswscale 2. 4.100 / 2. 4.100 libswresample 0. 17.103 / 0. 17.103 libpostproc 52. 3.100 / 52. 3.100 Input #0, lavfi, from 'testsrc': Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc [libvpx @ 0x19a3840] v1.3.0 [ogg @ 0x19a32e0] Unsupported codec id in stream 0 Output #0, ogg, to 'out.ogg': Metadata: encoder : Lavf55.13.101 Stream #0:0: Video: vp8 (libvpx), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=-1--1, 200 kb/s, 25 tbn, 25 tbc Stream mapping: Stream #0:0 -> #0:0 (rawvideo -> libvpx) Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted
Please reopen if you can explain how the file was created and why you think it is valid.
comment:3 by , 11 years ago
Replying to cgbug:
FFmpeg fails to identify the video codec in this file.
The file contains the string "on2vp8", so I assume it contains VP8 video.
That's not a valid tag for VP8 in OGG. It should be "OVP80".
Do you know how this file was created? Lavf55.13 shouldn't have been able to.
follow-up: 5 comment:4 by , 11 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
I did not create this file. This sample comes from the game Aura Kingdom (http://aurakingdom.aeriagames.com).
Half the videos is the game are similar to the sample. The other half contain Theora/Vorbis and are handled fine by FFmpeg.
The game doesn't install any DirectShow filters. So it must contain its own decoder.
comment:5 by , 11 years ago
Priority: | normal → wish |
---|---|
Reproduced by developer: | set |
Status: | reopened → open |
Type: | defect → enhancement |
Replying to cgbug:
I did not create this file. This sample comes from the game Aura Kingdom (http://aurakingdom.aeriagames.com).
Where do they offer their FFmpeg patches?
comment:6 by , 11 years ago
I don't see any obvious evidence of FFmpeg binaries being included with the game. However, most of the game data is in packed files. I have tried a few specialized tools to unpack them, but none supported the format.
The game is a free download, in case anyone else wants to have a look at it.
Contact info is available here:
http://about.aeriagames.com/de/impressum
How was this sample produced (which command line)?