FAQ  •  Register  •  Login

Problem after upgrade to 1+ serviio .. mkv loading errors

<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Wed Oct 03, 2012 9:54 pm

Re: Problem after upgrade to 1+ serviio .. mkv loading error

@ Illico
How could these play?
Transformers.HL4.2.ts => Video play with some little blocks artefacts
Transformers.HL4.1.ts => Video play with some little blocks artefacts

After tsmuxer and changing heading you would still have 8 ref frames so the file is still really a level 5.0 so how can the sony play it with out transcoding?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Oct 03, 2012 10:56 pm

Re: Problem after upgrade to 1+ serviio .. mkv loading error

jhb50 wrote:
zip wrote:Btw, what do you mean formula vs table? The formula produces a number which then matches a limit of a level within the table.


I mean the table in wikopedia, which if you look at my #1 file says it is a 5.1 whereas the formula makes it a 5.0

You're reading it wrong, 129,600 is more that the max limit of level 5.0 (110,400), therefore it's 5.1
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Oct 03, 2012 10:59 pm

Re: Problem after upgrade to 1+ serviio .. mkv loading error

jhb50 wrote:@ Illico
How could these play?
Transformers.HL4.2.ts => Video play with some little blocks artefacts
Transformers.HL4.1.ts => Video play with some little blocks artefacts

After tsmuxer and changing heading you would still have 8 ref frames so the file is still really a level 5.0 so how can the sony play it with out transcoding?

I assume the TV has got just about enough RAM to buffer the 8 frames, as it's on the lower scale of level 5.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Wed Oct 03, 2012 11:06 pm

Re: Problem after upgrade to 1+ serviio .. mkv loading error

You're reading it wrong, 129,600 is more that the max limit of level 5.0 (110,400), therefore it's 5.1

Ooops..misread.. edited my post.. but the table is a lot simpiler.

I assume the TV has got just about enough RAM to buffer the 8 frames, as it's on the lower scale of level 5.

That's a stretch! 1920x1080x8/256=64800 or twice the buffer needed by 4.2
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Oct 04, 2012 7:56 am

Re: Problem after upgrade to 1+ serviio .. mkv loading error

I see that on formula we don't take the video bitrate into account (or framerate)...
For example a 4.2 level device supports max 522240 macroblocks per second for decoding speed.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Oct 04, 2012 8:53 am

Re: Problem after upgrade to 1+ serviio .. mkv loading error

Yes, the formula is from Decoded picture buffering chapter. I don't want to rely too much on the bitrate given by FFmpeg, not sure if it's always right.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Thu Oct 04, 2012 12:32 pm

Re: Problem after upgrade to 1+ serviio .. mkv loading error

While we are on the topic of level, my Samsung plays up to level 4.1,but the Serviio test parameter says > 4.2. Shouldn't it be > 4.1 for Samsung?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Oct 04, 2012 3:04 pm

Re: Problem after upgrade to 1+ serviio .. mkv loading error

jhb50 wrote:While we are on the topic of level, my Samsung plays up to level 4.1,but the Serviio test parameter says > 4.2. Shouldn't it be > 4.1 for Samsung?

probably
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Thu Oct 04, 2012 4:56 pm

Re: Problem after upgrade to 1+ serviio .. mkv loading error

zip wrote:
jhb50 wrote:While we are on the topic of level, my Samsung plays up to level 4.1,but the Serviio test parameter says > 4.2. Shouldn't it be > 4.1 for Samsung?

probably


Could you expand?

The comment in the profile says test for > 4.1, but the rule says "level greater than 4.2". So what does the code check for? The formula value? If so which value, >32,768 for 4.1 or >34,816 for 4.2?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Oct 04, 2012 7:38 pm

Re: Problem after upgrade to 1+ serviio .. mkv loading error

it checks for 4.2, but it's probably wrong and should be 4.1
<<

leepa

Serviio newbie

Posts: 9

Joined: Fri Nov 16, 2012 9:30 am

Post Fri Nov 16, 2012 2:22 pm

Re: Problem after upgrade to 1+ serviio .. mkv loading error

Hi,

I had some mkv movies that would not play on my Panasonic ST50.
Some movies had the profile higher than 4.1 (max supported by ST50) and were playing fine, some - the opposite - right profile but were stuttering.
It took me an evening to find the culprit - first I was comparing the files' details to find the differences, then I found the concept of the reference frames in this very topic and the problem was solved. (big thanks for that :) )

Now, I have another file that matches all the requirements but does not play (stripped the audio information):
  Code:
Complete name                            : Brave.2012.PLDUB.720p.BluRay.x264.AC3-LLO.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 3.24 GiB
Duration                                 : 1h 34mn
Overall bit rate                         : 4 922 Kbps
Encoded date                             : UTC 2012-11-16 05:43:44
Writing application                      : mkvmerge v3.4.0 ('Rapunzel') built on May 15 2010 09:38:20
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                : 12 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1h 34mn
Bit rate                                 : 4 500 Kbps
Width                                    : 1 280 pixels
Height                                   : 536 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.274
Stream size                              : 2.88 GiB (89%)
Writing library                          : x264 core 128 r2216+688+33 06dac27 tMod+MixAQ [8-bit@4:2:0 X86_64]
Encoding settings                        : cabac=1 / ref=12 / deblock=1:-2:-2 / analyse=0x3:0x113 / me=umh / subme=10 / psy=1 / fade_compensate=0.00 / psy_rd=0.85:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=240 / rc=2pass / mbtree=1 / bitrate=4500 / ratetol=1.0 / qcomp=0.70 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.10 / aq=4 / aq-strength=1.15 / aq-sensitivity=10.00 / aq-ifactor=1.00 / aq-pfactor=1.00 / aq-bfactor=1.00 / aq2=0
Language                                 : English
Default                                  : No
Forced                                   : No

and I started wondering what is going on...
BTW - the video was taken from the Brave.2012.720p.BluRay.x264-HDChina release.

According to both http://wiki.serviio.org/doku.php?id=get_h264_level and http://en.wikipedia.org/wiki/H264#Levels it falls to the 4.1 profile but somehow the video does not play.
It looks like the TV is determining the h264 level in a way different than provided in the links above. My assumption is that it only checks the width as long as the height does not exceed the maximum value for a full frame... so:
- for width of 1280 and any height up to 720, the number of reference frames must not be greater than 9
- for width of 1920 and height up to 1080, the reference frames must not exceed 4

I did some tests. I took 100 MB of the file in question, and transcoded it to have less reference frames:
- original - 1280x536, 12 ReFrames - not working
- same size, 9 ReFrames - working just fine
- same size, 11 ReFrames - less stuttering but still not working (I gave it a shot because of the following statement:
It is important to note that the current picture being decoded is not included in the computation of DPB fullness (unless the encoder has indicated for it to be stored for use as a reference for decoding other pictures or for delayed output timing). Thus, a decoder needs to actually have sufficient memory to handle (at least) one frame more than the maximum capacity of the DPB as calculated above.
from http://en.wikipedia.org/wiki/H264#Decod ... _buffering)
- size 1280x200, 10 ReFrames - still a problem and MediaInfo shows a profile of High@L3.1

Maybe you would like to consider the above findings to amend the Viera 2012 (cannot confirm the other) Serviio profile.

Let me know if you need the detailed logfile.
Leepa
<<

playwithfire

Serviio newbie

Posts: 15

Joined: Sun Aug 21, 2011 10:00 pm

Post Sat Nov 17, 2012 2:45 pm

Re: Problem after upgrade to 1+ serviio .. mkv loading error

I am having the same issue with version 1.01 with my Sony Bravia 2011-US profile for my Sony Bravia KDL-46EX521. The old 0.61 profile worked flawlessly but the new profile does not support transcoding for most of my MKV files. I have been using MediaInfo to look at the different Audio and Video Streams that are not playing correctly. The audio stream do not play on files that are encoded in AAC and any video that is encoded AVC with less than 4 reference frames experiences stuttering (I do not have a MKV file that is not video encoded in AVC). While I have isolated the transcoding issues I do not know how to modify the profiles to correct these problems. DETAILED help and howto enable transcoding for the reference MKV files in the Sony 2011 (US) profile would be extremely helpful. Below is the Media Info Results.


The below MKV does not play the audio and the video stutters.

  Code:
General
Unique ID                                : 191228955603276780556019574415647724942 (0x8FDD5B7058C238A299B71A42740E558E)
Complete name                            : H:\Video\Childern\Shows\The Super Hero Squad\Season 1\The.Super.Hero.Squad.S01E01-HD.720 p.WEB-DL.AAC2.0.H2 64-PYROGABB.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 764 MiB
Duration                                 : 23mn 10s
Overall bit rate                         : 4 612 Kbps
Encoded date                             : UTC 2011-07-29 20:41:37
Writing application                      : mkvmerge v4.7.0 ('Just Like You Imagined') built on Apr 21 2011 01:13:14
Writing library                          : libebml v1.2.0 + libmatroska v1.1.0

Video
ID                                       : 2
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : No
Format settings, ReFrames                : 2 frames
Muxing mode                              : Header stripping
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 23mn 10s
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
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

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



The below MKV file video works flawlessly but the there is no audio

  Code:
General
Unique ID                                : 242670656667283365283039757539533488655 (0xB690AB1E39E0EC69BD88EDEF6DB5820F)
Complete name                            : H:\Video\Childern\Movies\Wall-E [2006].mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 3.34 GiB
Duration                                 : 1h 38mn
Overall bit rate                         : 4 875 Kbps
Movie name                               : WALL•E
Encoded date                             : UTC 2012-05-06 17:46:28
Writing application                      : mkvmerge v5.5.0 ('Healer') built on Apr  6 2012 21:43:24
Writing library                          : libebml v1.2.3 + libmatroska v1.3.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
Muxing mode                              : Header stripping
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1h 38mn
Nominal bit rate                         : 4 613 Kbps
Width                                    : 1 920 pixels
Height                                   : 800 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.125
Title                                    : WALL•E
Writing library                          : x264 core 66 r1114 a933a3e
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-2:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=0 / mbaff=0 / bframes=5 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=240 / keyint_min=24 / scenecut=40(pre) / rc=2pass / bitrate=4613 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=50000 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Language                                 : Italian
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : A_AAC
Duration                                 : 1h 38mn
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Title                                    : English 5.1
Language                                 : English
Default                                  : No
Forced                                   : No



The below MKV works flawlessly for both audio and video


  Code:
General
Unique ID                                : 212801725750962860452411440611758971650 (0xA0181F2022CEDCB284B53851D6201B02)
Complete name                            : H:\Video\Childern\Movies\Brave [2012].mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 3.59 GiB
Duration                                 : 1h 33mn
Overall bit rate                         : 5 492 Kbps
Encoded date                             : UTC 2012-11-01 21:48:44
Writing application                      : mkvmerge v5.3.0 ('I could have danced') built on Feb  9 2012 10:38:07
Writing library                          : libebml v1.2.3 + libmatroska v1.3.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 12 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1h 33mn
Bit rate                                 : 4 500 Kbps
Width                                    : 1 280 pixels
Height                                   : 536 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.274
Stream size                              : 2.89 GiB (81%)
Writing library                          : x264 core 128 r2216+688+33 06dac27 tMod+MixAQ [8-bit@4:2:0 X86_64]
Encoding settings                        : cabac=1 / ref=12 / deblock=1:-2:-2 / analyse=0x3:0x113 / me=umh / subme=10 / psy=1 / fade_compensate=0.00 / psy_rd=0.85:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=240 / rc=2pass / mbtree=1 / bitrate=4500 / ratetol=1.0 / qcomp=0.70 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.10 / aq=4 / aq-strength=1.15 / aq-sensitivity=10.00 / aq-ifactor=1.00 / aq-pfactor=1.00 / aq-bfactor=1.00 / aq2=0
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio #1
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 1h 33mn
Bit rate mode                            : Constant
Bit rate                                 : 640 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                              : 429 MiB (12%)
Language                                 : English
Default                                  : Yes
Forced                                   : Yes




Again, I am not a programmer but I have spent considerable time isolating these issues and any detailed help on how to modify the profiles to support transcoding for MKV files in the Sony 2011 - US profile would be extremely helpful.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sat Nov 17, 2012 6:09 pm

Re: Problem after upgrade to 1+ serviio .. mkv loading error

Sony Bravia 2011/2012 are supposed to support AAC audio, but I don't know, they could be limited to AAC stereo and not support 5.1. (Thats why on Serviio 1.0 version, AAC in native format were added)
For h264 video support, that could be due to a lot of thing... video bitrate, some h264 encoding setting not supported.

If you want always transcode AAC audio to AC3, select Sony Bravia 2010 model.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

playwithfire

Serviio newbie

Posts: 15

Joined: Sun Aug 21, 2011 10:00 pm

Post Sat Nov 17, 2012 6:28 pm

Re: Problem after upgrade to 1+ serviio .. mkv loading error

Illico wrote:Sony Bravia 2011/2012 are supposed to support AAC audio, but I don't know, they could be limited to AAC stereo and not support 5.1. (Thats why on Serviio 1.0 version, AAC in native format were added)
For h264 video support, that could be due to a lot of thing... video bitrate, some h264 encoding setting not supported.

If you want always transcode AAC audio to AC3, select Sony Bravia 2010 model.


Okay.
<<

zejnowski

Serviio newbie

Posts: 8

Joined: Sun Dec 02, 2012 11:43 am

Post Tue Feb 26, 2013 9:52 am

Re: Problem after upgrade to 1+ serviio .. mkv loading error

I have the same issue in e8000, can you have any resolves?
Previous

Return to Transcoding

Who is online

Users browsing this forum: Google [Bot] and 26 guests

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