You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This stream url can be played with vlc, or in kodi with the inputstream.adaptive plugin. It plays as high resolution video with audio, and it appears to be a .m3u8 file.
Describe alternatives you've considered
The stream url I obtain with this method appears to have several parts of an adaptive stream url that I obtain with pytubefix, so i tried reconstructing it but it didn't work. There where some parts that i couldn't find, like hfr, tts_caps, maudio, go, nvgoi, short_key, ncsapi, dover, playlist_type. Also, some parts appear to have a different, format, like the id.
I believe the manifest_url can be obtained or constructed from the watch_html or one of the raw html responses for a Youtube object.
Additional context
I am making a youtube kodi addon, and implementing pytubefix to get adaptive stream urls that include audio would be a game changer in my opinion, because pytubefix is way faster than my current implementation.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I want to play adaptive streams of youtube videos, that contain both audio and video.
Describe the solution you'd like
Using yt-dlp (a fork based on youtube-dl) i can achieve this by parsing the json with the following code:
And the stream url
surl
looks like this:This stream url can be played with vlc, or in kodi with the inputstream.adaptive plugin. It plays as high resolution video with audio, and it appears to be a
.m3u8
file.Describe alternatives you've considered
The stream url I obtain with this method appears to have several parts of an adaptive stream url that I obtain with pytubefix, so i tried reconstructing it but it didn't work. There where some parts that i couldn't find, like hfr, tts_caps, maudio, go, nvgoi, short_key, ncsapi, dover, playlist_type. Also, some parts appear to have a different, format, like the
id
.I believe the manifest_url can be obtained or constructed from the watch_html or one of the raw html responses for a Youtube object.
Additional context
I am making a youtube kodi addon, and implementing pytubefix to get adaptive stream urls that include audio would be a game changer in my opinion, because pytubefix is way faster than my current implementation.
The text was updated successfully, but these errors were encountered: