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

Duplicate subtitles from Youtube #16032

Closed
NarakuF opened this issue Mar 29, 2018 · 3 comments
Closed

Duplicate subtitles from Youtube #16032

NarakuF opened this issue Mar 29, 2018 · 3 comments

Comments

@NarakuF
Copy link

@NarakuF NarakuF commented Mar 29, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.03.26.1. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.03.26.1

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

When I download subtitles form Youtube, e.g. running youtube-dl --write-auto-sub --skip-download --sub-lang en https://www.youtube.com/watch?v=bB3ZpRpVKWM, subtitles in both vtt and srt files are deplicate. Each sentence will repeat three times. Do we have a solution for this?

youtube-dl -v --write-auto-sub --skip-download --sub-lang en --sub-format ass/srt/best https://www.youtube.com/watch?v=bB3ZpRpVKWM
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--write-auto-sub', '--skip-download', '--sub-lang', 'en', '--sub-format', 'ass/srt/best', 'https://www.youtube.com/watch?v=bB3ZpRpVKWM']
[debug] Encodings: locale cp1252, fs utf-8, out cp1252, pref cp1252
[debug] youtube-dl version 2018.03.26.1
[debug] Python version 3.6.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-90433-g5b31dd1c6b, ffprobe N-90433-g5b31dd1c6b
[debug] Proxy map: {}
[youtube] bB3ZpRpVKWM: Downloading webpage
[youtube] bB3ZpRpVKWM: Downloading video info webpage
[youtube] bB3ZpRpVKWM: Extracting video information
[youtube] bB3ZpRpVKWM: Looking for automatic captions
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: How to Make a Peanut Butter and Jelly Sandwich-bB3ZpRpVKWM.en.vtt
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 29, 2018

Duplication comes from Youtube. Nothing you can do.

@dstftw dstftw closed this Mar 29, 2018
@NarakuF
Copy link
Author

@NarakuF NarakuF commented Mar 29, 2018

@dstftw Hi, this happens to all the videos I download from Youtube. And When I download the subtitle manually or from some online downloading websites, the subtitle isn't duplicate. Could you double check it? Thanks.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 29, 2018

I've already pointed out what is the source of the problem.

@ytdl-org ytdl-org locked and limited conversation to collaborators Mar 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.