![]() |
Support Thread for MediaCodec - Printable Version Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Android (https://forum.kodi.tv/forumdisplay.php?fid=164) ---- Thread: Support Thread for MediaCodec (/showthread.php?tid=175626) |
RE: Support Thread for MediaCodec - Watts - 2013-11-21 Hi there XBMCians (xD) ![]() I own a MINIX neo X5 mini (rk3066) device, and have come to find out that the device will not stream web HD content properly (using XBMC of course). When the min. clock. freq of the device is left at stock settings, it starts to stutter and skip from the get go..... Yet when i up the min. clock. freq, of the CPU to 1.008 GHz (Using No Frills CPU control), i can play HD streams without any problems whatsoever. Local files play without any major problems, without the need to overclock anything....... I am currently using Koying´s latest build on my device, which is the best build on the web right now! It might not be tailored for my device, but it runs good with full 3rd party add-on support when i slightly overclock the device (the min. clock. freq). The latest nightlies with MediaCodec enabled run fantastic, without the need to overclock the device at all..... But we all know that Goth is still buggy and gives a lot of errors. Would it be possible to compile XBMC frodo with MediaCodec enabled? If so how would one go about getting it done? I am not a developer or coder so, it might be too difficult for me to achieve, but it would be a great version of XBMC for rockchip users. To bridge the gap between the current version and Gotham, and still maintain 3rd party add-on support..... Also pm´d Koying for suggestions on this issue...... ![]() Thanks in advance! RE: Support Thread for MediaCodec - Martijn - 2013-11-21 First: never PM devs to start with unless they ask you to. Second: you can forget getting media codec on Frodo. RE: Support Thread for MediaCodec - Koying - 2013-11-21 As Martijn says... RE: Support Thread for MediaCodec - Watts - 2013-11-21 (2013-11-21, 17:37)Martijn Wrote: First: never PM devs to start with unless they ask you to. First: Must have missed that rule. ( DId read through the rules etc). Second: Could you elaborate (if you want to of course). And i will add a third: Keep up the great job! (2013-11-21, 17:47)Koying Wrote: As Martijn says... Indeed. Indeed. ![]() RE: Support Thread for MediaCodec - oldpoem - 2013-11-21 Django, Koying already said that he tried backport MediaCodec to frodo but it was too many changes on XBMC since frodo to when MediaCodec has been intregated. It was too hard and not worth it. You better wait for Gotham to be stabilize. Use SPMC with Libstagefright fixed for now. If your overclock solution works just use that for now. Most add-ons still works if you manually copy over to Gotham userdata folder even it was marked incompatible now. We all suggest you should bug those add-on dev to update their add-ons to work with Gotham because it's the way to go. RE: Support Thread for MediaCodec - Watts - 2013-11-21 (2013-11-21, 18:50)oldpoem Wrote: Django, Koying already said that he tried backport MediaCodec to frodo but it was too many changes on XBMC since frodo to when MediaCodec has been intregated. It was too hard and not worth it. You better wait for Gotham to be stabilize. Use SPMC with Libstagefright fixed for now. If your overclock solution works just use that for now. Must have missed that part about backporting, my sincere apologies for that one... Thanks brother you actually took the time to answer with patience, more people could and should take your example.... ![]() RE: Support Thread for MediaCodec - oldpoem - 2013-11-21 (2013-11-21, 19:35)Watts Wrote: Must have missed that part about backporting, my sincere apologies for that one... I knew because I was the one who ask this same question fortnight ago in OUYAForum RE: Support Thread for MediaCodec - curlyboi - 2013-11-22 So is there any way to disable the MediaCodec via, let's say, advancedsettings.xml? RE: Support Thread for MediaCodec - Martijn - 2013-11-22 why should you disable? RE: Support Thread for MediaCodec - arghness - 2013-11-22 (2013-11-18, 01:02)arghness Wrote: With MediaCodec enabled on a Galaxy S3 (i9300 with Samsung stock Android 4.1.2), I get a green bar at the bottom of the screen and "shadows" of the image in other places on the screen with a few videos. It doesn't crash though. I forgot to attach a log of trying to play the above linked video. Here's one: http://xbmclogs.com/show.php?id=88204 RE: Support Thread for MediaCodec - davilla - 2013-11-23 (2013-11-22, 19:37)curlyboi Wrote: So is there any way to disable the MediaCodec via, let's say, advancedsettings.xml? use the GUI setting. RE: Support Thread for MediaCodec - Koying - 2013-11-23 (2013-11-22, 20:38)arghness Wrote: I forgot to attach a log of trying to play the above linked video. Here's one: http://xbmclogs.com/show.php?id=88204Apparently, the "real" height is not returned by MediaCodec: Code: 18:25:32 T:1643431048 INFO: ffmpeg[61F4C488]: Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 352x198 [SAR 1:1 DAR 16:9], 67 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc RE: Support Thread for MediaCodec - sheppz - 2013-11-23 Hi can you help ive just downloaded xbmc on my s3 then also download navi x but comes up carnt load any ideas RE: Support Thread for MediaCodec - davilla - 2013-11-23 (2013-11-23, 10:41)Koying Wrote:(2013-11-22, 20:38)arghness Wrote: I forgot to attach a log of trying to play the above linked video. Here's one: http://xbmclogs.com/show.php?id=88204Apparently, the "real" height is not returned by MediaCodec: The display of the video should be cropped to crop values, (crop_bottom + 1 - crop_top) and you should not even see the excess area at the bottom. dheight is 198 so that says we did indeed tell the render to set a crop. I'd have to check other videos that present a different crop area. Could be we are missing something in renderer as handling NV12 is new for GLES RE: Support Thread for MediaCodec - curlyboi - 2013-11-23 (2013-11-22, 19:38)Martijn Wrote: why should you disable? as mentioned before, it doesn't work properly on rockchip (rk3188), video stutters after few (good) seconds of playback. both hd and sd (although more with hd) |