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

custom_format selection not being respected #495

Open
ak-42 opened this issue Feb 26, 2023 · 0 comments
Open

custom_format selection not being respected #495

ak-42 opened this issue Feb 26, 2023 · 0 comments

Comments

@ak-42
Copy link

ak-42 commented Feb 26, 2023

Hello. Firstly, I'm deeply thankful for this project, it allows me to watch YouTube offline and without algorithm and that's a big win for me.

I think I've encountered an issue with custom_format option. My config file has this:

quality = "custom"
custom_format = { youtube_dl_format = "bestvideo[height<=1080][vcodec=av01]+bestaudio/bestvideo[height<=1080][vcodec=vp9]+bestaudio/bestvideo[height<=1080][vcodec=avc]+bestaudio" }

However, despite checking that the video(s) in questions have av01 and/or vp9 versions available, podsync still downloads the avc version. I thought it might be a yt-dlp issue, but if I run the following command, the correct av01 or vp9 version is downloaded over avc (for the same videos that podsync fails to download as av01 or vp9):
yt-dlp -f 'bestvideo[height<=1080][vcodec=av01]+bestaudio/bestvideo[height<=1080][vcodec=vp9]+bestaudio/bestvideo[height<=1080][vcodec=avc]+bestaudio' YT-URL
I can also see that custom quality is selected in podsync logs, but the output is just avc.
The logs say: level=info msg="-> updating FEED-LINK" feed_id=FEED-ID format=video quality=custom
I don't have max_height defined in my file (in case it could interfere with custom_format).

Am I doing something dumb or is podsync somehow failing to pass these parametres to yt-dlp?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant