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 can I use ffmpeg from youtube-dl? #2508

Closed
Soroid opened this issue Mar 4, 2014 · 1 comment
Closed

How can I use ffmpeg from youtube-dl? #2508

Soroid opened this issue Mar 4, 2014 · 1 comment

Comments

@Soroid
Copy link

@Soroid Soroid commented Mar 4, 2014

I want to use ffmpeg's
-acodec copy
within the same youtube function
to convert youtube videos from mp4 to m4a
This would be helpful so i only need to input one command to download a video and extract its audio

I don't want to use youtube-dl's -X because
A) the file size is noticeably smaller so I don't know if there's something 'less' about youtube-dl's audio quality
B) youtube-dl doesn't keep the thumbnail pic, but ffmpeg does.

EDIT: Nvm i found out that ffmpeg actually keeps the video when it converts thus the file size...
How can i keep the image thumbnail after doing -x on youtube-dl then?

@phihag
Copy link
Contributor

@phihag phihag commented Jan 23, 2015

You can just run youtube-dl with the -x or --audio-format m4a options.

@phihag phihag closed this Jan 23, 2015
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.