WeTek Core (24p HD Netflix / HD Audio / Lollipop / OpenELEC / 4K / HEVC)
As the original author of DVDVideoCodecAmlogic, I'll be the 1st to say it is in dire need of refactoring/cleaning. It was on the list but I never had the time to get to it.

DVDVideoCodecAmlogic has two parts, a wrapper/helper for a codec and the AMCodec core. Originally AMCodec was based on internal AMLogic codec code and has become quite squirrelly (technical term). The render method (by-pass) was the best I could get approved by the owner of that area of code (elupus) and the render callbacks were the only way to get the updates when needed. It was only when renderer code was changed to include timestamps that problems really started to show up. Prior to that it was quite good.

Maybe there is something better, maybe not, but to call it wrong is silly. It's just a different way and has worked for years despite the constraints the code was forced to live with.

One area that really needs serious thought is the system amcodec can and will try to suck down large amounts of demux. We are not taking about a few frames here, 10s of seconds of frames. Too little and the system by-pass renderer will stop and wait, too much and the internal kodi player will thrash. It's very tricky to get the right amount of balance as the system codec is like a run-away train, all you can do is try and make sure it stays on the tracks. I mentioned this very thing once and was told it's wrong too Smile Well, right or wrong, that is the way the system codec works and unless you are willing to dive into some massive kernel driver code, that is the way it will always work. AMLogic has no interesting in changing its behavior as a pure streaming codec. At least now you can get the amount of time buffered but that only works with h264 (maybe h265). So far, I have seen very little interest in the change I did to move from size to time in controlling buffer behavior and it greatly improved potential player thrashing at Pivos.

As for DVDs, they are MPEG2 and there is zero reason now to be diddling with hardware decode for them. Most if not all Android based (and rpi2) boxes are quad-core and have more than enough ponies to handle the decode and deinterlace with room to spare.
MrMC Forums : http://forum.mrmc.tv
Reply


Messages In This Thread
RE: WeTek Core 4K - by wesk05 - 2015-09-15, 08:36
RE: WeTek Core 4K - by Skank - 2015-09-15, 09:59
RE: WeTek Core 4K - by droidelec - 2015-09-18, 18:11
RE: WeTek Core 4K - by movie78 - 2015-09-18, 18:18
RE: WeTek Core 4K - by wesk05 - 2015-09-18, 19:02
RE: WeTek Core 4K - by looun - 2015-09-18, 22:58
RE: WeTek Core 4K - by wesk05 - 2015-09-18, 23:39
RE: WeTek Core 4K - by BORIStheBLADE - 2015-09-19, 00:56
RE: WeTek Core 4K - by SilverBlade - 2015-09-19, 02:43
RE: WeTek Core 4K - by noggin - 2015-09-19, 11:13
RE: WeTek Core 4K - by wesk05 - 2015-09-19, 20:13
RE: WeTek Core 4K - by movie78 - 2015-09-19, 23:21
RE: WeTek Core 4K - by wrxtasy - 2015-10-05, 06:48
RE: WeTek Core 4K - by tomvs123 - 2015-10-09, 23:15
RE: WeTek Core 4K - by wrxtasy - 2015-10-10, 02:55
RE: WeTek Core 4K - by tomvs123 - 2015-10-10, 04:19
RE: WeTek Core 4K - by noggin - 2015-10-10, 10:15
RE: WeTek Core 4K - by wrxtasy - 2015-10-13, 11:27
RE: WeTek Core 4K - by couto27 - 2015-10-13, 12:40
RE: WeTek Core 4K - by wrxtasy - 2015-10-13, 14:33
WeTek Core 4K - by tredman - 2015-10-13, 13:57
RE: WeTek Core 4K - by hdmkv - 2015-10-13, 14:02
RE: WeTek Core 4K - by tomvs123 - 2015-10-13, 14:04
RE: WeTek Core 4K - by wrxtasy - 2015-10-13, 15:20
RE: WeTek Core 4K - by hdmkv - 2015-10-13, 15:54
RE: WeTek Core 4K - by wrxtasy - 2015-10-13, 17:00
RE: WeTek Core 4K - by gredawarha - 2015-10-13, 15:06
RE: WeTek Core 4K - by wrxtasy - 2015-10-13, 15:57
RE: WeTek Core 4K - by vineet381 - 2015-10-13, 15:23
RE: WeTek Core 4K - by tredman - 2015-10-13, 15:27
RE: WeTek Core 4K - by gredawarha - 2015-10-13, 15:29
RE: WeTek Core 4K - by vineet381 - 2015-10-13, 15:44
RE: WeTek Core 4K - by gredawarha - 2015-10-13, 16:53
RE: WeTek Core 4K - by Atinkler - 2015-10-13, 17:04
RE: WeTek Core 4K - by wrxtasy - 2015-10-13, 17:38
RE: WeTek Core 4K - by hdmkv - 2015-10-13, 17:06
RE: WeTek Core 4K - by zag - 2015-10-13, 17:06
RE: WeTek Core 4K - by hdmkv - 2015-10-13, 17:10
RE: WeTek Core 4K - by Atinkler - 2015-10-13, 17:43
RE: WeTek Core 4K - by wrxtasy - 2015-10-13, 17:56
RE: WeTek Core 4K - by Atinkler - 2015-10-13, 18:06
RE: WeTek Core 4K - by hdmkv - 2015-10-13, 17:44
RE: WeTek Core 4K - by droidelec - 2015-10-13, 17:50
RE: WeTek Core 4K - by wrxtasy - 2015-10-15, 05:56
RE: WeTek Core 4K - by mwake - 2015-11-25, 14:56
RE: WeTek Core (24p HD Netflix / Android Lollipop / OpenELEC / 4K HEVC) - by MrMC - 2016-01-09, 19:37
Logout Mark Read Team Forum Stats Members Help
WeTek Core (24p HD Netflix / HD Audio / Lollipop / OpenELEC / 4K / HEVC)4