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

Add support for option to select bestvideo quality and preserve audio track #24303

Closed
tapika opened this issue Mar 9, 2020 · 2 comments
Closed

Add support for option to select bestvideo quality and preserve audio track #24303

tapika opened this issue Mar 9, 2020 · 2 comments
Labels

Comments

@tapika
Copy link

@tapika tapika commented Mar 9, 2020

By default youtube-dl provides wide range of options to select specific format, however -
-f best not always downloads best quality video. I have tried quite many other alternatives, but if you specify -f bestvideo, bestaudio - then audio is download in separate from video, or you need to have ffmpeg toolset installed.

I would prefer that it would be possible to select best video and preserve any audio, which was originally in youtube video.

youtube-dl.exe -f "(mp4)[width>=1920],keep" https://www.youtube.com/watch?v=O_t3w_jyrGQ

here is an example of command line, from my perspective it should download best video, and preserve audio. External tools (ffmpeg) should not be required.

@tapika tapika added the request label Mar 9, 2020
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 9, 2020

Have you read format selection section at all? bestvideo is video only there is no audio to preserve.

@dstftw dstftw closed this Mar 9, 2020
@dstftw dstftw added the invalid label Mar 9, 2020
@tapika
Copy link
Author

@tapika tapika commented Mar 9, 2020

What if I want to select best video based on video quality, but by preserving audio track ?

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.