[AFTV] NO HW decoding for 1080i .ts files => jerky video playback
#1
Hi,

I am using Kodi 14.0 @AFTV and get jurky video/audio ca. 15FPS. I only see this problems when I start playback of my HDTV 1080i recodrings (.ts).
If I use SPMC 13.4 everything is fine. Comparing the logs I see following error messages.
Kodi 14.0 http://xbmclogs.com/show.php?id=391284
SPMC 13.4 http://xbmclogs.com/show.php?id=391277

Code:
16:22:32 T:1646892008   DEBUG: FactoryCodec - Video: mediacodec - Opening
16:22:32 T:1646892008   ERROR: CDVDVideoCodecAndroidMediaCodec::Open - null size, cannot handle
16:22:32 T:1646892008   DEBUG: FactoryCodec - Video: mediacodec - Failed
16:22:32 T:1646892008   DEBUG: FactoryCodec - Video: stf-xxxx - Opening
16:22:32 T:1646892008   DEBUG: CDVDVideoCodecStageFright::virtual bool CDVDVideoCodecStageFright::Open(CDVDStreamInfo&, CDVDCodecOptions&) - trying to open, codec(28), profile(100), level(40)
16:22:32 T:1646892008  NOTICE: CDVDVideoCodecStageFright::virtual bool CDVDVideoCodecStageFright::Open(CDVDStreamInfo&, CDVDCodecOptions&) - avcC data too small or missing
16:22:32 T:1646892008   DEBUG: FactoryCodec - Video: stf-h264 - Failed
After the HW accelerated stf-h264 Codec failed the ffmpeg codec is used
Code:
16:22:32 T:1646892008   DEBUG: FactoryCodec - Video: ff-h264 - Opened
It seems that the CPU is not powerful enough to decode 1080i in SW. I think that`s the reason for the jerky video/audio playback. For 720p content ff-h264 is used as well. But it seems that the CPU is powerful enough because the playback is smooth 50FPS.
But the main question is why HW decoding is failing for .ts content with Kodi 14.0 and why it`s working with SPMC 13.4?

BR
Rudi
Reply
#2
Try following my suggestion in the below post. It worked for myself and a different user who had the same issue.

http://forum.kodi.tv/showthread.php?tid=...pid1836594

And to answer your question about why does it work in SPMC and not Kodi: SPMC contains a lot of fixes and tweaks that don't make it into the main Kodi release. It's a very good version if you're using XBMC on an Android device(such as the AFTV).
Reply

Logout Mark Read Team Forum Stats Members Help
[AFTV] NO HW decoding for 1080i .ts files => jerky video playback0