pytube erroneously labels 4320p (8K) streams 2160p (4K)
See original GitHub issueYouTube seems to support 8K resolution videos (e.g. this one: https://www.youtube.com/watch?v=1La4QzGeaaQ).
Nonetheless, pytube only outputs the following highest resolution streams:
[<Stream: itag="272" mime_type="video/webm" res="2160p" fps="30fps" vcodec="vp9">,
<Stream: itag="313" mime_type="video/webm" res="2160p" fps="30fps" vcodec="vp9">,
<Stream: itag="315" mime_type="video/webm" res="2160p" fps="60fps" vcodec="vp9">,
<Stream: itag="337" mime_type="video/webm" res="2160p" fps="60fps" vcodec="vp9.2">,...
Note how the 2160p30 stream exists twice, though itag 272 is actually an 8K video.
The resolution should rather be 4320p
in this case.
Issue Analytics
- State:
- Created 5 years ago
- Comments:24 (1 by maintainers)
Top Results From Across the Web
pytube erroneously labels 4320p (8K) streams 2160p (4K) #304
YouTube seems to support 8K resolution videos (e.g. this one: ... pytube erroneously labels 4320p (8K) streams 2160p (4K) #304.
Read more >pytube — pytube 12.1.2 documentation
pytube is a lightweight, Pythonic, dependency-free, library (and command-line utility) for downloading YouTube Videos. Behold, a perfect balance of simplicity ...
Read more >YouTube Videos Download Using Python Codes - Medium
YouTube Videos Download Using Python Codes. Use OAuth to access age-restricted videos, and ffmpeg to get high resolution 2160p (4K) videos.
Read more >pytube HTTP Not found - python - Stack Overflow
Try using this syntax. from pytube import YouTube YouTube('link').streams.first().download() yt = YouTube('link') yt.streams.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tfdahlin
Sure, I’ll try to contribute if I find anything, same goes for you with that 2160p with audio. 😃