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

--write-auto-sub contains time marks in subtitles #24056

Closed
weisenhan opened this issue Feb 16, 2020 · 1 comment
Closed

--write-auto-sub contains time marks in subtitles #24056

weisenhan opened this issue Feb 16, 2020 · 1 comment
Labels

Comments

@weisenhan
Copy link

@weisenhan weisenhan commented Feb 16, 2020

~/watch$ youtube-dl --skip-download --write-auto-sub --verbose https://www.youtube.com/watch?v=hGxxahRvSw0
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--skip-download', u'--write-auto-sub', u'--verbose', u'https://www.youtube.com/watch?v=hGxxahRvSw0']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.01.24
[debug] Python version 2.7.17 (CPython) - Linux-4.15.0-76-generic-x86_64-with-LinuxMint-19.3-tricia
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6, phantomjs 2.1.1
[debug] Proxy map: {}
[youtube] hGxxahRvSw0: Downloading webpage
[youtube] hGxxahRvSw0: Downloading video info webpage
[youtube] hGxxahRvSw0: Looking for automatic captions
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: Rage Against the Bank Machine - A Dose of Buckley-hGxxahRvSw0.en.vtt

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2020.01.24
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

~/watch$ youtube-dl --skip-download --write-auto-sub --verbose https://www.youtube.com/watch?v=hGxxahRvSw0
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--skip-download', u'--write-auto-sub', u'--verbose', u'https://www.youtube.com/watch?v=hGxxahRvSw0']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.01.24
[debug] Python version 2.7.17 (CPython) - Linux-4.15.0-76-generic-x86_64-with-LinuxMint-19.3-tricia
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6, phantomjs 2.1.1
[debug] Proxy map: {}
[youtube] hGxxahRvSw0: Downloading webpage
[youtube] hGxxahRvSw0: Downloading video info webpage
[youtube] hGxxahRvSw0: Looking for automatic captions
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: Rage Against the Bank Machine - A Dose of Buckley-hGxxahRvSw0.en.vtt

Description

The subtitles display time codes as seen:

subtitle file:
WEBVTT
Kind: captions
Language: en

00:00:00.030 --> 00:00:02.750 align:start position:0%

not<00:00:00.870> enough<00:00:01.140> Buckley<00:00:01.589> in<00:00:01.680> your<00:00:01.800> life<00:00:01.979> get

00:00:02.750 --> 00:00:02.760 align:start position:0%
not enough Buckley in your life get

00:00:02.760 --> 00:00:04.670 align:start position:0%
not enough Buckley in your life get
access<00:00:03.179> to<00:00:03.210> exclusive<00:00:03.540> content<00:00:04.049> you<00:00:04.470> won't

00:00:04.670 --> 00:00:04.680 align:start position:0%
access to exclusive content you won't

00:00:04.680 --> 00:00:06.829 align:start position:0%
access to exclusive content you won't
see<00:00:04.920> on<00:00:04.950> YouTube<00:00:05.490> when<00:00:05.970> you<00:00:06.089> support<00:00:06.420> me<00:00:06.600> at

00:00:06.829 --> 00:00:06.839 align:start position:0%
see on YouTube when you support me at

@orena1
Copy link

@orena1 orena1 commented Feb 16, 2020

The automatic subtitles suppose to have time-marks, the manual subtitles usually do not have

@dstftw dstftw closed this Feb 16, 2020
@dstftw dstftw added the duplicate label Feb 16, 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
3 participants
You can’t perform that action at this time.