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

Allow Auto-Caption Subtitles to download as fallback option only for YouTube #24239

Open
danfiscus opened this issue Mar 4, 2020 · 1 comment
Open

Comments

@danfiscus
Copy link

@danfiscus danfiscus commented Mar 4, 2020

Checklist

  • I'm reporting a site feature request
  • I've verified that I'm running youtube-dl version 2020.03.01
  • I've searched the bugtracker for similar site feature requests including closed ones

Description

I would like to be able to specify that if none of the requested languages I specify in --sub-lang are available, the program should automatically download and use the automatically generated captions, but if the language(s) I specify are available, the auto-generated captions will be ignored (neither downloaded nor embedded).

The solution provided in a related issue #14831 does not work for this, as it will always write the auto-generated subs, regardless of the availability of the requested subs.

For example, if I specify --sub-lang en,en-GB and the video has neither of these subs available, only then should the program proceed to the automatically-generated subtitles. If one or both of those subs are available, however, I would not want the program to also download the automatic ones.

@IEWbgfnYDwHRoRRSKtkdyMDUzgdwuBYgDKtDJWd

I have been trying to find a work around for this for days now. Saw you posted this days ago, was hoping it would have a fix by now.

The issue for me is with youtube livestream videos. ydl will not recognize the auto subs until the video is finished streaming AND once youtube has converted it to a non HLS video container, usually taking hours for longer videos on youtube's end.

Have you found any useful way to grab them in the interim?

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.