Bug #336
closedBug in MKV file
0%
Description
I came up with this problem while 2.12 was still being developed.
With the final release version, I am not able to convert the recorded MKV file to a TS file anymore. This was a problem in 2.11 for HD recordings only, now also SD recordings are affected.
Conversion failure for HD:
ffmpeg -y -i Das-Erste-HD-Tagesschau.2010-12-03.14-00.mkv -vcodec copy -sameq -acodec copy -f mpegts Das-Erste-HD-Tagesschau.2010-12-03.14-00.ts
FFmpeg version SVN-r24044, Copyright (c) 2000-2010 the FFmpeg developers
built on Jul 21 2010 15:03:32 with gcc 4.5.0 20100716 (Red Hat 4.5.0-3)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --extra-version=rpmfusion --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avfilter-lavf --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 50.20. 0 / 50.20. 0
libavcodec 52.79. 1 / 52.79. 1
libavformat 52.73. 0 / 52.73. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.20. 1 / 1.20. 1
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
[h264 0x27f0270] number of reference frames exceeds max (probably corrupt input), discarding one
0x27dd6c0] Estimating duration from bitrate, this may be inaccurate
Last message repeated 3 times
[matroska
Input #0, matroska, from 'Das-Erste-HD-Tagesschau.2010-12-03.14-00.mkv':
Metadata:
title : Tagesschau
DATE_BROADCASTED: 2010-12-03 14:00:00
ORIGINAL_MEDIA_TYPE: TV
CONTENT_TYPE : News / Current affairs
TVCHANNEL : Das Erste HD
SUMMARY :
Duration: 00:15:59.84, start: 0.000000, bitrate: 960 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 50 tbr, 1k tbn, 100 tbc
Stream #0.1(deu): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
Stream #0.2(mis): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s
Stream #0.3(deu): Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s
[mpegts 0x28a3e40] muxrate 1 bps, pcr every 100 pkts, sdt every 200, pat/pmt every 40 pkts
0x28a3e40] st:0 error, non monotone timestamps 34200 >= 19800*
Output #0, mpegts, to 'Das-Erste-HD-Tagesschau.2010-12-03.14-00.ts':
Metadata:
encoder : Lavf52.73.0
Stream #0.0(eng): Video: libx264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 90k tbn, 1k tbc
Stream #0.1(deu): Audio: mp2, 48000 Hz, 2 channels, 256 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
*[mpegts
av_interleaved_write_frame(): Operation not permitted
Conversion failure for SD:
ffmpeg -y -i D-AS--VIERTE-Twilight-Zone---Unwahrscheinliche-Geschichten.2010-12-03.16-00.mkv -vcodec copy -sameq -acodec copy -f mpegts D-AS--VIERTE-Twilight-Zone---Unwahrscheinliche-Geschichten.2010-12-03.16-00.ts
FFmpeg version SVN-r24044, Copyright (c) 2000-2010 the FFmpeg developers
built on Jul 21 2010 15:03:32 with gcc 4.5.0 20100716 (Red Hat 4.5.0-3)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --extra-version=rpmfusion --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avfilter-lavf --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 50.20. 0 / 50.20. 0
libavcodec 52.79. 1 / 52.79. 1
libavformat 52.73. 0 / 52.73. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.20. 1 / 1.20. 1
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
[matroska 0x9126c0] Estimating duration from bitrate, this may be inaccurate
0x9869a0] muxrate 1 bps, pcr every 100 pkts, sdt every 200, pat/pmt every 40 pkts
Input #0, matroska, from 'D-AS--VIERTE-Twilight-Zone---Unwahrscheinliche-Geschichten.2010-12-03.16-00.mkv':
Metadata:
title : Twilight Zone - Unwahrscheinliche Geschichten
DATE_BROADCASTED: 2010-12-03 16:00:00
ORIGINAL_MEDIA_TYPE: TV
CONTENT_TYPE : Movie / Drama
TVCHANNEL : D AS VIERTE
SUMMARY : Mitternachtssonne
Duration: 00:01:40.08, start: 0.000000, bitrate: 15575 kb/s
Stream #0.0(eng): Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 15000 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc
Stream #0.1(deu): Audio: mp2, 48000 Hz, 2 channels, s16, 192 kb/s
Stream #0.2(deu): Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s
[mpegts
Output #0, mpegts, to 'D-AS--VIERTE-Twilight-Zone---Unwahrscheinliche-Geschichten.2010-12-03.16-00.ts':
Metadata:
encoder : Lavf52.73.0
Stream #0.0(eng): Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3], q=2-31, 15000 kb/s, 90k tbn, 1k tbc
Stream #0.1(deu): Audio: mp2, 48000 Hz, 2 channels, 192 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
[mpegts @ 0x9869a0] st:0 error, non monotone timestamps 10800 >= 10800
av_interleaved_write_frame(): Operation not permitted