![]() |
Interlaced H.264 decoding issue with MediaCodec on Android - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Video Support (https://forum.kodi.tv/forumdisplay.php?fid=264) +--- Thread: Interlaced H.264 decoding issue with MediaCodec on Android (/showthread.php?tid=283249) |
Interlaced H.264 decoding issue with MediaCodec on Android - kentauta - 2016-07-20 Hi all, I have tried playing a couple of 1080i H.264 sources on 3 different Android devices. All three devices render videos in significantly reduced resolution when MediaCodec is selected for hardware decoding. Dragonboard 410c seems to do better than others, but still degradation is clearly visible. This doesn't happen with 1080p sources by the way. Also, amcodec can render the 1080i videos properly. PCs also play them fine. So I believe the video sources are fine. Is this a known thing with MediaCodec? Any work around? KODI version: 16.1 Jarvis on all 3 devices Devices: 1. Dragonboard 410c (Qualcomm Snapdragon 410c) Android 5.1.1 2. Tronsmart Vega S95 Pro (Amlogic S905) Android 5.1.1 3. Geekbox (Rockchip RK3368) Android 6.0.1 Video source 1 (static video): https://drive.google.com/open?id=0B0Afdpi59RIOV0luUXNQRGlKM1k Video source 2: http://www.avsforum.com/forum/26-home-theater-computers/1157287-hd-1080i-test-pattern-determine-vector-adaptive-deinterlacing-others-icl-ticker-2.html#post16900173 Crop from good output on PC: https://drive.google.com/open?id=0B0Afdpi59RIOWGoxNFNPdEk0c3M Crop from bad output using MediaCodec on S95 Pro: https://drive.google.com/open?id=0B0Afdpi59RIOdnRYZlN5R0lQb0U Thanks. RE: Interlaced H.264 decoding issue with MediaCodec on Android - MrMC - 2016-07-20 MediaCodec and h264 interlaced is hit or miss depending on vender implementation. Seems Google forgot about interlaced h264 when they designed the MediaCodec API. RE: Interlaced H.264 decoding issue with MediaCodec on Android - kentauta - 2016-07-21 Thanks. That's a bummer. If I remember correctly, MediaCodec has been there since since Jelly Bean which came out almost 4 years ago.. RE: Interlaced H.264 decoding issue with MediaCodec on Android - MrMC - 2016-07-21 Yep and and it is designed to handle progressive content only. just look at the stated formats that is handles. |