Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to convert to audio, but keep the original video? #22057

Closed
GHExplorer opened this issue Aug 10, 2019 · 0 comments
Closed

How to convert to audio, but keep the original video? #22057

GHExplorer opened this issue Aug 10, 2019 · 0 comments

Comments

@GHExplorer
Copy link

@GHExplorer GHExplorer commented Aug 10, 2019

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.