MKV file fails to transcode/play
Please see below ffmpeg output for two similar MKV files w. mpeg2video and AC3 audio. The first one does not seem to transcode correctly, the second one transcodes and plays fine.
I actually only want to "remux" the files into an mpeg-ts container, w. the same video and audio, so the overhead should be minimal. (I am able to do this manually myself, and then play the file, but I would prefer to save that step.) I found a "possible error" (see yellow highlite) in the serviio log for this transcode attempt, but not sure what it means:
From Serviio Log:
2012-01-13 18:45:37,714 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: I:\DVD_Video\Casino_Royale\t00_Casino_Royale.mkv
2012-01-13 18:45:37,714 DEBUG [ProcessExecutor] Starting C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe -i I:\DVD_Video\Casino_Royale\t00_Casino_Royale.mkv -y -async 1 -vcodec copy -copyts -acodec copy -map 0:0 -map 0:1 -sn -f vob C:\Windows\TEMP\Serviio\transcoding-temp-2423-MPEG2PS.stf
2012-01-13 18:45:37,765 WARN [ProcessExecutor] Process cmd has a return code of 1! This is a possible error.
2012-01-13 18:45:37,765 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
This file does not work (corresponds to above log):
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 14 2011 23:37:53 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-co
nfig
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 25. 0 / 2. 25. 0
libswscale 2. 0. 0 / 2. 0. 0
[matroska,webm @ 01538be0] max_analyze_duration 5000000 reached at 5024000
[matroska,webm @ 01538be0] Estimating duration from bitrate, this may be inaccur
ate
Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/
1001) -> 59.94 (60000/1001)
Input #0, matroska,webm, from 't00_Casino_Royale.mkv':
Metadata:
title : Casino Royale
Duration: 02:24:11.57, start: 0.000000, bitrate: 10248 kb/s
Chapter #0.0: start 0.000000, end 411.411000
Metadata:
title : Chapter 00
Chapter #0.1: start 411.411000, end 572.505267
Metadata:
title : Chapter 01
...
...
...
Chapter #0.27: start 8186.611767, end 8651.576000
Metadata:
title : Chapter 27
Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x480 [PAR 32:27 DAR
16:9], 9800 kb/s, PAR 186:157 DAR 279:157, 29.97 fps, 59.94 tbr, 1k tbn, 59.94 t
bc (default)
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s (default)
Metadata:
title : 3/2+1
Stream #0.2(eng): Subtitle: dvdsub (default)
Stream #0.3(fre): Subtitle: dvdsub
At least one output file must be specified
This file works (transcodes and plays):
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 14 2011 23:37:53 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-co
nfig
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 25. 0 / 2. 25. 0
libswscale 2. 0. 0 / 2. 0. 0
[matroska,webm @ 013a8be0] Estimating duration from bitrate, this may be inaccur
ate
Input #0, matroska,webm, from 't01_casino_Royale.mkv':
Metadata:
title : Casino Royale
Duration: 00:02:32.65, start: 0.000000, bitrate: 8448 kb/s
Chapter #0.0: start 0.000000, end 151.151000
Metadata:
title : Chapter 01
Chapter #0.1: start 151.151000, end 152.652000
Metadata:
title : Chapter 02
Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x480 [PAR 32:27 DAR
16:9], 8000 kb/s, PAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 t
bc (default)
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s (default)
Metadata:
title : 3/2+1
At least one output file must be specified
Beta Tester Group
Wiki | FAQ
Panasonic Viera TC-L32E3 LCD | Panasonic DMP-BDT210 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging