HermanChen / mpp

Rockchip MPP(Media Process Platfrom)
164 stars 73 forks source link

Latest mpp can't play .TS files on Android with SPMC Kodi #3

Closed mo123 closed 6 years ago

mo123 commented 6 years ago

Using latest compiled mpp of 19 Dec on RK3328 Android:

When I try to play a H265 1280x720p video inside a .TS container file then SPMC 17.6a2 just shows a black screen. Looking at the logs, it seems it fails to play with MediaCodec. http://download.semperpax.com/spmc/android-aarch64/SPMC-spmc-krypton-4993870-aarch64.apk

Playing the same file on Kodi 18 nightly has no problems and plays fine with MediaCodec acceleration.

Is there something that can be changed/fixed in mpp or maybe SPMC's side perhaps? Kodi 18 has lots of bugs like mouse support not working correct in 4K and also displaying GUI in 4K instead of 1080p(since frame buffer only support 1080p) resulting in menus looking corrupt while 4K video is playing. SPMC doesn't have any of these bugs that is why I try with it instead.

When I play a mpeg2 inside a .TS file, it plays fine in SPMC.

Kodi 18 log(working) https://pastebin.com/PRpuYcyB SPMC 17.6a2 log(not working) http://pasted.co/ae8fe0c5

Sample video - http://www.elecard.com/assets/files/other/clips/bbb_720p_c.ts

Lots of .TS videos that are not mpeg2, are hevc or h264 in .TS files also don't play on Android with SPMC Kodi using latest compiled mpp files but work fine in Kodi 18.

When I use the following mpp then .TS files can all play in SPMC but have no support for deinterlacing. Is source code available for this mpp, I just want to fix deinterlacing support in it, then it can perhaps still work with .TS files with SPMC? Thu Oct 26 09:52:40 2017 +0800 e1cfd07 author: Xuhanrui libmpp.so 2.6MB (double file size)

Thanks

mo123 commented 6 years ago

Fixed now.