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

Subtitles (CC) are not downloaded on JW Player videos #17879

Open
Gandulf78 opened this issue Oct 13, 2018 · 2 comments · May be fixed by #17882
Open

Subtitles (CC) are not downloaded on JW Player videos #17879

Gandulf78 opened this issue Oct 13, 2018 · 2 comments · May be fixed by #17882

Comments

@Gandulf78
Copy link

@Gandulf78 Gandulf78 commented Oct 13, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.10.05. 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.10.05

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

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

youtube-dl -v --write-auto-sub --sub-lang fr,en --write-sub --embed-subs https://www.tv5mondeplus.com/toutes-les-videos/documentaire/merci-professeur--ballotage
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--write-auto-sub', u'--sub-lang', u'fr,en', u'--write-sub', u'--embed-subs', u'https://www.tv5mondeplus.com/toutes-les-videos/documentaire/merci-professeur--ballotage']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.10.05
[debug] Python version 2.7.15 (CPython) - Darwin-18.0.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.0.2, ffprobe 4.0.2
[debug] Proxy map: {}
[TV5MondePlus] merci-professeur--ballotage: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://dlhd.tv5monde.com/tv5mondeplus/hq/3842774.mp4'
[download] Destination: Merci professeur !  - Ballotage-merci-professeur--ballotage.mp4
[download] 100% of 9.34MiB in 00:00
[ffmpeg] There aren't any subtitles to embed
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

The video (JW Player 7.12.13) is well downloaded by youtube-dl but the subtitles are not detected / downloaded.

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.

@qkolj qkolj linked a pull request that will close this issue Oct 13, 2018
6 of 9 tasks complete
@qkolj
Copy link

@qkolj qkolj commented Oct 13, 2018

As your verbose output shows, the problem is that the existing extractor for TV5MondePlus does not support extraction of subtitles. I added subtitle extraction in #17882

Also, a side note: --write-auto-sub only works for YouTube (check youtube-dl's manpage).

@evnb
Copy link

@evnb evnb commented May 1, 2020

I'm not familiar with how youtube-dl finds the ts files for JW Player but I was able to manually find subtitle files for a number of JW videos. It seems the subtitles are split into a number of VTT files stored in the same directory as the ts files. Similar to the ts files, the VTT files all have the same name besides ending with an incremented 'n.vtt' where n is a number greater than or equal to 0. Each vtt file seems to cover roughly 3 minutes.

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.