ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
130.46k stars 9.85k forks source link

Subtitles are not converted when skipping download #19192

Closed forthrin closed 5 years ago

forthrin commented 5 years ago

Subtitles are not converted to .srt when skipping download. If you remove --skip-download the subtitle file is converted. This should be fixed so that the subtitle file is always converted.

$ youtube-dl --verbose --write-sub --all-subs --convert-subtitles srt --skip-download https://www.youtube.com/watch?v=xXPSMzHHwOI
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'--write-sub', u'--all-subs', u'--convert-subtitles', u'srt', u'--skip-download', u'https://www.youtube.com/watch?v=xXPSMzHHwOI']
[debug] Encodings: locale UTF-8, fs utf-8, out utf8, pref UTF-8
[debug] youtube-dl version 2019.02.08
[debug] Python version 2.7.15 (CPython) - Darwin-16.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1, ffprobe 4.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] xXPSMzHHwOI: Downloading webpage
[youtube] xXPSMzHHwOI: Downloading video info webpage
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: Top 10 Best Switch Games of 2018 _ whatoplay-xXPSMzHHwOI.en.vtt
forthrin commented 5 years ago

@dstftw: Duplicate of which issue?

(I couldn't find anything similar when skimming existing reports.)

PS! Could you change your configuration so that the issue number of the other report is automatically printed in a report when setting the report as a duplicate?

exzhawk commented 5 years ago

@forthrin Duplicate of #9073 and possible solution #9738

Reinbowsaur commented 3 years ago

Why is this still a problem.