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.
Checklist
Question
WRITE QUESTION HERE
Hi, I'm using youtube-dl.exe daily, and it's been working like magic for some time now. With ffmpeg.exe, I use a command line like this:
youtube-dl.exe -v -x --audio-format mp3 https://www.youtube.com/watch?v=GX10mR_N0Vs
, converts the downloaded video to mp3, for listening in the car.
But sometimes I'd like to keep the default video. I tried removing the -x, but then it doesn't do the conversion. I've looked through the docs at https://github.com/ytdl-org/youtube-dl#format-selection, but I'm sorry I can't glean how to retain both the .mp3 and the .mp4 or whatever the default format is.
Can someone supply an example command line that will do the conversion as above, but also leave the video on the drive?
Thanks and regards,