Skip to content
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

video quality #4

Open
slavikfoxy opened this issue Aug 17, 2024 · 2 comments
Open

video quality #4

slavikfoxy opened this issue Aug 17, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request In Review

Comments

@slavikfoxy
Copy link

Can I change the video quality when downloading from ph? I want to download 240p, 360p instead of 1080p

@j54j6 j54j6 self-assigned this Aug 17, 2024
@j54j6
Copy link
Owner

j54j6 commented Aug 17, 2024

Hey,

currently there is no "out-of-the-box function" to confugure this. The main intend was to downlaod the best possible format :) -
I will create a config entry for this ASAP. Since I am very busy at the time this need some time :/

But you can modify the code (1 line) to get what you want as a workaround:
-> To change the quality of the downloaded videos you need to tell youtube-dl that you want a specific format.
you can do this by editing the "project_functions.py" and modify the function that returns the youtube-dl config array (line 2251).
If you change the line: " 'format': 'best' " to " 'format': mp4[height=240] " it should work :) -> If you want 360p you need to change the 240 to 360 ;)

I will leave the issue open until I added the cli / config option for this :)

@j54j6 j54j6 added the enhancement New feature or request label Aug 17, 2024
@j54j6
Copy link
Owner

j54j6 commented Sep 22, 2024

Hey,

I created a new release today (v1.1) - it gives you the ability to define the output format per subscription, per video or globally.

Please check it out and test it ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request In Review
Projects
None yet
Development

No branches or pull requests

2 participants