25fps mkv judder on pana p50vt60

Discuss media renderers like Xbox 360, TVs, smartphones, etc.
Ladislav
Posts: 15
Joined: Thu Dec 05, 2013 10:36 am

Re: 25fps mkv judder on pana p50vt60

Post by Ladislav »

I'll redo this evening.
I have suspect that tv does not detect well pal/NTSC.
I have one other mkv , almost 22gb, and that one goes well, so there is no net problem,
Maybe il do both mkv play for to make compare.
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: 25fps mkv judder on pana p50vt60

Post by ExSport »

It depends on if file is streamed, remuxed or transcoded. So if your 22GB MKV is remuxed, bitrate can be about 15Mbit but in case of transcoding it can be easily 200Mbit
Btw. what is your connection? LAN 100Mbit, 1Gbit, WIFI, PowerCord,...?
Ladislav
Posts: 15
Joined: Thu Dec 05, 2013 10:36 am

Re: 25fps mkv judder on pana p50vt60

Post by Ladislav »

I'm on 1gb LAN
But have no Ida if tv goes 1gb
It should be 100mb min
Ladislav
Posts: 15
Joined: Thu Dec 05, 2013 10:36 am

Re: 25fps mkv judder on pana p50vt60

Post by Ladislav »

I made ne trace
I played also 2 different mkv for compareits all attached
Attachments
ums_dbg.zip
(59.81 KiB) Downloaded 665 times
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: 25fps mkv judder on pana p50vt60

Post by ExSport »

You are using forced streaming for mkv:

Code: Select all

Reading disable_transcode_for_extensions: default: "", current: "mkv,avi,divx,mp4,jpg,mov"
This is not good technique how to say UMS that MKV is supported. This setting makes that UMS loose the total control about this file so it is streamed as is without any internal control of file (audio/sub preference, incompatible audio/video codec or encoder settings, wrapping DTS etc.)
The best way is to configure supported= line for this purpose (in past it was like described above but not sure with newer UMS versions if they aren't more aware of this configuration --> but configuring supported= line is better in all cases 8-) )
In log I can see something is wrong. It can be your file or your ffmpeg version.
Log is full of nonstandard messages in very high number (about 700?)

Code: Select all

matroska,webm @ 0xb407f80] Unknown entry 0xF0
...
DEBUG 2013-12-06 22:24:37.600 [Thread-19] Error while decoding stream #0:0: Operation not permitted
DEBUG 2013-12-06 22:24:37.851 [Thread-19] frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A dup=0 drop=20    
DEBUG 2013-12-06 22:24:37.851 [Thread-19] video:1kB audio:0kB subtitle:0 global headers:0kB muxing overhead -101.443570%
And this spam is only for generating two thumbnails.
Still your file is streamed as is, without usage of any video engine so it should not be root cause of stuttering (except the situation file is badly encoded).
Another problem is parsing the file:

Code: Select all

TRACE 2013-12-06 22:24:36.124 [New I/O worker #16] Could not parse bitrate from: unknown
TRACE 2013-12-06 22:24:36.124 [New I/O worker #16] The full error was: java.lang.NumberFormatException: For input string: "unknown"
But later in log it seems MediaInfo parsed correct bitrate...
What exactly is your problem? In log it seems like you are trying to rewind after a while or it does TV itself? Log shows starting the stream then immediately sending the end of file, later it starts again from almost the start, after few secs it asks for chunk far inside the video, few seconds after it asks for another chunk inside file minutes farther...weird if you didn't use FF/RW.
Do you have another file, more general for new test and also trying some encoder engine inside TRANSCODE folder? [MEncoder] one and [tsMuxeR] one?
Ladislav
Posts: 15
Joined: Thu Dec 05, 2013 10:36 am

Re: 25fps mkv judder on pana p50vt60

Post by Ladislav »

Thx for your response.

First play log should be done by TV itself trying to show preview. (which i disabled)
Then I started film and did some fast play then I let it go for few seconds.
So it seems that UMS. don't recognize well MKV, Cause I set it like direct stream.
Is there any way how I can setup correct config for all supported formats for my TV.
doing naturally stream all time when TV know handle that format?.
My NAS have almost no computational power, so its hard to let it trans-code.
I have HP microserver so direct stream is preferred.

Thx again for your time.
P.S: I was following thread about Panasonic.conf, but its probably not my case cause VT60 is a bit new model
and many things it can handle itself.
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: 25fps mkv judder on pana p50vt60

Post by ExSport »

Then I understand why the log is so hard to read and finding correct part which is play time and not FF/RW or preview generation :)
To support MKV natively it is better to remove mkv extension from "StreamExtensions=" line and create new one as "Supported=" (MediaInfo=true must be used)

Code: Select all

Supported = f:mkv     m:video/x-matroska
Try using this one. It defines that all MKV files will be streamed as is, with MIME type "x-matroska"

Code: Select all

Supported = f:mkv      v:h264    a:aac|ac3    m:video/x-matroska
This one say the same as above but that only h264 video and aac+ac3 audio is supported only (so the rest will be transcoded, e.g. MKV with DivX video and DTS audio,...)
Ladislav
Posts: 15
Joined: Thu Dec 05, 2013 10:36 am

Re: 25fps mkv judder on pana p50vt60

Post by Ladislav »

Now i list all my supprted formats and ill try make my personál conf, have to study it a bit.
Thx for info.
Ill keep you inforomed about my progress. :)
Ladislav
Posts: 15
Joined: Thu Dec 05, 2013 10:36 am

Re: 25fps mkv judder on pana p50vt60

Post by Ladislav »

I install UMS 3.3.0 and i added just line for suported mkv video, I removed all transcode exceptions
but stil no way

UMS does not send to TV that played video is in EU 25fps so TV think that is 30fps based source and its judding
:(

There is no transcode its just straming it.

But is strange cause TV can handle 24p all NTSC and PAL frame rates, from HDMI but from dlna no
any other ideas?

Thx.
Ladislav
Posts: 15
Joined: Thu Dec 05, 2013 10:36 am

Re: 25fps mkv judder on pana p50vt60

Post by Ladislav »

one other strange thing. evidently I miss somthing ...
this is trace log: where is video mkv (ac1) with support line set, but not recognised
then in sequence there is exception about missing encoder

Code: Select all

DEBUG 2013-12-16 21:27:21.012 [New I/O worker #4] Starting transcode/remux of Back_to_the_Future_t04.mkv with media info: container: mkv, bitrate: 28510009, size: 24807253606, video codec: vc1, duration: 01:56:00.00, width: 1920, height: 1080, frame rate: 23.976, muxing mode: null, mime type: video/x-matroska
	Audio track id: 0, lang: it, flavor: 3/2+1, audio codec: DTS, sample frequency:48000, number of channels: 6, bits per sample: 24, artist: , album: , song name: , year: 0, track: 0
	Audio track id: 1, lang: en, flavor: lossless, audio codec: DTS, sample frequency:48000, number of channels: 6, bits per sample: 24, artist: , album: , song name: , year: 0, track: 0
	Subtitle track id: 0, type: PGS, flavor: null, lang: it, externalFileCharacterSet: null
	Subtitle track id: 1, type: PGS, flavor: null, lang: it, externalFileCharacterSet: null
	Subtitle track id: 2, type: PGS, flavor: null, lang: it, externalFileCharacterSet: null
	Subtitle track id: 3, type: PGS, flavor: null, lang: it, externalFileCharacterSet: null
	Subtitle track id: 4, type: PGS, flavor: null, lang: it, externalFileCharacterSet: null
	Subtitle track id: 5, type: PGS, flavor: null, lang: it, externalFileCharacterSet: null
TRACE 2013-12-16 21:27:21.013 [New I/O worker #4] Looking for an audio track with lang: eng
TRACE 2013-12-16 21:27:21.018 [New I/O worker #4] Matched audio track: id: 1, lang: en, flavor: lossless, audio codec: DTS, sample frequency:48000, number of channels: 6, bits per sample: 24, artist: , album: , song name: , year: 0, track: 0
TRACE 2013-12-16 21:27:21.018 [New I/O worker #4] Searching for a match for: en with eng and off
TRACE 2013-12-16 21:27:21.023 [New I/O worker #4]  Disabled the subtitles: id: 0, type: UNKNOWN, flavor: null, lang: off, externalFileCharacterSet: null
TRACE 2013-12-16 21:27:21.023 [New I/O worker #4] Format "mpegts" failed to match supported line f:mkv      	      v:h264|vc1   	       a:dts|aac|ac3    	    m:video/x-matroska
TRACE 2013-12-16 21:27:21.024 [New I/O worker #4] Format "mpegts" failed to match supported line f:mpegps          v:mpeg1|mpeg2|mp4|h264   a:dts|ac3|lpcm|aac       m:video/mpeg
TRACE 2013-12-16 21:27:21.024 [New I/O worker #4] Matched support line f:mpegts          v:mpeg1|mpeg2|mp4|h264   a:dts|ac3|lpcm|aac|mpa   m:video/mpeg
TRACE 2013-12-16 21:27:21.024 [New I/O worker #4] Not muxing the video stream with tsMuxeR via MEncoder because the video stream is not muxable to this renderer
TRACE 2013-12-16 21:27:21.024 [New I/O worker #4] Format "mpegps" failed to match supported line f:mkv      	      v:h264|vc1   	       a:dts|aac|ac3    	    m:video/x-matroska
TRACE 2013-12-16 21:27:21.024 [New I/O worker #4] Matched support line f:mpegps          v:mpeg1|mpeg2|mp4|h264   a:dts|ac3|lpcm|aac       m:video/mpeg
TRACE 2013-12-16 21:27:21.024 [New I/O worker #4] channels=2
DEBUG 2013-12-16 21:27:21.037 [mkfifo-27] Starting mkfifo --mode=777 /tmp/universalmediaserver/1387225641036ffmpegvideo
DEBUG 2013-12-16 21:27:21.037 [mkfifo-28] Starting mkfifo --mode=777 /tmp/universalmediaserver/1387225641036videoout
DEBUG 2013-12-16 21:27:21.053 [mkfifo-27] Unix process ID (mkfifo): 30268
DEBUG 2013-12-16 21:27:21.058 [mkfifo-28] Unix process ID (mkfifo): 30269
TRACE 2013-12-16 21:27:21.188 [New I/O worker #4] Format "mpegps" failed to match supported line f:mkv      	      v:h264|vc1   	       a:dts|aac|ac3    	    m:video/x-matroska
TRACE 2013-12-16 21:27:21.188 [Thread-63] Opening file /tmp/universalmediaserver/1387225641036ffmpegvideo for reading...
TRACE 2013-12-16 21:27:21.189 [New I/O worker #4] Matched support line f:mpegps          v:mpeg1|mpeg2|mp4|h264   a:dts|ac3|lpcm|aac       m:video/mpeg
DEBUG 2013-12-16 21:27:21.190 [mencoder-26] Starting mencoder -ss 0 "/mnt/dataI/FILM/HD/FILM/Back to the future/Back_to_the_Future_t04.mkv" -msglevel statusline=2 -nosound -of rawvideo -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=2 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=640:threads=2:keyint=5:vqscale=1:vqmin=3:vqmax=5:vrc_maxrate=43000:vrc_buf_size=7000 -nosub -noautosub -ofps 24000/1001 -vf expand=-0:-0:::0:16/9,softskip -lavdopts fast -mc 0 -noskip -o /tmp/universalmediaserver/1387225641036ffmpegvideo
TRACE 2013-12-16 21:27:21.190 [New I/O worker #4] Format "mpegps" failed to match supported line f:mkv      	      v:h264|vc1   	       a:dts|aac|ac3    	    m:video/x-matroska
TRACE 2013-12-16 21:27:21.191 [New I/O worker #4] Matched support line f:mpegps          v:mpeg1|mpeg2|mp4|h264   a:dts|ac3|lpcm|aac       m:video/mpeg
DEBUG 2013-12-16 21:27:21.193 [mkfifo-30] Starting mkfifo --mode=777 /tmp/universalmediaserver/1387225641036tsmuxerout.ts
ERROR 2013-12-16 21:27:21.193 [mencoder-26] Error initializing process: 
java.io.IOException: Cannot run program "mencoder": error=2, No such file or directory
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041) ~[na:1.7.0_25]
	at net.pms.io.ProcessWrapperImpl.run(ProcessWrapperImpl.java:181) ~[ums.jar:3.3.0]
Caused by: java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.forkAndExec(Native Method) ~[na:1.7.0_25]
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:135) ~[na:1.7.0_25]
	at java.lang.ProcessImpl.start(ProcessImpl.java:130) ~[na:1.7.0_25]
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022) ~[na:1.7.0_25]
	... 1 common frames omitted
any ideas? why it not match config line?
Post Reply