[FFmpeg-trac] #3256(undetermined:new): FFMPEG SVQ3 Matroska remux produces unplayable output (FFPlay don't want to play SVQ3 MKV output)
FFmpeg
trac at avcodec.org
Mon Dec 30 06:43:56 CET 2013
#3256: FFMPEG SVQ3 Matroska remux produces unplayable output (FFPlay don't want to
play SVQ3 MKV output)
-------------------------------------+-------------------------------------
Reporter: Vika | Type: defect
Apelsinova | Priority: important
Status: new | Version:
Component: | Blocked By:
undetermined | Reproduced by developer: 0
Keywords: |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
FFMPEG SVQ3 Matroska remux produces unplayable output (FFPlay don't want
to play SVQ3 MKV output)
MediaInfo log for input.mov:
{{{
General
Complete name : input.mov
Format : QuickTime
Format/Info : Original Apple specifications
Format settings : Compressed header
File size : 21.5 MiB
Duration : 3mn 46s
Overall bit rate : 794 Kbps
Encoded date : UTC 2002-02-05 18:21:59
Tagged date : UTC 2002-02-05 18:22:15
Writing application : Encoded with Cleaner 5
Writing library : Apple QuickTime
Video
ID : 1
Format : Sorenson 3
Codec ID : SVQ3
Codec ID/Info : Sorenson Media Video 3 (Apple
QuickTime 5)
Duration : 3mn 46s
Bit rate : 745 Kbps
Width : 480 pixels
Height : 280 pixels
Display aspect ratio : 1.714
Frame rate mode : Constant
Frame rate : 25.000 fps
Bits/(Pixel*Frame) : 0.222
Stream size : 20.1 MiB (94%)
Title : Gestore Apple Media Video
Language : English
Encoded date : UTC 2002-02-05 16:51:31
Tagged date : UTC 2002-02-05 18:22:15
Audio
ID : 2
Format : Qdesign 2
Codec ID : QDM2
Codec ID/Info : QDesign Music 2
Duration : 3mn 46s
Bit rate mode : Constant
Bit rate : 176.4 Kbps
Channel count : 2 channels
Sampling rate : 22.05 KHz
Bit depth : 16 bits
Stream size : 4.77 MiB (22%)
Title : Gestore Apple Media Suono
Language : English
Encoded date : UTC 2002-02-05 16:51:31
Tagged date : UTC 2002-02-05 18:22:15
}}}
ffmpeg -v 9 -loglevel 99 -i input.mov
{{{
ffmpeg version N-59433-g4aa9c91 Copyright (c) 2000-2013 the FFmpeg
developers
built on Dec 29 2013 22:07:20 with gcc 4.8.2 (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-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-
libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
libwavp
ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 59.100 / 52. 59.100
libavcodec 55. 47.100 / 55. 47.100
libavformat 55. 22.100 / 55. 22.100
libavdevice 55. 5.102 / 55. 5.102
libavfilter 4. 0.103 / 4. 0.103
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument
'9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level)
with argument '99'.
Reading option '-i' ... matched as input file with argument 'input.mov'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input file input.mov.
Successfully parsed a group of options.
Opening an input file: input.mov.
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003b6a80] Format
mov,mp4,m4a,3gp,3g2,mj2 prob
ed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003b6a80] Before
avformat_find_stream_info()
pos: 26341 bytes read:32768 seeks:0
[qdm2 @ 0000000002750920] size: 36
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003b6a80] max_analyze_duration 5000000
reache
d at 5015510 microseconds
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003b6a80] After
avformat_find_stream_info() p
os: 421817 bytes read:425984 seeks:0 frames:169
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mov':
Metadata:
creation_time : 2002-02-05 18:21:59
encoder : Encoded with Cleaner 5
encoder-eng : Encoded with Cleaner 5
Duration: 00:03:46.68, start: 0.000000, bitrate: 794 kb/s
Stream #0:0(eng), 113, 1/600: Video: svq3 (SVQ3 / 0x33515653),
yuvj420p, 480
x280, 1/600, 745 kb/s, 25 fps, 25 tbr, 600 tbn, 600 tbc (default)
Metadata:
creation_time : 2002-02-05 18:21:59
handler_name : Apple Alias Data Handler
Stream #0:1(eng), 56, 1/22050: Audio: qdm2 (QDM2 / 0x324D4451), 22050
Hz, st
ereo, s16, 48 kb/s (default)
Metadata:
creation_time : 2002-02-05 18:21:59
handler_name : Apple Alias Data Handler
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 00000000003b7020] Statistics: 425984 bytes read, 0 seeks
}}}
ffmpeg -i input.mov -vcodec copy -acodec copy output.mkv
{{{
ffmpeg version N-59433-g4aa9c91 Copyright (c) 2000-2013 the FFmpeg
developers
built on Dec 29 2013 22:07:20 with gcc 4.8.2 (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-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-
libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
libwavp
ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 59.100 / 52. 59.100
libavcodec 55. 47.100 / 55. 47.100
libavformat 55. 22.100 / 55. 22.100
libavdevice 55. 5.102 / 55. 5.102
libavfilter 4. 0.103 / 4. 0.103
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mov':
Metadata:
creation_time : 2002-02-05 18:21:59
encoder : Encoded with Cleaner 5
encoder-eng : Encoded with Cleaner 5
Duration: 00:03:46.68, start: 0.000000, bitrate: 794 kb/s
Stream #0:0(eng): Video: svq3 (SVQ3 / 0x33515653), yuvj420p, 480x280,
745 kb
/s, 25 fps, 25 tbr, 600 tbn, 600 tbc (default)
Metadata:
creation_time : 2002-02-05 18:21:59
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Audio: qdm2 (QDM2 / 0x324D4451), 22050 Hz, stereo,
s16, 48
kb/s (default)
Metadata:
creation_time : 2002-02-05 18:21:59
handler_name : Apple Alias Data Handler
Output #0, matroska, to 'output.mkv':
Metadata:
encoder-eng : Encoded with Cleaner 5
encoder : Lavf55.22.100
Stream #0:0(eng): Video: svq3 (SVQ3 / 0x33515653), yuvj420p, 480x280,
q=2-31
, 745 kb/s, 25 fps, 1k tbn, 600 tbc (default)
Metadata:
creation_time : 2002-02-05 18:21:59
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Audio: qdm2 ([255][255][255][255] / 0xFFFFFFFF),
22050 Hz,
stereo, 48 kb/s (default)
Metadata:
creation_time : 2002-02-05 18:21:59
handler_name : Apple Alias Data Handler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 5667 fps=0.0 q=-1.0 Lsize= 22021kB time=00:03:46.64 bitrate=
795.9kbits
/s
video:20623kB audio:1325kB subtitle:0 global headers:0kB muxing overhead
0.33352
5%
}}}
MediaInfo log for output.mkv:
{{{
General
Unique ID :
92083823330401757795842791738927682089
(0x4546B303A87A81C61B6345712E171229)
Complete name : output.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 21.5 MiB
Duration : 3mn 46s
Overall bit rate : 796 Kbps
Writing application : Lavf55.22.100
Writing library : Lavf55.22.100
Video
ID : 1
Format : V_QUICKTIME
Codec ID : V_QUICKTIME
Duration : 3mn 46s
Width : 480 pixels
Height : 280 pixels
Display aspect ratio : 1.714
Frame rate mode : Constant
Frame rate : 25.000 fps
Language : English
Default : Yes
Forced : No
Encoded date : UTC 2002-02-05 18:21:59
HANDLER_NAME : Apple Alias Data Handler
Audio
ID : 2
Format : A_QUICKTIME/QDM2
Codec ID : A_QUICKTIME/QDM2
Duration : 3mn 46s
Channel count : 2 channels
Sampling rate : 22.05 KHz
Bit depth : 16 bits
Language : English
Default : Yes
Forced : No
Encoded date : UTC 2002-02-05 18:21:59
HANDLER_NAME : Apple Alias Data Handler
}}}
ffmpeg -v 9 -loglevel 99 -i output.mkv
{{{
ffmpeg version N-59433-g4aa9c91 Copyright (c) 2000-2013 the FFmpeg
developers
built on Dec 29 2013 22:07:20 with gcc 4.8.2 (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-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-
libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
libwavp
ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 59.100 / 52. 59.100
libavcodec 55. 47.100 / 55. 47.100
libavformat 55. 22.100 / 55. 22.100
libavdevice 55. 5.102 / 55. 5.102
libavfilter 4. 0.103 / 4. 0.103
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument
'9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level)
with argument '99'.
Reading option '-i' ... matched as input file with argument 'output.mkv'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input file output.mkv.
Successfully parsed a group of options.
Opening an input file: output.mkv.
[matroska,webm @ 00000000003a6a80] Format matroska,webm probed with
size=2048 an
d score=100
[matroska,webm @ 00000000003a6a80] Unknown/unsupported AVCodecID
V_QUICKTIME.
st:0 removing common factor 1000000 from timebase
st:1 removing common factor 1000000 from timebase
[matroska,webm @ 00000000003a6a80] Before avformat_find_stream_info() pos:
1023
bytes read:32768 seeks:0
[matroska,webm @ 00000000003a6a80] parser not found for codec none,
packets or t
imes may be invalid.
[matroska,webm @ 00000000003a6a80] parser not found for codec qdm2,
packets or t
imes may be invalid.
[qdm2 @ 0000000002750a20] size: 36
[matroska,webm @ 00000000003a6a80] parser not found for codec none,
packets or t
imes may be invalid.
[matroska,webm @ 00000000003a6a80] parser not found for codec qdm2,
packets or t
imes may be invalid.
[matroska,webm @ 00000000003a6a80] max_analyze_duration 5000000 reached at
50000
00 microseconds
[matroska,webm @ 00000000003a6a80] Could not find codec parameters for
stream 0
(Video: none, 480x280, 1/1000): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[matroska,webm @ 00000000003a6a80] After avformat_find_stream_info() pos:
458831
bytes read:491520 seeks:0 frames:179
Input #0, matroska,webm, from 'output.mkv':
Metadata:
ENCODER-eng : Encoded with Cleaner 5
ENCODER : Lavf55.22.100
Duration: 00:03:46.68, start: 0.000000, bitrate: 795 kb/s
Stream #0:0(eng), 125, 1/1000: Video: none, 480x280, 1/1000, SAR 1:1
DAR 12:
7, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
Metadata:
CREATION_TIME : 2002-02-05 18:21:59
LANGUAGE : eng
HANDLER_NAME : Apple Alias Data Handler
Stream #0:1(eng), 54, 1/1000: Audio: qdm2, 22050 Hz, stereo, s16, 48
kb/s (d
efault)
Metadata:
CREATION_TIME : 2002-02-05 18:21:59
LANGUAGE : eng
HANDLER_NAME : Apple Alias Data Handler
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 00000000003a7020] Statistics: 491520 bytes read, 0 seeks
}}}
ffplay -i output.mkv
{{{
ffplay version N-59433-g4aa9c91 Copyright (c) 2003-2013 the FFmpeg
developers
built on Dec 29 2013 22:07:20 with gcc 4.8.2 (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-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-
libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
libwavp
ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 59.100 / 52. 59.100
libavcodec 55. 47.100 / 55. 47.100
libavformat 55. 22.100 / 55. 22.100
libavdevice 55. 5.102 / 55. 5.102
libavfilter 4. 0.103 / 4. 0.103
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
[matroska,webm @ 000000000036b380] Unknown/unsupported AVCodecID
V_QUICKTIME.
[matroska,webm @ 000000000036b380] Could not find codec parameters for
stream 0
(Video: none, 480x280): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, matroska,webm, from 'output.mkv':
Metadata:
ENCODER-eng : Encoded with Cleaner 5
ENCODER : Lavf55.22.100
Duration: 00:03:46.68, start: 0.000000, bitrate: 795 kb/s
Stream #0:0(eng): Video: none, 480x280, SAR 1:1 DAR 12:7, 25 fps, 25
tbr, 1k
tbn, 1k tbc (default)
Metadata:
CREATION_TIME : 2002-02-05 18:21:59
LANGUAGE : eng
HANDLER_NAME : Apple Alias Data Handler
Stream #0:1(eng): Audio: qdm2, 22050 Hz, stereo, s16, 48 kb/s
(default)
Metadata:
CREATION_TIME : 2002-02-05 18:21:59
LANGUAGE : eng
HANDLER_NAME : Apple Alias Data Handler
No codec could be found with id 0
}}}
You can download input.mov, output.mkv and log files for future analysis
here: http://goo.gl/6hHwsA
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3256>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list