Kodi Community Forum

Full Version: NBA International League Pass - Add-on
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What the addon does is just passing the video url to xbmc, it has nothing to do with buffering or caching - that is the job of xbmc.
I know it's easier to blame the addon or xbmc, but the problem might be 1) your connection 2) the nba servers

(this discussion reminds me of people that argues about speed when downloading from emule or torrent - "sometimes the speed is low!" or "if i reboot once every three times the speed is low!" well, people or servers don't upload at full speed to you only)

Jokes aside, I have some buffering issues even with the "nba game time" ipad app - the nba servers could simply be overloaded.

Smile
I see,
Well the problem is certainly not my download speed. I average about 12 - 14 MB/s (around 100Mbit). So thats more than adequate to stream video.
I also wouldn't say that it is the NBA servers as I can stream them perfectly through a browser (which is what I am currently using given this problem)

However as the problem is the same with the NFL add-on aswell as this I am tempted to say the problem is xbmc and the way it is streaming the video through the link the add-on supplies.
I will do a little homework regarding this, can you think of anything specific I could check as far as xbmc setup goes?
the download speed of my media center can't be the problem. speedtest runs about 250 / 20 , and 500 / 20 on my main machine. also leaugue pass runs normal in my browser, but not in xbmc.

the nfl add-on works fine for me
(2014-01-31, 15:16)Kingsy Wrote: [ -> ]Can I just clarify.. I have tried the latest version of this plugin (0.6.5) on both a nightly build of xbmc and frodo, both have buffering problems. On both installs the video stops every 30 seconds or so buffers and plays for another 30 seconds (about).
Is there a recognised fix for this? I assume its not happening for everyone?

I've mentioned it in this thread before. XBMC doesn't buffer m3u8 streams due to some bug in ffmpeg / libavcodec. Until this is fixed we will have the problems streaming m3u8. A faster machine might make you feel that problem less.
Ahhh I see..
Is this one of the things that will be fixed in Gotham do you know?
Hi All,

I cannot get the latest plugin to work. XBMC crashes with the following error. Please help me out Smile thanks Smile

07:00:36 T:3006613312 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
07:00:36 T:2658126656 NOTICE: Thread DVDPlayer start, auto delete: false
07:00:36 T:2658126656 NOTICE: Creating InputStream
07:00:36 T:2904542016 NOTICE: Thread FileCache start, auto delete: false
07:00:36 T:2658126656 NOTICE: Creating Demuxer
07:00:37 T:2658126656 NOTICE: Opening video stream: 0 source: 256
07:00:37 T:2658126656 NOTICE: Creating video codec with codec id: 28
07:00:37 T:2658126656 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
07:00:37 T:2658126656 NOTICE: Creating video thread
07:00:37 T:2904542016 NOTICE: Thread DVDPlayerVideo start, auto delete: false
07:00:37 T:2658126656 NOTICE: Opening audio stream: 1 source: 256
07:00:37 T:2658126656 NOTICE: Finding audio codec for: 86018
07:00:37 T:2658126656 NOTICE: Creating audio thread
07:00:37 T:2904542016 NOTICE: running thread: video_thread
07:00:37 T:2641341248 NOTICE: Thread DVDPlayerAudio start, auto delete: false
07:00:37 T:2641341248 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
07:00:37 T:2641341248 NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 44100, no pass-through)
07:00:37 T:2904542016 NOTICE: fps: 29.970030, pwidth: 1280, pheight: 720, dwidth: 1280, dheight: 720
07:00:37 T:2904542016 NOTICE: Display resolution DESKTOP : [email protected] 60.00 - Full Screen (16)
07:00:37 T:3006613312 NOTICE: Using GL_TEXTURE_2D
07:00:37 T:3006613312 NOTICE: GL: Using VAAPI render method
07:00:37 T:3006613312 NOTICE: GL: NPOT texture support detected
07:00:37 T:3006613312 NOTICE: GL: Using GL_ARB_pixel_buffer_object
07:00:37 T:3006613312 ERROR: CLinuxRendererGL::UploadVAAPITexture - failed to copy surface to glx 2 - resource allocation failed

http://pastebin.com/CyeeGn92
(2014-02-06, 04:01)amun5 Wrote: [ -> ]Hi All,

I cannot get the latest plugin to work. XBMC crashes with the following error. Please help me out Smile thanks Smile

Try to deactivate the VAAPI acceleration in system / video playback settings.


(2014-02-05, 15:15)Kingsy Wrote: [ -> ]Ahhh I see..
Is this one of the things that will be fixed in Gotham do you know?

No, I don't know. But I think it's possible to patch the available versions, Have a look into this thread and if you're going to do that, let us know if you were successful http://forum.xbmc.org/showthread.php?tid=156303&page=12
There are ready builds as well but they're probably outdated.
Thank you. Working a treat now Smile

This what I did for those who want to know.

1. Edit .xbmc/userdata/guisettings.xml
2. set <usevaapi>false</usevaapi>
3. restart xbmc
About the stalling issue: There were some related bugs in older ffmpeg versions with which Frodo comes. As donnied wrote before, xbmc does not buffer HLS and from my understanding ffmpeg doesn't buffer more than a segment (10 seconds). See here: http://forum.xbmc.org/showthread.php?tid...pid1333429

In Gotham, ffmpeg is upgraded so the bugs should be reduced (warning: haven't checked the code to verify). Also, in some builds (default Debian build for example), xbmc uses the system ffmpeg which is very likely to have a newer version of ffmpeg. The builds from the xbmc repos come with their own ffmpeg (buggy in Frodo) and so do the Windows builds from what I can tell. This perhaps explains why many had no stalling. And probably explains why live games worked for me in Frodo although they shouldn't :-)

Note that if your internet connection has issues (ex. router drops packets, or rate limitations) you will still have stalling. Torrents use many downloads in parallel and speedtest apps use highly tuned local servers. Both are much better in utilizing the available line bandwidth. Getting high speeds using a different method does not mean you can get it by playing videos from possibly overloaded servers with high latency.


Update (8Feb2014): I tested today with Frodo 2.3 from the official stable repo, and got constant stalling. It buffered only 10 seconds (one hls chunk), then played until the buffer ran out. It could not be missed. You can use the codecinfo overlay to verify. The official Debian binary (Frodo 2.1 + system ffmpeg) did not show stalling at all at the same time for the same video. When I upgraded the Ubuntu box to Gotham (from the unstable official repo), the stalling stopped. So there is a regression in 2.3 or a ffmpeg bug.

As a generic suggestion, try upgrading to Gotham :-) If you still have stalling and only in xbmc, please post it in a different thread where xbmc devs will notice.
Thanks for the advice ptsampoukas.
However I can say that I did try the last monthly build of Gotham, clean with no other addons apart from the NBA Game Time one, and experienced stalling every 30 seconds or so, so this might be related to the same issue?
I did not try a nightly build however, but I cant see why this would make any difference.

Did you have any luck using a monthly build of Gotham, on a clean user profile with only the NBA Game Time addon installed? If not can you tell me which specific setup has worked for you?
(2014-02-10, 14:04)Kingsy Wrote: [ -> ]Did you have any luck using a monthly build of Gotham, on a clean user profile with only the NBA Game Time addon installed? If not can you tell me which specific setup has worked for you?

The latest (as of Friday) of the official unstable repo worked better for me than the official Frodo release. The other plugins shouldn't make any difference. The system was also idle. The codecinfo overlay also gives you a cpu usage reading.

If you have no luck with this, my advice is to look for network errors that cause packet loss. For example try to stop all other downloads that use the internet line (ex. torrents), get closer to your access point if you use WiFi, or test with the same video different hours (ex. night in the US). If nothing works you should raise this to another xbmc generic thread.
Does this work with the us version of league pass broadband?
No.
Hi! Had stalling / buffering problems too, but 2 days ago I installed Frodo 12.3, today watchin Warriors vs Heat with no stalling, buffering or other problems!
(2014-02-04, 16:34)maxgalbu Wrote: [ -> ]What the addon does is just passing the video url to xbmc, it has nothing to do with buffering or caching - that is the job of xbmc.
I know it's easier to blame the addon or xbmc, but the problem might be 1) your connection 2) the nba servers

(this discussion reminds me of people that argues about speed when downloading from emule or torrent - "sometimes the speed is low!" or "if i reboot once every three times the speed is low!" well, people or servers don't upload at full speed to you only)

Jokes aside, I have some buffering issues even with the "nba game time" ipad app - the nba servers could simply be overloaded.

Smile

Well depends on what link(s) you actually pass .... check your pm Smile