-
Notifications
You must be signed in to change notification settings - Fork 44
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 urls? #38
Comments
@cannyboy I will look into creating a dictionary to contain these streams separately. |
Will assign a value to it soon ;) #38
@cannyboy I've added this feature you can track the progress in the development branch. I will need to run some tests however, it appears as if most, if not all videos contain a URL for the HLS. |
ok, i will have a look |
I haven't found a case of a Vimeo video without HLS, but I check for it just in case. I play the Here is my code:
|
@cannyboy looks good, and you're right I haven't been able to find any Vimeo video without the HTTP Live Stream however, just to be on the safe side I will assume that the value can be |
@cannyboy Here is suggestion you could check |
@SoneeJohn - that could be a route to go down. The only reason I would prefer to use HLS for all cases (if its available) is that I'm assuming that Vimeo uses adaptive HLS streams which are suitable for iOS devices. This would mean that, when using HLS, it would automatically switch to suitable streams according to the available bandwidth. So, I step out of a Wifi zone, in to a 3G zone, and the the stream quality goes down automatically without pausing the video. My assumption might be wrong - I haven't actually inspected the streams. But I've just read this by a member of Vimeo's staff:
|
I just used the |
@cannyboy I saw this on the forum:
|
I tried the But testing a few Vimeo HLS videos with YTVimeoExtractor, I can see the quality smoothly change when I switch between wifi and 3G. It looks like adaptive streaming is something Vimeo are currently working on: https://vimeo.com/forums/help/topic:279751 |
@cannyboy I'm moving the progress of this to the HTTPLiveStream branch from the development branch. |
@SoneeJohn ok, will HLS be in the next version? |
@cannyboy Yes, I will release it in a later version. |
The description of this project is "Fetches Vimeo's mp4 URLs for iOS", so perhaps this is out-of-scope..
Could we fetch the m3u8 URL too (if available)?
For instance, this video: https://vimeo.com/141922873
.. has in its metadata: https://player.vimeo.com/video/141922873/config
the HLS m3u8: https://skyfiregce-a.akamaihd.net/exp=1454348034~acl=%2F141922873%2F%2A~hmac=5cd0c0f7ce4c3704c46f6a93268d3b563c5a55375e5e372e18ff64d0a6b91ba1/141922873/video/425735437,425735440,425735439,425735436/master.m3u8
... which plays in Safari, so I assume it's OK.
(the
hmac=XXXX
number changes with each /config request I think)HLS m3u8 URLs are better for iOS because of point 9.4 of the App Store guidelines: https://developer.apple.com/app-store/review/guidelines/
(If an MP4 video is over 10 mins, there is a chance that the app gets rejected, but if it is HLS it is fine)
The text was updated successfully, but these errors were encountered: