• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 100
[Discontinued] NHL Gamecenter Addon
#61
Well, I think the actual ts files in the playlist are ultimately played by ffmpeg.
Reply
#62
If you download the playlist first and play it from the harddrive it works as before for about 20 seconds. But it stops loading after the second ts file.

Maybe we have better luck if we use an external player (e.g. VLC, it is available on every platform (except iOS) and seems to play the streams fine) for the live streams. It's worth a try.
Reply
#63
I've built ffmpeg from xbmc/lib/ffmpeg

Code:
apokalypse@destruction:~/xbmc/lib/ffmpeg$ ./ffmpeg
FFmpeg version git-Eden_beta2-339-g4246dff, Copyright (c) 2000-2011 the FFmpeg developers
  built on Feb 28 2012 12:59:38 with gcc 4.4.3
  configuration:
  libavutil    50. 36. 0 / 50. 36. 0
  libavcore     0. 16. 1 /  0. 16. 1
  libavcodec   52.108. 0 / 52.108. 0
  libavformat  52. 94. 0 / 52. 94. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 74. 0 /  1. 74. 0
  libswscale    0. 12. 0 /  0. 12. 0
Hyper fast Audio and Video encoder

I'll try using ffplay tonight on a stream URL to see if it loads the latest ts properly and keeps up. This worked last night from my Windows machine using a build from http://ffmpeg.zeranoe.com/builds/. If that works, then I'd imagine it's just a case of having xbmc properly hand off http://...m3u8 URL properly.
Reply
#64
I'll save you the trouble -- it does work (I've validated this already).
Reply
#65
...fair enough. Let me know if you want me to look at anything.
Reply
#66
Sure, go nuts. I only get a bit of time here & there to look.
Reply
#67
Did anyone look at changes made by spiff https://github.com/cptspiff/xbmc/commits/hls ? Not sure if it was ever checked into xbmc proper.
Reply
#68
apok Wrote:Did anyone look at changes made by spiff https://github.com/cptspiff/xbmc/commits/hls ? Not sure if it was ever checked into xbmc proper.

This appears to have fixed the issue in Eden. The stream buffers for 2-5 seconds right after loading on my machine, but streams magnificently afterwards.
Reply
#69
Yup. I only had to change PlayListFactory.cpp to get it working again. Good find. I guess we should ask spiff what happened to this.
Reply
#70
micahg Wrote:Yup. I only had to change PlayListFactory.cpp to get it working again. Good find. I guess we should ask spiff what happened to this.

https://github.com/xbmc/xbmc/tree/Eden/xbmc/playlists it hasn't changed in 7 months, so I'd be surprised if it ever went in to xbmc/xbmc.
Reply
#71
So I can replace PlaylistFactory.cpp with that new one to get this to work again? If so where do I find that file? Thanks
Reply
#72
https://github.com/cptspiff/xbmc/blob/27...actory.cpp is the modified version. micahg, are these the only changes you made to yours for it to work?
Reply
#73
apok Wrote:https://github.com/cptspiff/xbmc/blob/27...actory.cpp is the modified version. micahg, are these the only changes you made to yours for it to work?

I don't have any experience with github, can I download that file and replace the one in my install manually?
Reply
#74
91dxcrx Wrote:I don't have any experience with github, can I download that file and replace the one in my install manually?

You would need to recompile your xbmc binary from source to replace it. The lines prefixed with > show where code was modified for my patched build.

Code:
apokalypse@destruction:~/tmp/xbmc$ diff ~/tmp/xbmc/playlists/PlayListFactory.cpp ~/xbmc-patched/xbmc/playlists/PlayListFactory.cpp
66c66
<     if (strMimeType == "audio/x-mpegurl")
---
>     if ((strMimeType == "audio/x-mpegurl") && !item.IsType(".m3u8"))
123c123
<   || strMimeType == "audio/x-mpegurl")
---
>   || ((strMimeType == "audio/x-mpegurl") && !item.IsType(".m3u8")))
Reply
#75
It's worth mentioning that seeking doesn't appear to work. Not sure if this is expected / differs from previous behavior.
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 100

Logout Mark Read Team Forum Stats Members Help
[Discontinued] NHL Gamecenter Addon14