Page 1 of 1

Why is this file transcoded ?

PostPosted: Tue Jul 30, 2013 5:42 pm
by NX3
Sony 2011 profile, this gets transcoded to mpeg2 but it appears at face value the same as all other HD videos that don't get fully transcoded.

  Code:
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                                 : 2h 41mn
Nominal bit rate                         : 10.4 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 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.209
Writing library                          : x264 core 135 r2345
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=230 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=10398 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=24000 / vbv_bufsize=24000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Language                                 : Spanish
Default                                  : Yes
Forced                                   : No

Re: Why is this file transcoded ?

PostPosted: Wed Jul 31, 2013 1:13 am
by DenyAll
It's because the h264 profile level is High@L5 despite what the header of the file states - see http://wiki.serviio.org/doku.php?id=get_h264_level

This is then transcoded in accordance with the first rule in the Sony 2012 profile (which the 2011 profile inherits).

Re: Why is this file transcoded ?

PostPosted: Wed Jul 31, 2013 6:55 pm
by NX3
How can you tell its level 5.1 ? It claims 4.1 which is why I was surprised to be transcoding...

Re: Why is this file transcoded ?

PostPosted: Wed Jul 31, 2013 7:28 pm
by Illico
NX3 wrote:How can you tell its level 5.1 ? It claims 4.1 which is why I was surprised to be transcoding...

Do you read the wiki ? http://wiki.serviio.org/doku.php?id=get_h264_level

1920x1080x5/256=40500 ==> Level > 4.2 this is not a 4.1 level

if there were 4 refframe, it should be a 4.1 level...

Re: Why is this file transcoded ?

PostPosted: Wed Jul 31, 2013 7:38 pm
by NX3
I have to admit I didn't full appreciate how the lv worked and was calculated. I do now so thank you.....

Re: Why is this file transcoded ?

PostPosted: Wed Jul 31, 2013 11:33 pm
by DenyAll
Illico wrote:1920x1080x5/256=40500 ==> Level > 4.2 this is not a 4.1 level


Being pedantic but I also want to to double check my understanding (I make this a level 5.0) :

1920x1080x5/256=40500 ==> Level > 5.0 as the 40500 exceeds the Level 4.2 MaxDpbMbs of 34,816 (but is less than the level 5.0 MaxDpbMbs of 110,400)

Re: Why is this file transcoded ?

PostPosted: Thu Aug 01, 2013 10:24 am
by Illico
DenyAll wrote:
Illico wrote:1920x1080x5/256=40500 ==> Level > 4.2 this is not a 4.1 level


Being pedantic but I also want to to double check my understanding (I make this a level 5.0) :

1920x1080x5/256=40500 ==> Level > 5.0 as the 40500 exceeds the Level 4.2 MaxDpbMbs of 34,816 (but is less than the level 5.0 MaxDpbMbs of 110,400)


Oups,
Yes Maxbdp for 4.2 is 34816, so 40500 exceeds the level then, you are right level should be 5.0...