-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HLS m3u8 HTTP live streaming video #1844
Comments
Here's a link folks can use for testing: http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8 As for the answer to your question, I'm not sure yet ... |
Thanks @bakercp - that's a useful link. |
Well, it's not immediately working with the QTKit player, but something is happening ... I am using the osxHighPerformanceVideoPlayerExample. I am using: http://devimages.apple.com/iphone/samples/bipbop/gear1/prog_index.m3u8 instead of fingers.mov. This is a single stream playlist (with all *.ts files listed), not a multi-resolution playlist. It correctly lists the total length of the video (i.e. 30:01 or 1801 seconds). The time seems to move forward appropriately ... but the framecount is funky and the frames move very slowly (and aren't visible). Deep inside Perhaps this isn't working out of the box due to the fancy threaded work used for async frame access w/in qtkit? @obviousjim - thoughts? P.S. the m3u8 link above works in VLC and Quicktime 10.x but fails (as @ofTheo noted) on Quicktime Player 7.x. |
I found this article fromApple describing how AV Foundation supersedes QTKit as the framework of choice for time based media. (OS 10.7 onwards): Some links for reference: |
I'm pretty sure that QTKit does support it in some capacity, but we may not be implementing it in such a way that works out of the box. @obviousjim (and someone else whose name is escaping me ... apologies) is a master of this domain and has plans to move everything to to AVFoundation soon, but that effectively requires dropping "legacy" support for OS X (i.e. it requires 10.7+). |
@_vade and I are looking into creating an AVFoundation video player for oF that could address this, but it will be 10.8 only most likely as the API for many features needed in the current player are only available on that OS. |
I agree @bakercp it seems weird that QTKit can't handle http streams - These were about way before 10.8... but that's promising news @obviousjim, thanks! I'll be eagerly waiting for that for sure :) |
I believe there is room to tinker with the |
@philworthy: just for reference, if you find a problem which is already described in a bug report (even a closed one, it can be reopened), continue the discussion there instead of opening a new one, cause that unnecessarily fragments the discussion (also, the same or larger amount of people see it if it's a post in an old issue, compared to a new one) |
On second thought, I'm closing this as a duplicate of #897, please continue the discussion overe there. :-) |
well - technically one is about ofQuicktimePlayer and the other is ofQTKitVideoPlayer It might be better to keep this one open - only because its more likely ofQTKitVideoPlayer will be able to support m3u8 than the legacy ofQuicktimePlayer. I'm going to close the other one as I don't think ofQuicktimePlayer will ever support m3u8 and re-open this one. |
seems possible with QTKit ( link @bakercp posted ) |
Sorry for the cross post @bilderbuchi... but good news about QTKit @ofTheo - were you able to get it to play? |
Because QTKit and QuickTime are deprecated by Apple as of 10.9, we are focusing on AVF. Follow #2283 for developments. Remaining QTKit and QuickTime-specific issues will be closed with |
Hi.
Does anyone know how to get an m3u8 (HLS) HTTP live stream working in OpenFrameworks?
I've tried tweaking the 'videoPlayerExample' but I get:
From what I can tell QTKit (which I'm assuming is the guts under the OF video player) supports m3u8 but there's not much out there in the way of help (I found this article, which is not promising: http://4pcbr.com/topic/a_story_about_hls_video_handling).
There's also an existing thread on this here:
#897
But it seems to have gone dead a long time ago so posting again incase anyone's listening...
Any help much appreciated.
Thanks
The text was updated successfully, but these errors were encountered: