-
-
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
look into adding video streaming support to AVFoundationPlayer #1741
Comments
Hi @julapy - don't suppose you had any luck getting m3u8 streams working on AVFoundationVideoPlayer? :) |
hey @philworthy, |
Any news? :) I would be very thankful if this was possible. :) |
Not sure if this fits in 0.9.0 still, regardless the iOS and OS X players will merge soon via #3590, so adding the macOS label here too. |
can confirm this is still an issue and with the single AV player now for iOS and OSX. |
I think @dantheman and @vade looked into this a bit during the dev jam weekend in early January. Snooping around I see a branch vade/openFrameworks/AVFoundation_HLS_Fix but I'm not sure if it bore fruit and of course we just swapped video players in #3590 so… |
Oh - ha. Yea. Life and all that. This 'works' in as much as I can get a stream to 'play' in quotes, but something upstream in the texture uploading is fucking up royally because some checking / assertion about width/height and CVPIxelBuffer square pixel nonesense. Basically, some streams aren't square pixel aspect ratio. The test stream isn't. Also the method you request width and height doesnt work until the video is rolling, so its kind of a setup catch 22. I spoke with @danthemellowman about this a while back and then got annoyed with it and put it down. BASICALLYICANTFINISHANYTHINGOK. :P Feel free to look at what I have and see if you can figure out whats what. if you fire off the apple HSL test stream you'll hear audio IIRC, but won't get video due to the above oddities in the texture upload pipeline. |
Awesome, that is super helpful and provides some good intel to work from. It looks like the commit to scope out is 58843ff6. Not sure if the new new (hours old) AV Foundation video player has the same hangups, but we definitely have some specifics to investigate - thanks! |
No worries. Glad I can be of some help. 👍 |
Hey all, In trying to see what the issue is I started this project It is currently able to
I figure once this works the next step would be to integrate it into the ofAvFoundation player. I'm not really familiar enough with CoreVideo/CoreMedia to know what I need to do to get it into ofPixels/ofTexture edit: pixels/textures now working but only through ofImage |
The above project now works with:
It's currently fairly light at jvcleave-archive/ofxAvFoundationHLSPlayer@1a26b07 I have to move on to finish a project not based on master but can look at it in a few weeks |
Would you have any news from this by any chance? Just as a reference, I'm struggling to get a m3u8 HLS inside oF: |
here a PR tackling this issue: should not have any side-effects... |
…ng_video_streaming #1741 of av foundation player adding video streaming
Closed with #5530 if not, please reopen. |
the initial forum topic is here,
http://forum.openframeworks.cc/index.php/topic,11497
The text was updated successfully, but these errors were encountered: