carykh / jumpcutter

Automatically edits vidx. Explanation here: https://www.youtube.com/watch?v=DQ8orIurGxw
MIT License
3.07k stars 544 forks source link

Youtube Downloading at low quality #197

Open MrZachToYou opened 3 years ago

MrZachToYou commented 3 years ago

By inputting a url of a video, it is always really bad quality, even though there are multiple higher-quality options on the video itself. I tried setting the frame_quality to 1, but that didnt change anything. I even tried modifying the link to have a higher quality (vq=hd2160).

Is there a fix for this, or is it a known bug?

pikapower9080 commented 2 years ago

There's a simple fix for this, but its in the code. You can modify the python file if you want. Around line 16 where it says name = YouTube(url).streams.first().download() replace that with name = YouTube(url).streams.get_highest_resolution().download()