pipelka / xbmc-addon-xvdr

DISCONTINUED - Standalone XVDR addon for XBMC
GNU General Public License v2.0
43 stars 16 forks source link

Android h264 fail no picture #138

Open cosmo6110 opened 10 years ago

cosmo6110 commented 10 years ago

Hi! Thank you for a great plugin!

I have compile the source from your latest branch and messing around to try it work with minix x8-h, amlogic Kodi (14.0-ALPHA4 Git:2014-10-02-d2a4ee9-dirty). Platform: Android ARM 32-bit.

It working great on the SD-channels (mpeg2), but the hardware decoding is not working with h264. If hardware decoding is off, it's working.

Hd channel h264 failure.

DEBUG: opening live stream for channel 'SVT1 HD VĦstmanland' http://pastebin.com/MgQTVXxT

Thank you for your great plugin.

cosmo6110 commented 9 years ago

Testfile h264 https://www.dropbox.com/s/y70lxwlrmvacv2r/00001.ts?dl=0

XVDR Plugin for the latest kodi release, It's the same problem for Gotham stable. https://www.dropbox.com/s/2jzqniv8bwwvbar/xbmc-addon-xvdr-Kodi.zip?dl=0

Gotham stable https://www.dropbox.com/s/uka6qcwym9x5mft/xbmc-addon-xvdr-Gotham.zip?dl=0

cosmo6110 commented 9 years ago

When I open the stream file in xbmc with interlaced flag (h264) the picture going black, and get CAMLCodec failure, maybe it,s xbmc or a camlcodec problem. It's working with mpeg2. From the vnsi plugin the xbmc videoplayer don't detect the interlaced flag (working).

itsdaveit commented 9 years ago

@pipelka Thanks for your great Plugin! @cosmo6110, thanks for providing the XVDR Plugin for Kodi on android. How did you built it?

I just recieved mir firetv today, so i gave it a try: I installed kodi: http://mirrors.xbmc.org/test-builds/android/arm/kodi-20141021-538d258-patch-1-armeabi-v7a.apk and the Plugin from your Dropbox link.

I got the following behavior: -SD playback work well -720p playback works well too: https://dl.dropboxusercontent.com/u/32492811/720.png -1080p playback with "high" bitrate works, but the Framerate drops in 30% of the Stream from 25-15 frames/s: https://dl.dropboxusercontent.com/u/32492811/high1080.png -1080p playback with "low" bitrate lags: Framerates drops under 10 Frames and Video gets out of sync from audio https://dl.dropboxusercontent.com/u/32492811/low1080.png

Af far as can see, these are both h.264 streams. The CPU usage is quite confusing in this screenshots.

Some stream details: https://dl.dropboxusercontent.com/u/32492811/bitrates1080.PNG https://dl.dropboxusercontent.com/u/32492811/codecs1080.PNG

The whole app is also not that stable, after switching through some channels it crashes, but in most cases you can watch a Channel after restarting Kodi.

cosmo6110 commented 9 years ago

I build it with the Android SDK latest and NDK Revision r9, and the latest source from xbmc-addon-xvdr and did the zip-file. It's seems like you don't have any hardware decoding on? very high CPU usage.

On my system it is pretty stable, Maybe the problem is with the XBMC beta version or hardware.

If you want to try XVDR Plugin for Gotham stable. https://www.dropbox.com/s/uka6qcwym9x5mft/xbmc-addon-xvdr-Gotham.zip?dl=0

The problem I got is the interlaced flag in h264. The amcodec cant handle that stream with interlaced flag. Wonder if it,s possible to turn the interlaced flag off for h264 in the source and play it as normal video stream? In the VNSI plugin it's turned off.

XVDR addons from vdr portal http://www.vdr-portal.de/board18-vdr-hardware/board98-arm-co/124501-xvdr-addon-android-xbmc-kodi-incl-unofficial-spinoff-spmc-tvmc/