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

del #13553

Closed
Sonicpromo opened this issue Jul 3, 2017 · 11 comments
Closed

del #13553

Sonicpromo opened this issue Jul 3, 2017 · 11 comments

Comments

@Sonicpromo
Copy link

@Sonicpromo Sonicpromo commented Jul 3, 2017

del

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 3, 2017

@dstftw dstftw closed this Jul 3, 2017
@artifexor
Copy link

@artifexor artifexor commented Jul 3, 2017

@Sonicpromo probably this is related to your case: "Output templates can also contain arbitrary hierarchical path, e.g. -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' which will result in downloading each video in a directory corresponding to this path template. Any missing directory will be automatically created for you.". And you can use a lot of different "macro" in a path.

@Hrxn
Copy link

@Hrxn Hrxn commented Jul 3, 2017

Put the output template into your config file.

This way it always uses your directory hierarchy, e.g. %(playlist)s/%(author)s/%(title)s.%(ext)s and so on..

And one more question maybe you know it: is it possible to download 1080p then convert to 720p without 3rd party software?

Uh, with youtube-dl? No. Use ffmpeg or something, although I don't see the point in converting 1080p to 720p

@Hrxn
Copy link

@Hrxn Hrxn commented Jul 3, 2017

Post your output of youtube-dl -v please, this will show active config settings etc.

@Hrxn
Copy link

@Hrxn Hrxn commented Jul 3, 2017

Portable version? youtube-dl is just a static binary, hence it's always portable?

@Sonicpromo Sonicpromo changed the title Download to separate folders del Jul 3, 2017
@Hrxn
Copy link

@Hrxn Hrxn commented Jul 3, 2017

It is the same program, yes.

youtube-dl is bundled with this GUI application, as it seems, but it might be outdated.

You can download the latest youtube-dl here: https://github.com/rg3/youtube-dl/releases

I think you're on Windows? Then use youtube-dl.exe, download it and put it into a directory you find again, open CMD, go to this directory and run youtube-dl -v.

@Hrxn
Copy link

@Hrxn Hrxn commented Jul 3, 2017

Yes, exactly.

[debug] System config: []
[debug] User config: []

This means that no config options are active. You need to create a configuration file (correct file name), put it in the right location so that youtube-dl finds it.

Inside the config file you can use the same options as on the command line..
An example for the output template: -o "D:/Temp/Media/%(extractor)s/%(title)s-%(id)s.%(ext)s"

And if you run youtube-dl -v, you should see these options.

@Sonicpromo
Copy link
Author

@Sonicpromo Sonicpromo commented Jul 3, 2017

Thanks for the help but I think I should better stick to GUI version or any other software that can do such a simple option by default without doing thousands unnecessary steps

@Hrxn
Copy link

@Hrxn Hrxn commented Jul 3, 2017

Well, your decision. But it's actually really easy.

If your username is 1, then it's just this file:
C:\Users\1\youtube-dl.conf

And inside this file just the line for the output template, e.g.
-o "D:/Temp/Media/%(extractor)s/%(title)s-%(id)s.%(ext)s"

@Sonicpromo
Copy link
Author

@Sonicpromo Sonicpromo commented Jul 3, 2017

I understand that but I did it and things don't work out. I assume you think that I use youtube-dl via cmd, but that's not true. This setting is probably doesn't work correctly with GUI version
Same story with config.txt or youtube-dl.conf in %appdata%/roaming. I guess I should use cmd in that case?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 3, 2017

youtube-dl does not have an official GUI. Any youtube-dl's GUI is a 3rd party software that is not affiliated with youtube-dl. Contact its developers/issue tracker for any help.
How to achieve this with youtube-dl right away is clearly explained in FAQ:
https://github.com/rg3/youtube-dl#configuration
https://github.com/rg3/youtube-dl#output-template

@ytdl-org ytdl-org locked and limited conversation to collaborators Jul 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.