FAQ  •  Register  •  Login

Micro stutters with some .MKV UT50

<<

joostnl

Serviio newbie

Posts: 12

Joined: Sat Feb 23, 2013 7:41 pm

Post Sun Aug 18, 2013 10:14 am

Micro stutters with some .MKV UT50

Dear forum members,

I use Serviio and it's working great most of the time!
I use mainly .MKV files 720P and 1080P some files play perfect others have micro stutters.
I have subtitles disabled because this cause lag always.

My game pc has pretty good set up and it's wired to my router so is my Panasonic UT50 also.

How is it possible that some .MKV files have micro stutters and some not? Audio is perfect only the video stutters sometimes.

Is there a way to give video information of the good and bad mkv's so somebody can guide me to change my serviio profile?

Thanks in advance!

Joost
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Sun Aug 18, 2013 11:16 am

Re: Micro stutters with some .MKV UT50

Which profile are you currently using?
My two minute investigation suggests the UT50 should support MKV's natively. The 2011/12 profile will pass through most MKV's natively, although some audio types get transcoded (which then requires both the audio and video to be remuxed). This may be the cause, although never seen it to be before (audio transcoding isn't processor intensive).

Let us know what profile you are presently using, and post MediaInfo details for a file that is stuttering. When the file is playing, what is the CPU load (% utilised) on the PC? Also, what type of media does the TV think its getting (in the info panel when you pause a movie, it will show "Video", "DivX', "MPEG-2" etc) - is it the same for a good file and a stuttering one?
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

joostnl

Serviio newbie

Posts: 12

Joined: Sat Feb 23, 2013 7:41 pm

Post Thu Aug 22, 2013 7:29 pm

Re: Micro stutters with some .MKV UT50

Thanks for your answer!

I'm using the 2011/2012 profile.

These are bad video's:

I don't get high CPU 0% - 3%
My TV thinks the files are MKV you can see it when browsing to my video files. (left side)

  Code:
General
Unique ID                                : 109929406642000903544171691716030799182 (0x52B3A233BE892D2C0D7B2EC60BC49D4E)
Complete name                            : D:\xxxxx.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 1 020 MiB
Duration                                 : 1h 19mn
Overall bit rate                         : 1 789 Kbps
Writing application                      : HandBrake 0.9.9
Writing library                          : libmkv 0.6.5

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L4.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Writing library                          : x264 core 130 r2273 b3065e6
Encoding settings                        : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=12 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : A_AAC
Duration                                 : 1h 19mn
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Language                                 : English
Default                                  : Yes
Forced                                   : No
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Fri Aug 23, 2013 6:27 am

Re: Micro stutters with some .MKV UT50

Interestingly the 2011/12 profile transcodes the audio in an MP4/H264/AAC file to AC3, but not for MKV's. I wonder if this may be a problem (although AAC in MKV's is not unusual, AAC is generally more associated with MP4 containers)? Curious that it is transcoded in MP4's, but not MKV's?

A quick thing to try. Edit profiles.xml and in the Panasonic Viera G/GT/DT/UT/VT (2011/2012) profile add the line:

<Matches container="matroska" vCodec="h264" aCodec="aac" />
directly after the line
<Matches container="matroska" vCodec="h264" aCodec="truehd" />

Save the file and restart your PC. See if that makes any difference - this will now transcode the audio to AC3. If not, change it back.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

joostnl

Serviio newbie

Posts: 12

Joined: Sat Feb 23, 2013 7:41 pm

Post Sat Aug 24, 2013 11:01 am

Re: Micro stutters with some .MKV UT50

Added the line but still lagging.
My tv thinks its 'Video' and not MKV

Found this in the profiles:
supports DTS, remove this line -->

I sometimes play DTS movies i think they lag also... Could this be something?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sat Aug 24, 2013 12:19 pm

Re: Micro stutters with some .MKV UT50

Could you check video bitrate with this tool (check time when video stutter...): viewtopic.php?f=17&t=2133
<<

joostnl

Serviio newbie

Posts: 12

Joined: Sat Feb 23, 2013 7:41 pm

Post Sat Aug 24, 2013 12:54 pm

Re: Micro stutters with some .MKV UT50

Don't got time.. Just very random a split of a second

Image
<<

joostnl

Serviio newbie

Posts: 12

Joined: Sat Feb 23, 2013 7:41 pm

Post Sat Aug 24, 2013 1:00 pm

Re: Micro stutters with some .MKV UT50

With MKV's from a specific supplier i don't got problems at all...

Example:

Image

  Code:
General
Unique ID                                : 227680905481947032789917682072660831771 (0xAB49BF533350F17C814B07C11BE56E1B)
Complete name                            : D:\Series\Spartacus\Q-sbusLM.p027.01e30S.sucatrapS.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 1.81 GiB
Duration                                 : 59mn 11s
Overall bit rate                         : 4 388 Kbps
Encoded date                             : UTC 2013-04-16 18:43:57
Writing application                      : mkvmerge v3.3.0 ('Language') built on Mar 24 2010 14:59:24
Writing library                          : libebml v0.8.0 + libmatroska v0.9.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 59mn 11s
Bit rate                                 : 3 917 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.177
Stream size                              : 1.62 GiB (89%)
Writing library                          : x264 core 130 r2273 b3065e6
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-2:-2 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.05:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.10
Language                                 : English
Default                                  : No
Forced                                   : No

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 59mn 11s
Bit rate mode                            : Constant
Bit rate                                 : 384 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 163 MiB (9%)
Language                                 : English
Default                                  : No
Forced                                   : No

Text
ID                                       : 3
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Title                                    : QoQ-Team
Language                                 : Dutch
Default                                  : Yes
Forced                                   : Yes
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sat Aug 24, 2013 2:19 pm

Re: Micro stutters with some .MKV UT50

Sorry no more ideas...
<<

joostnl

Serviio newbie

Posts: 12

Joined: Sat Feb 23, 2013 7:41 pm

Post Sat Aug 24, 2013 5:20 pm

Re: Micro stutters with some .MKV UT50

Could it be the Audio thats the difference I can see..?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Aug 25, 2013 7:20 am

Re: Micro stutters with some .MKV UT50

joostnl wrote:Could it be the Audio thats the difference I can see..?


Yes, I not sure that panasonic device support natively mkv/h264/AAC, within mkv audio is usually DTS or AC3. AAC is used with MP4.
<<

joostnl

Serviio newbie

Posts: 12

Joined: Sat Feb 23, 2013 7:41 pm

Post Sun Aug 25, 2013 8:12 am

Re: Micro stutters with some .MKV UT50

How can I set specific audio types to be converted to ac3?
And after which line in the profile it must be added.?
Or will that don't work and cause extra lag?
<<

joostnl

Serviio newbie

Posts: 12

Joined: Sat Feb 23, 2013 7:41 pm

Post Sun Aug 25, 2013 12:31 pm

Re: Micro stutters with some .MKV UT50

another bad mkv.

Image

  Code:
General
Unique ID                                : 181188527023841612975567084127013964774 (0x884FA417195A1D23AC20C84589CA0BE6)
Complete name                            : D:\Films\xxx.mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 4.74 GiB
Duration                                 : 2h 12mn
Overall bit rate                         : 5 121 Kbps
Encoded date                             : UTC 2013-08-20 14:05:16
Writing application                      : mkvmerge v6.3.0 ('You can't stop me!') built on Jun 28 2013 20:09:41
Writing library                          : libebml v1.3.0 + libmatroska v1.4.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2h 12mn
Bit rate                                 : 4 635 Kbps
Width                                    : 1 912 pixels
Height                                   : 796 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.127
Stream size                              : 4.29 GiB (91%)
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 2h 12mn
Bit rate mode                            : Constant
Bit rate                                 : 384 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 364 MiB (7%)
Language                                 : English
Default                                  : Yes
Forced                                   : No

Text #1
ID                                       : 3
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Title                                    : QoQ-Team
Language                                 : Dutch
Default                                  : Yes
Forced                                   : No

Text #2
ID                                       : 4
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Title                                    : engels 1
Language                                 : English
Default                                  : No
Forced                                   : No

Text #3
ID                                       : 5
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Title                                    : Engels 2
Language                                 : English
Default                                  : No
Forced                                   : No

Menu
00:00:00.000                             : en:Chapter 1
00:10:19.000                             : en:Chapter 2
00:19:21.000                             : en:Chapter 3
00:30:03.000                             : en:Chapter 4
00:40:09.000                             : en:Chapter 5
00:46:05.000                             : en:Chapter 6
00:56:38.000                             : en:Chapter 7
01:06:35.000                             : en:Chapter 8
01:12:55.000                             : en:Chapter 9
01:22:45.000                             : en:Chapter 10
01:30:54.000                             : en:Chapter 11
01:38:36.000                             : en:Chapter 12
01:47:09.000                             : en:Chapter 13
01:54:17.000                             : en:Chapter 14
01:59:20.000                             : en:Chapter 15
02:03:18.000                             : en:Chapter 16

<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Aug 28, 2013 8:18 am

Re: Micro stutters with some .MKV UT50

1) I'im not sure that device support "Frame rate mode : Variable" with h264 video codec.
2) Could you try to remux with mkvmerge version 5.5.0
<<

joostnl

Serviio newbie

Posts: 12

Joined: Sat Feb 23, 2013 7:41 pm

Post Sat Aug 31, 2013 7:43 am

Re: Micro stutters with some .MKV UT50

Found version 6.30, how and in what do you wan't me to remux it?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sat Aug 31, 2013 8:01 am

Re: Micro stutters with some .MKV UT50

Please, download this one : http://www.bunkus.org/videotools/mkvtoo ... -setup.exe
Open your mkv and create a new one with this old version of mkvmerge, then try to play this file with your device.
<<

joostnl

Serviio newbie

Posts: 12

Joined: Sat Feb 23, 2013 7:41 pm

Post Sat Aug 31, 2013 1:24 pm

Re: Micro stutters with some .MKV UT50

Sadly didn't work...... A 1 gb mkv was ready in 2 min or so, did it change anything of the file?
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Mon Sep 02, 2013 4:43 am

Re: Micro stutters with some .MKV UT50

joostnl wrote:How can I set specific audio types to be converted to ac3?
We did that here for AAC audio: viewtopic.php?f=13&t=12505#p76692, but it didn't work.

I think we need to work out whether this is the audio or video stream causing the stuttering by doing some tests:
  • Switch to the Panasonic Viera (2010) profile. This is the same as the 2011/12 profile but transcodes both video and audio for all mkv files. Press Save and see if the file plays without stuttering;
  • If it plays perfectly then edit your profiles.xml file. Edit the Panasonic Viera (2010) profile and change the line:
    <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
    to
    <Video targetContainer="mpegts" targetACodec="ac3">
    This will now only transcode the audio. Save profiles.xml and remember to restart your PC (Serviio service must fully restart to load the new profile). Test again. If this works then it tells us that the video stream is fine.
  • If it plays perfectly then edit your Panasonic Viera (2010) profile again and change the same line to read:
    <Video targetContainer="mpegts" targetVCodec="mpeg2video">
    This will now only transcode the video. Save profiles.xml and restart your PC. Test again. If this works then it tells us that the audio stream is fine.
The results of this test should help us down the correct path.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.

Return to Panasonic

Who is online

Users browsing this forum: No registered users and 10 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.