[FFmpeg-trac] #6206(avformat:new): detect ffv1 in mkv with codecid V_FFV1
FFmpeg
trac at avcodec.org
Tue Feb 28 20:37:36 EET 2017
#6206: detect ffv1 in mkv with codecid V_FFV1
---------------------------------------+----------------------------------
Reporter: dericed | Owner:
Type: defect | Status: new
Priority: normal | Component: avformat
Version: unspecified | Keywords: mkv ffv1
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
---------------------------------------+----------------------------------
Summary of the bug:
Attached are mkv files that use V_FFV1 as a codecid per https://github.com
/Matroska-Org/matroska-specification/blob/master/codec_specs.md#v_ffv1.
V_FFV1_v1.mkv contains a version 1 of FFV1 with no CodecPrivate, whereas
V_FFV1_v3.mkv contains the ConfigurationRecord for FFV1 in CodecPrivate.
How to reproduce:
{{{
ffmpeg -i V_FFV1_v1.mkv
ffmpeg version git-2017-02-12-79d232f Copyright (c) 2000-2017 the FFmpeg
developers
built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD-79d232f --enable-
shared --enable-pthreads --enable-gpl --enable-version3 --enable-
hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-
ldflags= --enable-chromaprint --enable-ffplay --enable-libcaca --enable-
libfreetype --enable-libmp3lame --enable-libopus --enable-libtesseract
--enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid
--enable-opencl --disable-lzma --enable-vda
libavutil 55. 46.100 / 55. 46.100
libavcodec 57. 79.100 / 57. 79.100
libavformat 57. 66.102 / 57. 66.102
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 73.100 / 6. 73.100
libavresample 3. 2. 0 / 3. 2. 0
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
[matroska,webm @ 0x7fe067001800] Unknown/unsupported AVCodecID V_FFV1.
[matroska,webm @ 0x7fe067001800] Could not find codec parameters for
stream 0 (Video: none, none(progressive), 320x240): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, matroska,webm, from 'V_FFV1_v1.mkv':
Metadata:
creation_time : 2017-02-25T18:04:25.000000Z
ENCODER : Lavf57.66.102
Duration: 00:00:01.00, start: 0.000000, bitrate: 871 kb/s
Stream #0:0: Video: none, none(progressive), 320x240, SAR 1:1 DAR 4:3,
25 fps, 25 tbr, 1k tbn, 1k tbc (default)
Metadata:
ENCODER : Lavc57.79.100 ffv1
DURATION : 00:00:01.000000000
At least one output file must be specified
}}}
and
{{{
ffmpeg -i V_FFV1_v3.mkv
ffmpeg version git-2017-02-12-79d232f Copyright (c) 2000-2017 the FFmpeg
developers
built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD-79d232f --enable-
shared --enable-pthreads --enable-gpl --enable-version3 --enable-
hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-
ldflags= --enable-chromaprint --enable-ffplay --enable-libcaca --enable-
libfreetype --enable-libmp3lame --enable-libopus --enable-libtesseract
--enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid
--enable-opencl --disable-lzma --enable-vda
libavutil 55. 46.100 / 55. 46.100
libavcodec 57. 79.100 / 57. 79.100
libavformat 57. 66.102 / 57. 66.102
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 73.100 / 6. 73.100
libavresample 3. 2. 0 / 3. 2. 0
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
[matroska,webm @ 0x7fd265800000] Unknown/unsupported AVCodecID V_FFV1.
[matroska,webm @ 0x7fd265800000] Could not find codec parameters for
stream 0 (Video: none, none(progressive), 320x240): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, matroska,webm, from 'V_FFV1_v3.mkv':
Metadata:
creation_time : 2017-02-25T18:04:35.000000Z
ENCODER : Lavf57.66.102
Duration: 00:00:01.00, start: 0.000000, bitrate: 1007 kb/s
Stream #0:0: Video: none, none(progressive), 320x240, SAR 1:1 DAR 4:3,
25 fps, 25 tbr, 1k tbn, 1k tbc (default)
Metadata:
ENCODER : Lavc57.79.100 ffv1
DURATION : 00:00:01.000000000
At least one output file must be specified
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6206>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list