Kodi Community Forum

Full Version: Frame drop with Hi10p anime
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I've some frame drop with this Hi-10p anime. I'm using latest Openelec.tv build (3b5) with XBMC 12 RC1 on au Xtreamer Ultra 1(Atom D525 1.8Ghz, ION 2, nvidia driver 304.64)

This is a sample of to reproduce the problem : sample

I've other sample with frame drop, but this one is pretty relevant Smile

Other videos works nice (1 or 2 dropped frame for a 25mn anime)
Don't post in development
Ok sorry Smile
Code:
Format profile                           : High [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 16 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2mn 5s
Width                                    : 1 280 pixels
Height                                   : 720 pixels

Short lol concerning your Atom System.
This one works perfectly and has the same properties (High profile 5.0 and Hi-10p too ...)

Code:
Video
ID                               : 2
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High [email protected]
Format settings, CABAC           : Yes
Format settings, ReFrames        : 16 frames
Muxing mode                      : Header stripping
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 22mn 40s
Nominal bit rate                 : 2 060 Kbps
Width                            : 1 280 pixels
Height                           : 720 pixels
Display aspect ratio             : 16:9
Frame rate                       : 23.976 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 10 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.093
Writing library                  : x264 core 120 r2146 bcd41db
Encoding settings                : cabac=1 / ref=16 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=10 / 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=60 / rc=2pass / mbtree=1 / bitrate=2060 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.20
Color primaries                  : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics         : BT.709-5, BT.1361
Matrix coefficients              : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Audio
ID                               : 3
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format profile                   : LC
Codec ID                         : A_AAC
Duration                         : 22mn 40s
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Compression mode                 : Lossy
Language                         : Japanese

Text
ID                               : 1
Format                           : ASS
Codec ID                         : S_TEXT/ASS
Codec ID/Info                    : Advanced Sub Station Alpha
Compression mode                 : Lossless
Title                            :
Language                         : French
The difference is here:
Code:
Overall bit rate                         : 3 130 Kbps

You have just hit the limit of your ION-2. I tried it on my E-350 AMD Fusion and it works, but it is at the limit.
This one is not a Hi-10p but it works ...

Code:
Complete name                    : /Volumes/LaCie/Work/Mardock Scramble.s01e02.mkv
Format                           : Matroska
File size                        : 9.52 GiB
Duration                         : 1h 4mn
Overall bit rate                 : 21.2 Mbps
Encoded date                     : UTC 2012-08-05 17:09:50
Writing application              : mkvmerge v5.2.1 ('A Far Off Place') built on Jan  9 2012 22:51:35
Writing library                  : libebml v1.2.2 + libmatroska v1.3.0
@deuch:
Yes - as it is done on the GPU :-)

You hi10p is done by the CPU only. Just one char difference, but that is the real problem.

Basically your ION-2 can decode full HD H264 Level41 or Level51 no matter with bitrates till 60Mb/s - it just does not hurt it. it uses vdpau to do this. But this hi10p stuff cannot be decoded on this gpu circuit, therefore the slow CPU must do it alone and here comes the problem. Depending on the Coding Parameters and the bitrate your ION-2 is too slow for hi10p.
Details of the 2 files :

Doesn't work :

Code:
Format                           : Matroska
File size                        : 334 MiB
Duration                         : 22mn 39s
Overall bit rate                 : 2 061 Kbps
Encoded date                     : UTC 2012-10-01 03:21:38

This one work with a bigger bit rate ...

Code:
Format                           : Matroska
File size                        : 362 MiB
Duration                         : 22mn 40s
Overall bit rate                 : 2 231 Kbps
Encoded date                     : UTC 2012-10-24 01:30:55


So my ION 2 can handle the file which doesn't work ... (2061 vs 2231 ..). I'm agree that all the HI-10p files will not work, but for those 2, i don't understand why it doesn't work for he lightest one Smile
@deuch:
I try to say it again.

there is the Overall Bitrate, which is an average, all bitrates summed up and divided by the length. There is a max bitrate and a min bitrate. Depending on which part of the video you are decoding it drops or it does not drop. Is not that hard, isn't it?

Concerning your original sample, it starts with 10Mb/s, continues with approx 5 to 7 and the last 30 seconds is between 0 and 1, so the end should play without drops.
Your 'ION 2' is not the problem here... the 'ION' is the graphics processor, which does not (and probably never will) support Hi10p. As of now no graphics manufacturer has stated any intent of supporting hardware acceleration for Hi10p.

Your issue here is the 'Atom' CPU, which needs to shoulder the burden of playing Hi10p since the GPU does not support it.

Of the MediaInfo you posted, you only posted the full information for the one that works. I am curious what format the audio is in on the one that does not work... is it different than the AAC audio that is on the functioning one?
ref frames count alot too when it is about turning down the cpu.