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

[youtube] Extra subtitles being overwritten #21164

Open
voltagex opened this issue May 20, 2019 · 4 comments · May be fixed by #26112
Open

[youtube] Extra subtitles being overwritten #21164

voltagex opened this issue May 20, 2019 · 4 comments · May be fixed by #26112
Labels

Comments

@voltagex
Copy link

@voltagex voltagex commented May 20, 2019

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.05.11
  • 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 issues including closed ones

Verbose log

youtube-dl.exe --all-subs --skip-download --verbose -f303+251,299+140 https://www.youtube.com/watch?v=jc5DlOkOcU4
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--all-subs', '--skip-download', '--verbose', '-f303+251,299+140', 'https://www.youtube.com/watch?v=jc5DlOkOcU4']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2019.05.11
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg N-92573-gc047901012, ffprobe N-92573-gc047901012, rtmpdump 2.4-20151223-gfa8646d-LibreSSL_2.5.4-x86_64-static
[debug] Proxy map: {}
[youtube] jc5DlOkOcU4: Downloading webpage
[youtube] jc5DlOkOcU4: Downloading video info webpage
[info] jc5DlOkOcU4: downloading video in 2 formats
[info] Writing video subtitles to: M2 - Complete Works _ MY LIFE IN GAMING-jc5DlOkOcU4.en.vtt
[info] Writing video subtitles to: M2 - Complete Works _ MY LIFE IN GAMING-jc5DlOkOcU4.ja.vtt
[info] Writing video subtitles to: M2 - Complete Works _ MY LIFE IN GAMING-jc5DlOkOcU4.es.vtt
[info] Writing video subtitles to: M2 - Complete Works _ MY LIFE IN GAMING-jc5DlOkOcU4.en.vtt
[info] Writing video subtitles to: M2 - Complete Works _ MY LIFE IN GAMING-jc5DlOkOcU4.ja.vtt

Description

https://www.youtube.com/watch?v=jc5DlOkOcU4 contains two sets of English subtitles (not auto-generated). One is a full subtitle, the other is a translation of the Japanese parts of the video. Unfortunately one overwrites the other as they are named the same by youtube-dl.

image

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 20, 2019

You must provide unique output template if downloading multiple formats, e.g. by including format_id.

@dstftw dstftw closed this May 20, 2019
@remitamine
Copy link
Collaborator

@remitamine remitamine commented May 20, 2019

@remitamine remitamine reopened this May 20, 2019
@voltagex
Copy link
Author

@voltagex voltagex commented May 20, 2019

Thank you, @remitamine

@tpikonen tpikonen linked a pull request that will close this issue Jul 25, 2020
5 of 8 tasks complete
@remitamine remitamine added the subtitles label Aug 2, 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.

3 participants
You can’t perform that action at this time.