[FFmpeg-trac] #3394(undetermined:new): mp4 -> mkv produces broken file
FFmpeg
trac at avcodec.org
Tue Feb 18 02:17:37 CET 2014
#3394: mp4 -> mkv produces broken file
-------------------------------------+-------------------------------------
Reporter: tessus | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
I copy a video stream and convert an aac audio stream from an mp4 file to
an mkv file. The resulting mkv file is broken. It doesn't play on HW
players (e.g. WD TV Media box) and stops in VLC as well.
How to reproduce:
{{{
% ffmpeg -i inp.mp4 -i inp.srt -map 0:0 -vcodec copy -map 0:1 -acodec ac3
-b:a 384k -af volume=2 -map 1:0 -scodec copy -metadata:s:1 language=eng
-metadata:s:2 language=eng -metadata title="Title here" "out.mkv"
ffmpeg version N-60689-g8309171-tessus Copyright (c) 2000-2014 the FFmpeg
developers
built on Feb 16 2014 19:49:23 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)
configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm
--extra-version=tessus --disable-shared --enable-static --disable-ffplay
--enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
--enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-
libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm
--enable-libopus --enable-libmodplug --enable-fontconfig --enable-
libfreetype --enable-libass --enable-libbluray --enable-filters --enable-
runtime-cpudetect
libavutil 52. 64.100 / 52. 64.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 9.101 / 55. 9.101
libavfilter 4. 1.102 / 4. 1.102
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
}}}
The last good version I have on my disk is from Feb. 4th. The first bad
version was around Feb. 7th. Since then the output files are broken.
I have uploaded 3 files to upload.ffmpeg.org (cut off after 4MB):
1) input file: mp4-mkv-input.mp4
2) good output file (674195c): mp4-mkv-good.mkv
3) bad output file (8309171): mp4-mkv-broken.mkv
I suspect that the mkv structure of the output file is garbled. Maybe you
guys have tools to check the integrity of containers.
Since the video stream is copied, I can't believe that the stream is the
problem.
I used several different input files - same result, so it's not the input
file either.
ffmpeg 2.1.3 does not have the problem.
Maybe you have an idea what was changed after Feb 4th that would screw up
the output file.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3394>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list