PDA

View Full Version : Some .mkvs show no duration and stop playing after 10 minutes.



mcutugno
06-24-2011, 11:26 AM
Some .mkvs show no duration and stop playing after 10 minutes.
Sample FFMPEG info from one of these files below, please assist:


ffmpeg version git-N-30186-gd9d5603, Copyright (c) 2000-2011 the FFmpeg developers
built on May 25 2011 12:16:07 with gcc 4.4.2
configuration: --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-mingw32- --enable-static --disable-shared --enable-zlib --disable-ffprobe --disable-ffplay --prefix=/media/windows/ffmpeg --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --pkg-config=pkg-config
libavutil 51. 2. 1 / 51. 2. 1
libavcodec 53. 6. 0 / 53. 6. 0
libavformat 53. 2. 0 / 53. 2. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 10. 0 / 2. 10. 0
libswscale 0. 14. 0 / 0. 14. 0
libpostproc 51. 2. 0 / 51. 2. 0
[matroska,webm @ 01320320] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (5000000/104271) -> 23.98 (24000/1001)
Input #0, matroska,webm, from 'F:\Movies\High Definition\Harry Potter and the Prisoner of Azkaban (2004) 1080p.mkv':
Duration: 02:21:42.17, start: 0.000000, bitrate: 448 kb/s
Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x800, PAR 1:1 DAR 12:5, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s (default)
At least one output file must be specified


---> DB Level Info: 51

Paul
06-24-2011, 11:32 AM
Which device are you streaming this to? It's possible that the file is being transcoded and transcoding is too slow - what sort of CPU do you have?

If you try to play it again (after it stops), does it play further?

mcutugno
06-25-2011, 12:56 AM
I don't think the CPU is the issue as other files transcode and play fine. The CPU is an Phenom II X4 running at 3.4ghz with 8GB of Ram.

The file plays to different times each time I try.

Paul
06-27-2011, 09:11 AM
Different files transcode differently - some may be just remuxed, which doesn't take much CPU and is a lot quicker, while others have to be fully transcoded. The Phenom II X4 would be a very minimum CPU for high-def transcoding, so it's still possible that the file is just not being converted quickly enough. Also, the fact that it plays further with time, points to the same.

Can you please turn on logging (see this thread: http://forum.conceiva.com/showthread.php/419-FAQ-How-to-turn-on-diagnostic-logging) then try playing it again, so that it gets transcoded again and once it stops, stop the server and send the logs to support (at) conceiva (dot) com and we'll know for sure what the problem is.