AppleHTTP m3u8 files no longer passed to ffmpeg?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
micahg Offline
Member
Posts: 87
Joined: Sep 2011
Reputation: 1
Post: #1
Hi,

I'm trying to sort out a problem that has occured over the past few weeks. Basically, I think that the NHL changed something in their m3u8 files (unicode playlist files) that now has xbmc trying to play them as normal playlists instead of letting ffmpeg play the files as an applehttp stream. For more information see http://forum.xbmc.org/showthread.php?tid=118853&page=5 at around post 43.

In any case, up until a few weeks ago we could just point xbmc at the http://...m3u8 file and it would not try to parse it itself and (I assume) would pass it directly to ffmpeg for play, which worked. Now, it is trying to parse these files on its own. It is able to play them, but there is a long pause between playlist items and the playlist is started from the beginning (instead of at the end, which is preferable for a live event).

So I'm looking for suggestions or comments in trying to come up with a fix. With a newer version of ffmpeg the plugin could just use applehttp://...m3u8, since this demuxer now exists and I think everything would work fine. What are the odds of a resync before Eden is released?

The other (probably incorrect) option I'm trying to think of would be to somehow indicate that this file shouldn't actually be parsed as a playlist by xbmc, and should be handed down to ffmpeg -- any ideas?

TIA
find quote
Thiele Offline
Member
Posts: 71
Joined: Oct 2011
Reputation: 0
Post: #2
I think I have the exact same problem. I created a ticket a while ago, but no response or solution so far. Please see this link for background info and logs: http://trac.xbmc.org/ticket/12447

Platform: ATV2 iOS 5.0.1 / 4.4.4 | XBMC: 11.0 Eden Beta 2 | Skin: Aeon Nox 2.0
find quote
micahg Offline
Member
Posts: 87
Joined: Sep 2011
Reputation: 1
Post: #3
Thanks @Thiele, I'll check later to see if it is the same issue.
find quote
Thiele Offline
Member
Posts: 71
Joined: Oct 2011
Reputation: 0
Post: #4
micahg Wrote:Thanks @Thiele, I'll check later to see if it is the same issue.

Any update?

Platform: ATV2 iOS 5.0.1 / 4.4.4 | XBMC: 11.0 Eden Beta 2 | Skin: Aeon Nox 2.0
find quote
micahg Offline
Member
Posts: 87
Joined: Sep 2011
Reputation: 1
Post: #5
None yet. I've been trying to track down the area of code when i have time, but haven't got there yet.
find quote
micahg Offline
Member
Posts: 87
Joined: Sep 2011
Reputation: 1
Post: #6
OK, spiff (Arne) has already posted code that fixes this bug. Is there any reason this code cannot be accepted into XBMC? Perhaps we could restrict it to only force m3u8 files that are prefixed with http:// directly onto ffmpeg (right now the code does it for any m3u8 files):

https://github.com/cptspiff/xbmc/commit/...2e0f65278e
find quote
micahg Offline
Member
Posts: 87
Joined: Sep 2011
Reputation: 1
Post: #7
There is also this bug already that seems closer (more of a feature request though): http://trac.xbmc.org/ticket/11175
find quote
Thiele Offline
Member
Posts: 71
Joined: Oct 2011
Reputation: 0
Post: #8
I'm happy to see that there is some progress :-)

Platform: ATV2 iOS 5.0.1 / 4.4.4 | XBMC: 11.0 Eden Beta 2 | Skin: Aeon Nox 2.0
find quote
apok Offline
Junior Member
Posts: 26
Joined: Feb 2012
Reputation: 0
Post: #9
What's the protocol for submitting bugfixes? Can we just cut a minimal patch for passing http and m3u8 to ffmpeg and submit it to that bug ticket?
find quote
micahg Offline
Member
Posts: 87
Joined: Sep 2011
Reputation: 1
Post: #10
I talked with Spiff and this isn't getting in to Eden. After release though ffmpeg is getting a resync (I'm told) so at that point changes can be made to use applehttp:// which should allow plugin developers to use the m3u8 files again.
find quote
Post Reply