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.
How to add codec to the filename #10183
Comments
|
Use the
For more information, refer to the documentation. |
|
@phihag Thank you. |
|
@phihag Why do
give
rather than this?
The solution was
However, this is really what I'm requesting with -f 251 which is confusing. |
|
The default If you want opus, say so, and don't include |
|
Indeed, but that's all just the video format (although this happens to be one video format that contains audio only). |
|
|
youtube-dl -f 251 https://www.youtube.com/watch?v=nhNUlAudx8E -o "%(title)s.%(format_id)s.%(ext)s"
That will download the file as
However, "251" will cause confusion as people do not know that it is "Opus". I would like it add the actual codec like this:
How do I do that?