[FFmpeg-trac] #3269(undetermined:new): Can't remux BIK to MKV
FFmpeg
trac at avcodec.org
Sat Jan 4 09:03:11 CET 2014
#3269: Can't remux BIK to MKV
-------------------------------------+-------------------------------------
Reporter: Vika | Type: defect
Apelsinova | Priority: normal
Status: new | Version:
Component: | unspecified
undetermined | Blocked By:
Keywords: | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
There are 2 problems:
FFMPEG can't remux BIK with audio to MKV.
FFMPEG can remux BIK without audio to MKV, but produces unplayable output
(FFPlay don't want to play MKV output).
ffmpeg -v 9 -loglevel 99 -i input.bik
{{{
ffmpeg version N-59532-gadc09a3 Copyright (c) 2000-2014 the FFmpeg
developers
built on Jan 3 2014 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.102 / 55. 22.102
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.bik'.
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.bik.
Successfully parsed a group of options.
Opening an input file: input.bik.
[bink @ 0000000002856a80] Format bink probed with size=2048 and score=100
[bink @ 0000000002856a80] Before avformat_find_stream_info() pos: 732
bytes read
:32768 seeks:0
[bink @ 0000000002856a80] All info found
[bink @ 0000000002856a80] After avformat_find_stream_info() pos: 2784
bytes read
:32768 seeks:0 frames:2
Input #0, bink, from 'input.bik':
Duration: 00:00:06.72, start: 0.000000, bitrate: 2527 kb/s
Stream #0:0[0x0], 1, 1/25: Video: binkvideo (BIKi / 0x694B4942),
yuv420p, 64
0x480, 1/25, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream #0:1[0x0], 1, 1/44100: Audio: binkaudio_dct, 44100 Hz, stereo,
fltp
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0000000002857020] Statistics: 32768 bytes read, 0 seeks
}}}
ffmpeg -i input.bik -c copy output.mkv
{{{
ffmpeg version N-59532-gadc09a3 Copyright (c) 2000-2014 the FFmpeg
developers
built on Jan 3 2014 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.102 / 55. 22.102
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, bink, from 'input.bik':
Duration: 00:00:06.72, start: 0.000000, bitrate: 2527 kb/s
Stream #0:0[0x0]: Video: binkvideo (BIKi / 0x694B4942), yuv420p,
640x480, 25
fps, 25 tbr, 25 tbn, 25 tbc
Stream #0:1[0x0]: Audio: binkaudio_dct, 44100 Hz, stereo, fltp
[matroska @ 0000000004ec00a0] No wav codec tag found for codec
binkaudio_dct
Output #0, matroska, to 'output.mkv':
Metadata:
encoder : Lavf55.22.102
Stream #0:0: Video: binkvideo (BIKi / 0x694B4942), yuv420p, 640x480,
q=2-31,
25 fps, 1k tbn, 25 tbc
Stream #0:1: Audio: binkaudio_dct, 44100 Hz, stereo
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?):
Error
number -22 occurred
}}}
ffplay -i output.mkv
{{{
ffplay version N-59532-gadc09a3 Copyright (c) 2003-2014 the FFmpeg
developers
built on Jan 3 2014 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.102 / 55. 22.102
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
output.mkv: End of fileq= 0KB vq= 0KB sq= 0B f=0/0
}}}
ffmpeg -v 9 -loglevel 99 -i output.mkv
{{{
ffmpeg version N-59532-gadc09a3 Copyright (c) 2000-2014 the FFmpeg
developers
built on Jan 3 2014 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.102 / 55. 22.102
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 @ 0000000002886a80] Format matroska,webm probed with
size=2048 an
d score=100
[AVIOContext @ 0000000002887020] Statistics: 554 bytes read, 0 seeks
output.mkv: End of file
}}}
ffmpeg -i input.bik -vcodec copy -an output-noaudio.mkv
{{{
ffmpeg version N-59532-gadc09a3 Copyright (c) 2000-2014 the FFmpeg
developers
built on Jan 3 2014 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.102 / 55. 22.102
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, bink, from 'input.bik':
Duration: 00:00:06.72, start: 0.000000, bitrate: 2527 kb/s
Stream #0:0[0x0]: Video: binkvideo (BIKi / 0x694B4942), yuv420p,
640x480, 25
fps, 25 tbr, 25 tbn, 25 tbc
Stream #0:1[0x0]: Audio: binkaudio_dct, 44100 Hz, stereo, fltp
Output #0, matroska, to 'output-noaudio.mkv':
Metadata:
encoder : Lavf55.22.102
Stream #0:0: Video: binkvideo (BIKi / 0x694B4942), yuv420p, 640x480,
q=2-31,
25 fps, 1k tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame= 168 fps=0.0 q=-1.0 Lsize= 2051kB time=00:00:06.72
bitrate=2499.9kbits
/s
video:2044kB audio:0kB subtitle:0 global headers:0kB muxing overhead
0.319265%
}}}
ffplay -i output-noaudio.mkv
{{{
ffplay version N-59532-gadc09a3 Copyright (c) 2003-2014 the FFmpeg
developers
built on Jan 3 2014 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.102 / 55. 22.102
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 @ 0000000000346a40] Unknown/unsupported AVCodecID
V_MS/VFW/FOURCC
.
[matroska,webm @ 0000000000346a40] Could not find codec parameters for
stream 0
(Video: none (BIKi / 0x694B4942), 640x480): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
output-noaudio.mkv: could not find codec parameters
}}}
ffmpeg -v 9 -loglevel 99 -i output-noaudio.mkv
{{{
ffmpeg version N-59532-gadc09a3 Copyright (c) 2000-2014 the FFmpeg
developers
built on Jan 3 2014 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.102 / 55. 22.102
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-
noaudio.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-noaudio.mkv.
Successfully parsed a group of options.
Opening an input file: output-noaudio.mkv.
[matroska,webm @ 0000000002896ae0] Format matroska,webm probed with
size=2048 an
d score=100
[matroska,webm @ 0000000002896ae0] Unknown/unsupported AVCodecID
V_MS/VFW/FOURCC
.
st:0 removing common factor 1000000 from timebase
[matroska,webm @ 0000000002896ae0] Before avformat_find_stream_info() pos:
565 b
ytes read:32768 seeks:0
[matroska,webm @ 0000000002896ae0] parser not found for codec none,
packets or t
imes may be invalid.
Last message repeated 1 times
[matroska,webm @ 0000000002896ae0] max_analyze_duration 5000000 reached at
50000
00 microseconds
[matroska,webm @ 0000000002896ae0] Could not find codec parameters for
stream 0
(Video: none (BIKi / 0x694B4942), 640x480, 1/1000): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[matroska,webm @ 0000000002896ae0] After avformat_find_stream_info() pos:
149831
1 bytes read:1508281 seeks:0 frames:125
output-noaudio.mkv: could not find codec parameters
[AVIOContext @ 00000000028970c0] Statistics: 1508281 bytes read, 0 seeks
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3269>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list