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

Age restricted videos #159

Open
freedmaaan opened this issue Dec 29, 2024 · 6 comments
Open

Age restricted videos #159

freedmaaan opened this issue Dec 29, 2024 · 6 comments
Labels
question Further information is requested

Comments

@freedmaaan
Copy link

How can i download an age restricted video? I can do it using yt-dlp but what if i want to use OpenVideoDownloader?

@freedmaaan freedmaaan added the question Further information is requested label Dec 29, 2024
@StefanLobbenmeier
Copy link
Owner

If for yt-dlp you only had to pass cookies, you can also pass them in open video downloader.

In v2 this requires exporting the cookies to a cookies.txt and importing it via the "key" button at the bottom, see https://github.com/StefanLobbenmeier/youtube-dl-gui/wiki/Tutorial:-Private-videos-&-playlists

In v3 you can select the browser from which to extract cookies in the settings

@freedmaaan
Copy link
Author

freedmaaan commented Dec 30, 2024

Thank you for the reply.
Also, is there a way to force the program to use a certain codec when downloading?
I'm downloading from Youtube some stuff to edit in Vegas Pro 21 but I cant import the videos into Vegas. After enabling "Show available codecs to download" i've found one that seems to be working (i dont have it in every video tho) and it would be way quicker if i could just select it as default codec instead of choosing it every time.

I don't know if the issue is clear, English is not my first language and trying to talk about those technical stuff is kinda hard

@StefanLobbenmeier
Copy link
Owner

I plan to add this to v3 very soon, right after finishing playlist support (kind of goes hand it hand with it as well).

I was to use the yt-dlp format sorting:
https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#sorting-formats

and let the user either enter the string to do this manually or help them build the string, not 100% sure what UI would help for it but maybe it just covers the most common options

@freedmaaan
Copy link
Author

Sorry for the late reply.

Thanks for the explanation. That will be really useful.
Also thank you for keeping the program updated.

@StefanLobbenmeier
Copy link
Owner

Just released a new update for v3 that has some format sorting, right now presets are just for resolution but you can enter any string.

Could you share more details on which format works and which doesn’t? You might be looking for prefer free formats (that option is also there), or if you need a custom codec you can sort by video codec like

vcodec:avc (which sets the order to h264 > h265 > vp9 > vp9.2 > av01 > vp8 > h263 > theora)

alternatively you can try the „recode video“ option in the setting to download one format and convert into your target format via ffmpeg

@freedmaaan
Copy link
Author

I'm very sorry for the late reply.
I'll check which codec was giving me problems and I'll get back to you as soon as I can

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

No branches or pull requests

2 participants