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

No subtitles shown for YouTube video #7825

Closed
fschulze opened this issue Dec 10, 2015 · 4 comments
Closed

No subtitles shown for YouTube video #7825

fschulze opened this issue Dec 10, 2015 · 4 comments

Comments

@fschulze
Copy link

@fschulze fschulze commented Dec 10, 2015

For the following video, which has Closed Captions on YouTube, --list-subs doesn't show any subtitles.
https://www.youtube.com/watch?v=d0yGdNEWdn0

I searched the existing issues, but couldn't find anything related.

@rrooij
Copy link
Contributor

@rrooij rrooij commented Dec 10, 2015

Works fine here with version 2015.11.24

% youtube-dl --list-subs 'https://www.youtube.com/watch?v=d0yGdNEWdn0'                             :(
WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
[youtube] d0yGdNEWdn0: Downloading webpage
[youtube] d0yGdNEWdn0: Downloading video info webpage
[youtube] d0yGdNEWdn0: Extracting video information
[youtube] d0yGdNEWdn0: Looking for automatic captions
[youtube] d0yGdNEWdn0: Downloading XML
[youtube] d0yGdNEWdn0: Downloading DASH manifest
[youtube] d0yGdNEWdn0: Downloading DASH manifest
Available automatic captions for d0yGdNEWdn0:
Language formats
ar       srt, vtt, sbv
yi       srt, vtt, sbv
no       srt, vtt, sbv
my       srt, vtt, sbv
de       srt, vtt, sbv
ro       srt, vtt, sbv
si       srt, vtt, sbv
it       srt, vtt, sbv
bg       srt, vtt, sbv
zh-Hant  srt, vtt, sbv
sw       srt, vtt, sbv
fi       srt, vtt, sbv
ig       srt, vtt, sbv
zh-Hans  srt, vtt, sbv
pa       srt, vtt, sbv
nl       srt, vtt, sbv
en       srt, vtt, sbv
az       srt, vtt, sbv
lo       srt, vtt, sbv
th       srt, vtt, sbv
id       srt, vtt, sbv
eo       srt, vtt, sbv
zu       srt, vtt, sbv
cy       srt, vtt, sbv
et       srt, vtt, sbv
so       srt, vtt, sbv
cs       srt, vtt, sbv
mt       srt, vtt, sbv
uz       srt, vtt, sbv
es       srt, vtt, sbv
hu       srt, vtt, sbv
kn       srt, vtt, sbv
sk       srt, vtt, sbv
te       srt, vtt, sbv
pl       srt, vtt, sbv
da       srt, vtt, sbv
sl       srt, vtt, sbv
mi       srt, vtt, sbv
ur       srt, vtt, sbv
hy       srt, vtt, sbv
sr       srt, vtt, sbv
sv       srt, vtt, sbv
ml       srt, vtt, sbv
vi       srt, vtt, sbv
mr       srt, vtt, sbv
ha       srt, vtt, sbv
sq       srt, vtt, sbv
fil      srt, vtt, sbv
ko       srt, vtt, sbv
kk       srt, vtt, sbv
mn       srt, vtt, sbv
st       srt, vtt, sbv
hr       srt, vtt, sbv
bn       srt, vtt, sbv
yo       srt, vtt, sbv
eu       srt, vtt, sbv
mg       srt, vtt, sbv
is       srt, vtt, sbv
ca       srt, vtt, sbv
pt       srt, vtt, sbv
su       srt, vtt, sbv
ceb      srt, vtt, sbv
ka       srt, vtt, sbv
jv       srt, vtt, sbv
tr       srt, vtt, sbv
af       srt, vtt, sbv
bs       srt, vtt, sbv
tg       srt, vtt, sbv
el       srt, vtt, sbv
uk       srt, vtt, sbv
ta       srt, vtt, sbv
be       srt, vtt, sbv
hmn      srt, vtt, sbv
iw       srt, vtt, sbv
fa       srt, vtt, sbv
la       srt, vtt, sbv
ja       srt, vtt, sbv
ru       srt, vtt, sbv
ga       srt, vtt, sbv
lv       srt, vtt, sbv
hi       srt, vtt, sbv
ht       srt, vtt, sbv
ny       srt, vtt, sbv
gu       srt, vtt, sbv
mk       srt, vtt, sbv
ms       srt, vtt, sbv
km       srt, vtt, sbv
ne       srt, vtt, sbv
gl       srt, vtt, sbv
lt       srt, vtt, sbv
fr       srt, vtt, sbv
Available subtitles for d0yGdNEWdn0:
Language formats
ar       srt, vtt, sbv
und      srt, vtt, sbv
zh-TW    srt, vtt, sbv
uk       srt, vtt, sbv
en       srt, vtt, sbv
ro       srt, vtt, sbv
ko       srt, vtt, sbv
nl       srt, vtt, sbv
sr       srt, vtt, sbv
sv       srt, vtt, sbv
ja       srt, vtt, sbv
ru       srt, vtt, sbv
fr       srt, vtt, sbv
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 10, 2015

@fschulze post the output of youtube-dl --list-sub -v d0yGdNEWdn0.

@fschulze
Copy link
Author

@fschulze fschulze commented Dec 10, 2015

Found the issue. I had used --load-info, but when generating the info I didn't set the option to download subtitles.

Not sure if additional command line parameters when using --load-info should overwrite previous behaviour. I kinda expected that. It works for format selection for example.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 10, 2015

It works for format selection because all formats are downloaded regardless of provided options. Subtitles is custom data that is downloaded on demand therefore when you load it from JSON that doesn't contain subtitles you get nothing.

@dstftw dstftw closed this Dec 10, 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
3 participants
You can’t perform that action at this time.