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

choose to download only audio with youtube-dl settings #8

Closed
Jarshvor opened this issue Jul 2, 2018 · 3 comments · Fixed by #9
Closed

choose to download only audio with youtube-dl settings #8

Jarshvor opened this issue Jul 2, 2018 · 3 comments · Fixed by #9

Comments

@Jarshvor
Copy link

Jarshvor commented Jul 2, 2018

is this possible as of now?

@Jarshvor
Copy link
Author

Jarshvor commented Jul 2, 2018

OK, so I just made a copy of the script and modified it. Just removing 'bestvideo' from the 'youtube-dl -i -f bestvideo+bestaudio...' part does quick and dirty fix for me.

Maybe adding an option somewhere to select video quality or only audio would be something useful for some?
Thanks, and closing.

@Jarshvor Jarshvor closed this as completed Jul 2, 2018
@PotcFdk PotcFdk reopened this Jul 4, 2018
myrdd added a commit to myrdd/youtube-sync that referenced this issue Sep 25, 2018
@myrdd
Copy link
Contributor

myrdd commented Sep 25, 2018

@Jarshvor with PR #9, you will be able to do echo -n 'bestaudio' > META/format and youtube-sync will only store the audio.

btw, maybe you also want to change the --merge-output-format option to something audio-specific.

@Jarshvor
Copy link
Author

Thanks @myrdd! Will give this a go when I have a moment.

myrdd added a commit to myrdd/youtube-sync that referenced this issue May 11, 2019
Since the end of April 2015 and version 2015.04.26, youtube-dl
uses -f bestvideo+bestaudio/best as the default format selection,
see
ytdl-org/youtube-dl#5447
and
ytdl-org/youtube-dl#5456

=fixup for commit fe6682a (PotcFdk#8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants