Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
-o different filenames of multiple files when downloading more formats of a youtube-video #6557
Comments
|
Read FAQ on |
|
I don't get it. Which syntax do I need? |
|
I already read this, but I don't know how to put in different filenames for the different files. |
|
What you need is
It's documented in Filesystem options section. However, it's not so easy to find, so I add an item in Output template section. |
|
OK, thank you. So |
|
Not really sure what's the meaning of "by hand". Can you give a more concrete example? |
|
For example I want to download a video from youtube in two or more formats. But the files should be named abcdef.mp4 and ghijkl.mp4: But this doesn't work, I need a separator for the two filenames in |
|
Do you know how I can do that? |
|
It's not possible with youtube-dl only. A possible solution is using EDIT: |
|
OK, I see. Can we make a feature request of this issue, so youtube-dl can do that? |
|
I prefer using extra scripts. Filename computation is a quite complex part in youtube-dl. Changing it is not a good idea. |
|
Why not just download separately?
|
|
If you download for example 5 videos and want each video in three formats, then you need to download 5 times instead of 15 times. I know how to download with a batch-list, but this would be much better especially for most download usage scenarios. |
|
The only gain you'll get is that you'll download data needed for extraction once instead of 3 times for each video. But still this would be neglected by the same 15 media files you'll need to download in any case that will consume much more time and bandwidth in comparison to extraction data. |
|
OK. I see. I beg to add this funktionality to youtube-dl. Please add this feature. |
|
Separator for what? If you want anything to be implemented you have to clearly formulate it in the first place. |
|
Sounds like it's not possible to add that? |
|
No, that's counter-intuitive to regular CLI UX. |
|
What? |
|
The way command line programs are usually used. |
|
OK, I see. That would have been great, but now I know it can't be done. I'm sad now |
No, for what? |
|
Just a thought, so I can paste the proxy like |
|
I mean what is the scenario for youtube-dl to use this list? |
|
If I need a proxy because the video is blocked in bavaria and I need a proxy, then I look up for a proxy and paste it in the txt-file and the proxy-string in cmd.exe can stay like it is. It's quite long^^ |
|
This does not rationalize the need of proxy list instead of single proxy. |
|
No, not a list. |
|
You can achieve this with configuration file as well as put any default options in it. |
|
Do you have more information about the configuration file? |
|
What info you need? |
|
How do I set up such a file with the proxy setting for example and what things can I set up in the file? |
|
Yes. Any option you pass in command line can be put into configuration file. |
|
So a configuration file for example only consist of |
|
Exactly. |
|
Thank you very much. |
|
I copied config.txt to the location in appdata, but it doesn't work. |
|
Now I copied it to users ... youtube-dl.conf. |
If you want to download a video in different formats and want to build different filenames for the files, I don't find the solution to set up different filenames with
-oMay you please tell me how to do it?
If it's not possible, I want to make a feature request for this.
Thank you