-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
methods: [.local] not return url include video and audio #65
Comments
It doesn't work in my Test Project Too...!🥲🥲 |
@yoondj98 Currently I am using ytdl to make a server that can get url from youtobe, it takes about 4s for 1 video, you can make your own server, and get meta data like a normal url request. This is my current solution |
YouTube is slowly removing the video-audio combinations over time, unfortunately. It depends a bit on the location you are accessing it from, but for example, in my location, almost no video has video-audio streams anymore - neither local nor remote. So, don't rely too much on remote methods being able to get you the stream you want. (And BTW, I'm working on making it faster - it's just a lot of people using it currently, haha.) @hoangnam714 The problem with your solution is that most often, getting an URL from a different IP than you are playing it from can lead to it being blocked. And also, ytdl has the same problem, that video-audio streams are getting way more rare. So I'm working on a solution that combines the best video stream with the best audio stream live during playback. If you are interested, check out the branch |
@alexeichhorn I need to get only the 'Audio' of Youtube media. However, I have encountered the same issue as @hoangnam714 . Will finding a solution for this also be quite difficult? |
@alexeichhorn I got the idea from #54 (comment) but it's really slow. It takes almost 10s to get the only video and only audio links, and then another while to merge them together to play. |
I am having a problem when using the local method, the returned result does not have any url containing both video and audio, but the remote method does, but its returned result takes too much time, from 8 -> 10 seconds or even longer, how to optimize this?
The text was updated successfully, but these errors were encountered: