ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.26k stars 10.03k forks source link

--output is not working properly #5576

Closed WeWin55 closed 9 years ago

WeWin55 commented 9 years ago

Hey,

Im trying to download a video: I have f bestvideo[height<=?1080]+bestaudio/best in my settings conf. Here is my script: youtube-dl -w --output '%(uploader)s %(title)s %(resolution)s' --write-thumbnail "https://www.youtube.com/watch?v=mA9B3I44BHg"

I starts downloading, but after the avconv warning it says:

ERROR: Best of PietSmiet QUICKY # 99 - Rage Mode - Deactivated «» Best of PietSmiet _ HD 1920x1080.temp: Invalid argument

I dont know what to do.

dstftw commented 9 years ago

Duplicate of #5535. For now you have to append an extension to output template: -o %(uploader)s %(title)s %(resolution)s.%(ext)s.