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.
Print a list of available formats #61
Comments
|
Here's what I do, but maybe there's a better way: ./youtube-dl --all-formats --get-filename http://www.youtube.com/watch?v=dQw4w9WgXcQ That gives you a list of file names like so: The numbers next to the dashes are the video formats (35, 34, 18, 5). The list of formats is documented here: http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs |
|
At the extent of being an idiot, can somebody explain me how can I make sure that I get the format. While the above works, I do have an issue with downloading a specific version. I have seen this happen with few other videos as well. This is on a friend's window machine. C:\Documents and Settings\Admin\Commands>youtube-dl.py --all-formats --get-file C:\Documents and Settings\Admin\Commands>youtube-dl.py --format=mp4 "http://www. Can somebody explain that to me. |
Which of the above do you mean?
I guess you should probably try --format=22 or --format=18. Dmitry Chistikov |
|
Isn't this solved with the "-F" option now? |
|
yes. "-F" works perfect |
|
I think this issue can be marked as closed also. Cheers |
|
It's not youtube-dl.py --format=mp4.... it's youtube-dl.py --format mp4 |
It would be nice to have a CL option enabling one to obtain a list of all available formats for a specific video (URL). In other words, how can I know what to specify as FORMAT for -f? Thanks in advance.