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

Option to download audio before video #26965

Open
culverit opened this issue Oct 22, 2020 · 0 comments
Open

Option to download audio before video #26965

culverit opened this issue Oct 22, 2020 · 0 comments
Labels

Comments

@culverit
Copy link

@culverit culverit commented Oct 22, 2020

Checklist

  • I'm reporting a feature request
  • I've verified that I'm running youtube-dl version 2020.09.20
  • I've searched the bugtracker for similar feature requests including closed ones
    • Relevant issue found #24898 (question, not a request)

Description

I believe issue #24898 is asking if it is currently possible, not if it is theoretically possible.

When running a download the video part is always downloaded before the audio part and then merged.

[youtube] VIDEO_ID: Downloading webpage
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Destination: VIDEO.mp4
[download] 100% of SIZE in TIME
[download] Destination: AUDIO.webm
[download] 100% of SIZE in TIME
[ffmpeg] Merging formats into "FINAL.mkv"

I am requesting the option to download the audio before the video.

[youtube] VIDEO_ID: Downloading webpage
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Destination: AUDIO.webm
[download] 100% of SIZE in TIME
[download] Destination: VIDEO.mp4
[download] 100% of SIZE in TIME
[ffmpeg] Merging formats into "FINAL.mkv"

The use case that I have in mind is downloading livestreams (specifically karaoke) after they have ended but before they are privated (usually for avoiding a copyright strike) where the audio is more important than the video but both are desired.
There is often only time to run one youtube-dl command in this small time-frame, so this would be very useful.

@culverit culverit added the request label Oct 22, 2020
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
1 participant
You can’t perform that action at this time.