![]() |
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 - bac522 - 2014-02-14 Using the latest nightly build (as of this post xbmc-20140212-a74973f-master-armeabi-v7a.apk) when trying to play mpeg2 files recorded via Mythtv, XBMC crashes on my Minix G4 using mediacodec; it plays very slowly using libstagefright. Playing the same file on my Nexus 7 works fine using mediacodec. XBMC Log http://xbmclogs.com/show.php?id=130695 And a copy of my logcat http://xbmclogs.com/show.php?id=130699 The file I was attempting to play was "pvr://recordings/Default/25_1 (WFXT DT)/" Running mediainfo on the file shows: Code: General RE: Support Thread for MediaCodec - pfennig - 2014-02-21 Device: Nook Color OMAP 3621 (aka ARMv7 rev 2 v7l, aka Cortex A8) CPU PowerVR SGX 530 GPU Software: CyanogenMod 10.2.1-encore Android 4.3.1 Kernel 3.0.8-g080f0e5 XBMC: Gotham nightly 13.0-ALPHA12 20140218-f6f539a Skin: Touched MediaCodec enabled, Libstagefright enabled (thus uses MediaCodec) All other settings default after a fresh installation. Log: http://xbmclogs.com/show.php?id=135210 Steps: Start XBMC Select Videos>Files>sdcard1>Downloads Play "Fun.- We Are Young.mp4" Problem: Spinner appears, never stops spinning, video never starts If I disable both libstagefright and mediacodec, I can actually start playing any of my media files (though on anything greater than SD it grinds to a halt shortly). I can't see obvious errors in the log, but you can see the timestamp jump at the end -- it never really 'starts'. I'd love a "this will start working soon" answer, but will settle for a "this will never work because XYZ" (e.g. OMAP3 never going to be supported, or ![]() RE: Support Thread for MediaCodec - gotpaste - 2014-02-28 Is there a way to default certain codecs to mediacodec and others to libstagefright. I have to constantly turn off and back on mediacodec on my RK3188 device. I used to run the 9/29 version of Gotham and never had any issues but anything after this I have to turn off and on mediacodec depending on the show I am watching. It would be great if I could update a file so when a particular codec is needed it defaults to the correct setting. RE: Support Thread for MediaCodec - freaksworth - 2014-03-22 Device: Dell Wyse Cloud Connect http://www.dell.com/us/business/p/cloud-connect/pd Multi-core Cortex-A9 ARM System-on-Chip (SoC) Software: Android 4.1.2 kernel 3.0.31 XBMC: XBMC (13.0-BETA2 Git:20140315-a1cab7a) MediaCodec enabled, Libstagefright disabled All other settings default after a fresh installation. Log: http://xbmclogs.com/show.php?id=155263 Steps: Start XBMC Select Videos>Files>sdcard1>Movies Play h264 and mpeg in .ts Problem: - high cpu load, framedrops RE: Support Thread for MediaCodec - onomatopellan - 2014-04-12 Since this PR https://github.com/xbmc/xbmc/pull/4524 was merged I can't watch properly any video using Mediacodec. It looks like this: ![]() Log: http://xbmclogs.com/show.php?id=172251 Re: RE: Support Thread for MediaCodec - Koying - 2014-04-12 (2014-04-12, 14:49)onomatopellan Wrote: Since this PR https://github.com/xbmc/xbmc/pull/4524 was merged I can't watch properly any video using Mediacodec. It looks like this:Yeah, bogus commit. It will be reverted soon. RE: Support Thread for MediaCodec - Koying - 2014-04-16 Dears, We have found a rarely occurring bug in MediaCodec and would like to be sure the fix doesn't break anything. Could you test this Gotham master build, please: http://mirrors.xbmc.org/test-builds/android/arm/xbmc-20140416-3224eca-fixamcreleasebuffer-armeabi-v7a.apk Thanks RE: Support Thread for MediaCodec - Kib - 2014-04-16 @Koying I did some testing with my Nexus 5 running Android 4.4.2 but it seems mediacodec is completely broken with both builds. https://docs.google.com/spreadsheets/d/1kXGDCLxj4DrdvbIUs2-0bOCg2zKWl_GgQ5EWt9v2mrE/edit?usp=sharing If you want a specific log etc I'll be glad to assist. RE: Support Thread for MediaCodec - althekiller - 2014-04-16 Seems OK with Dalvik. ART is not a problem for Gotham. Tested my dir of samples with B3 and the PR build, no noticeable difference AFAICT. RE: Support Thread for MediaCodec - natethomas - 2014-04-17 That may have done it for me, koying. Otoh, I wasn't able to install the apk at all until I had uninstalled the old apk, so for me it may have just been a crap install or something. Re: Support Thread for MediaCodec - Koying - 2014-04-17 @Kib Could you take a logcat while MediaCodec is cashing? Are you using the stock FW? @Al Do you mean you tested Gotham with ART and you had no issues? RE: Support Thread for MediaCodec - Kib - 2014-04-17 @Koying Yes I should be able to do that. Edit: when I am back home in about 10 hours from now. As far as I understand from team chatlog from yesterday, althekiller tested with dalvik which was working then switched to ART and confirmed breakage Note: When installing the pr build on top of nightly android will ask if you want to update, then error out with 'app does not exist'. I believe this is what Nate saw as well. Probably something to do with version numbering - I dismissed it as being not important Re: Support Thread for MediaCodec - Koying - 2014-04-17 Hehe... So you mean exactly the contrary of what he wrote ;-) No having any ART device myself (are there other than N5 currently, officially?) , it will be quite difficult for me to fix, but having a logcat might give us an idea. [edit] Oh, maybe he meant that ART having a problem is not a problem for Gotham. RE: Support Thread for MediaCodec - Kib - 2014-04-17 Every 4.4+ device supports ART. Hardware accelerated playback in MXplayer works for all my testfiles (dts audio needs to be done with optional external mplayer dll, in software) under ART. I think althekiller meant that ART being broken does not need to be fixed for Gotham. Edit: indeed ![]() Edit2: I am new to testing android, but fully willing to invest some time. Adb logcat seems easy enough, probably could do debug traces as well. Re: Support Thread for MediaCodec - Koying - 2014-04-17 Yep. And indeed KK boxes are coming (Minix X8 that I know of)... |