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.
Piping to stdout writes to a file instead of stdout with some format specifier #11029
Comments
|
I am not sure this is actually a bug. Excerpt from the FAQ:
If my understanding is correct, this means youtube-dl will always use Here is the behaviour I reproduce using version 2016.10.26:
Sample 1
Sample 2
Sample 3
Sample 4
|
The current behavior is: the default value for |
|
In my opinion youtube-dl should either:
Anyway it should never write to a |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.10.25. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
Piping to stdout does not work when using format
bestvideo+bestaudio/best. It downloads to a file named-.ext.For example :
$ youtube-dl -v -f bestvideo+bestaudio/best -o - 'https://www.youtube.com/watch?v=0YSEagC7tsI' | mpvIt works without the above format specifier although ironically it is documented to be the default.
I noticed this because I have
-f bestvideo[width<=?1920]+bestaudio/bestin my youtube-dl config file, but I expected it to use the format which does not require merging when piping.