Android Bluray VC-1 decoding has frame drop
#1
Kodi 14.2 Helix, a tv box with amlogic s805+ android 4.4.2 with 1GB ram, branded MXQ.

It's pretty good(no problem) when I play "Blade Runner" final cut blu-ray(VC-1 AP@L3), but when I play "Inception"(same VC-1 AP@L3), it's pretty laggy...
what's wrong, guys?
Isn't VC-1 hardware decoded already by S805 and well support by Kodi?

Both films are wrapped in mkv... it's weird, anyone know the cause?
Reply
#2
More specifically, have anyone ever successfully play "Inception" bluray in a box with s805 built-in?
Reply
#3
I believe VC-1 is not supported on most Android devices. It's an extra license that a lot of companies just avoid.
Reply
#4
It's weird, because "blade runner" play so well in it, which is also a film encoded in VC-1.
Reply
#5
Just a guess, but unless you ripped/encoded them are you sure the less playable file is really encoded exactly the same way? It's not some minor difference that does not show up in description, or that the file was properly done -can you play it without fault on other hardware with KODI? If it's just one example, not representative of a larger group, then... What about Mbps/raw file size vs. play time? Does the laggy file have a higher bitrate? Maybe it's maxing out your hardware?

Two things that are equal are not always the same... This concept sometimes illustrates the difference between wisdom and intelligence rather handily some days. ;-) It helps to think of a unit of lead's mass vs. an equal unit of feather's mass... They are equal in your frame of reference(mass), but hardly the same despite what the scales indicate.
Reply
#6
@technisol: you are right, I may need more VC-1 encoded film to test.
I read the media info from MPC-HC which indicate both film are VC-1 Advanced Profile@LeVeL 3, so I guess their characteristics are pretty similar.
Both films tested are bluray remux, not encoded/transcoded by myself.

Bitrates of both are probably close, too. It's very difficult for me to believe that the cpu-power(S805) is capable of decoding "Blade Runner" but fail to handle "Inception"... and when I try Kodi 15.0 beta 2, it incorrectly recognize the system resolution to 1280x720(I learned it from the system info), and the video was rendering to portion which left-top align to my TV(pretty much the same size of 1280x720) even I set it to full screen, this is an off-topic issue in the beta, my main concern is VC-1 playback...
Reply
#7
From the AMlogic S805 Data Sheet

Quote:Video/Picture CODEC

 Amlogic Video Engine (AVE) with dedicated hardware decoders and encoders
 Hardware based trusted video path (TVP)
 Supports multiple “secured” video decoding sessions and simultaneous decoding and encoding
 Video/Picture Decoding
- H.265 HEVC [email protected] up to 1080P@60fps
- H.264 AVC [email protected] up to 1080P@60fps
- H.264 MVC up to 1080P@60fps
- MPEG-4 ASP@L5 up to 1080P@60fps (ISO-14496)
- WMV/VC-1 SP/MP/AP up to 1080P@60fps
- AVS JiZhun Profile up to 1080P@60fps
- MPEG-2 MP/HL up to 1080P@60fps (ISO-13818)
- MPEG-1 MP/HL up to 1080P@60fps (ISO-11172)
- RealVideo 8/9/10 up to 1080P
- WebM up to VGA
- Multiple language and multiple format sub-title video support
- MJPEG and JPEG unlimited pixel resolution decoding (ISO/IEC-10918)
- Supports JPEG thumbnail, scaling, rotation and transition effects
- Supports *.mkv,*.wmv,*.mpg, *.mpeg, *.dat, *.avi, *.mov, *.iso, *.mp4, *.rm and *.jpg file formats

Reply
#8
I dunno, did a little Googling(hold on while I pin on my Instant Dunce badge) and VC-1 AP L3 at up to 45Mbps maximum bitrate is maybe stretching things a teensie tiny little bit... poor Lloyd. Just how many Mbps are you pumping through there with these particular files,Tex? I realize one works, one doesn't as well, but there are other possible variations in VC-1 AP L3 that may or may not be used in both files, I guess. Maybe BladeRunner just works and Inception pushes it past a hard limit?

You aren't driving a Porsche (me neither: S802 @2GHz, granted, different cores), they may be more like fairly recent model Lincoln-Continentals, but they are not exactly the high end big guns, maybe mid end guns so far that speak Lloyd's language...

Maybe 'our' resident Odroid guy will have something to add? I've no idea how far he's explored with his S805 based board, but he seems pretty happy so far with only minor niggles. EDIT: He snuck in before I finished typing... ;-)

On that Isengard screen fit problem, maybe try going to android launcher and settings and changing HDMI from auto to manual and trying a couple settings? I seem to recall one posted that taking it off auto and putting it on 1080P@60 did the trick with a similar issue even though it said it had selected that on auto... Plenty of posts about that stuff around the last few pages of forum.
Reply
#9
(2015-07-06, 07:12)wrxtasy Wrote: From the AMlogic S805 Data Sheet

Quote:Video/Picture CODEC

 Amlogic Video Engine (AVE) with dedicated hardware decoders and encoders
 Hardware based trusted video path (TVP)
 Supports multiple “secured” video decoding sessions and simultaneous decoding and encoding
 Video/Picture Decoding
- H.265 HEVC [email protected] up to 1080P@60fps
- H.264 AVC [email protected] up to 1080P@60fps
- H.264 MVC up to 1080P@60fps
- MPEG-4 ASP@L5 up to 1080P@60fps (ISO-14496)
- WMV/VC-1 SP/MP/AP up to 1080P@60fps
- AVS JiZhun Profile up to 1080P@60fps
- MPEG-2 MP/HL up to 1080P@60fps (ISO-13818)
- MPEG-1 MP/HL up to 1080P@60fps (ISO-11172)
- RealVideo 8/9/10 up to 1080P
- WebM up to VGA
- Multiple language and multiple format sub-title video support
- MJPEG and JPEG unlimited pixel resolution decoding (ISO/IEC-10918)
- Supports JPEG thumbnail, scaling, rotation and transition effects
- Supports *.mkv,*.wmv,*.mpg, *.mpeg, *.dat, *.avi, *.mov, *.iso, *.mp4, *.rm and *.jpg file formats

Can you please test some high bitrate VC-1 films?
For example, "Inception"? Maybe I can cut and upload a sample for you. I guess even though this small chip is very powerful when decode H.264, IIRC, someone had ever review it with super high bitrate(over 100Mbps) H.264 clips, but it's not very good for VC-1, The avg bitrate of "Inception" is about 20% higher than "Blade Runner", but still lower than 30Mbps... a properly implement hardware decoder should handle it flawlessly.
Reply
#10
I don't know, but I suspect you're hitting a wall or a limit, maybe not the hardware decoder limit, but maybe pushing another part of the system like RAM, Buss speed, Processor clock (not sure if they have a DMA structure or processor contributes to shuttling data around or could get in the way of it while VPU/GPU is trying to go like a bat out of hell, etc). -just haven't gotten that in depth with hardware that seems to work fine for most files which are generally FAR lower bit rate and of more than acceptable quality in my eyes -granted I haven't seen 4K output from my box yet. I'm guessing you're maybe pushing the limits, or near the limits of a $50-75USD device... From my recent Googling, in tests written about by Microsoft, the guys who developed WMV9 / VC-1, indicated that head to head against H.264 they were ranked better only in noise and that they could more quickly decode VC-1, but that was a while ago and I'm guessing the H.264 hardware decoding has improved greatly and may be faster by far for the new AMLogic chipsets than whatever they were running it on back then. (2000-2005 ish, IIRC)

Anybody with hard numbers I'd love to hear them... Kind of fun to see just what it'll do, even if I think you're probably way in excess of what's required to make any further visual difference at 1920x1080P@60Hz... You may have gathered I am not a numbers just for the sake of numbers guy. If at a certain point increasing bitrate provides no necessary or discernable difference for normal viewing, no frame by frame, blah-blah-bah, that's about where I'd call it a day. Granted, I can see where it'd be nice to expect a simple Blu-ray rip to play without having to recode at a lower rate.
Reply
#11
VC-1 is in theory easier to decode/require less computation power compare to H.264(for example, VC-1 use a less efficiency, hence less complex entropy coder than CABAC), but in real world, the fastest multithread H.264 *software* decoder is faster than the fastest VC-1 *software* decoder already, years ago. and that's not the point here. These were statements made 10 years ago and only anyone who use a 10 years old CPU to *software* decode it should consider.

Back to my further investigation, this small S805 can eat probably any H.264 clips I throw at it, I tested a 40Mbps Samsung demo and a 60Mbps JellyFish demo, it play them without any problem, very smooth and fast. A hardware decoding unit which can handle 60Mbps H.264 would not have problem handling a less than 30Mbps VC-1, in theory.
Maybe the firmware should be blame for? Some inefficiency treatment when dealing with VC-1 might be the problem or there are design flaws in the VC-1 decoder unit...
Reply
#12
I'm afraid it's all conjecture without hard numbers...

I am not conversant with any claims made by those who designed or tested the hardware decoding for AMLogic re: VC-1, so I will not indulge in claims of "in theory". If we(EITHER OF US) had hard numbers from AMLogic then it becomes worth investigating, I suppose. In all fairness, AMLogic support is quite new in KODI, so maybe there are options to be explored in terms of how the hardware decoding is set up, perhaps various parameters that can be passed, etc. -Frankly, I have no idea. I'd say if you want to know more you need to investigate the docs for the SOC employed and see what the claims are... I just found out recently that while several AML SOCs offer H.265 hardware decoding support, only certain formats are covered, and with less capability than Main 10 and apparently that will be supported in the next version of the AML hardware decoder. Specifics are not always easy to find when people are just slapping whatever acronyms or labels on product to push it, and not necessarily detailing to what degree a "standard" is supported and this is still sort of cutting/bleeding edge stuff in terms of hardware decoding and support, IMHO. So far, I remain pretty impressed with what we're getting out of a $50-75 item running Android and all the great work behind KODI!
Reply
#13
I wouldn't say amlogic support is new in Kodi. It's been there for a while now.
Now, AFAIK, VC1 is a dying codec, so support for it is probably low considering the manufacturers still have to pay a license fee for it...
Reply
#14
Oh, my bad, I was under the impression AMLogic hardware decoding support just came about a couple of versions back as there were test builds like Stane's 13.2 and your own work in a few threads I ran into a few months back, come to think they may have been experimental to support 4K...
Reply
#15
(2015-07-08, 07:53)Koying Wrote: I wouldn't say amlogic support is new in Kodi. It's been there for a while now.
Now, AFAIK, VC1 is a dying codec, so support for it is probably low considering the manufacturers still have to pay a license fee for it...

I agree, partially, hence no one use VC-1 at home.
But there're many bluray discs still using it... Isn't watching the blurays a requirement?

I'll go to check the firmware version later, to see whether there's a newer version available.
though there's so little hope...
Reply

Logout Mark Read Team Forum Stats Members Help
Bluray VC-1 decoding has frame drop0