Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add support for HLS WebVTT subtitles #6106
Comments
|
Any URL should do. As far as I can tell, any episode includes subs. For example, take Using |
|
I got some code to do it. There are two problems:
Also, FYI:
I suppose the short-term option is to write a parser for HLS WebVTT streams… |
|
i found this also in abc7news, so i created a function that download the segments of the subtitle and convert it to normal webvtt with the real time of each statment that ffmpeg can convert into ass or srt but the problem now is in the _extract_m3u8_formats function it return an array of video formats but not always the m3u8 variant playlist contain only videos somtimes it contain also subtitles or audio parts. |
|
as i see @fstirlitz make a pull request and he make a great work so i will put the code i made in a gist may be he can benefit from it. |
|
support for subtitle extraction(ttml) will be added in the next version. |
|
When will it be possible to download subtitle from dplay.dk? I want to watch video in MPV+SVP4 with placed youtube-dl.exe from rg3.github.io (since the pre-built youtube-dl by SVP4 did not work correctly with dplay) to watch 30fps videos in 60fps |
|
@AndnixSH you should open a seperate issue for that |
|
I might have same issue with dplay.dk that subs could not be found |
|
Anyone? |
JSON dumps of CICGC URLs already include a link to sliced English subtitles in WebVTT format that could easily be downloaded using ffmpeg. It would be nice if the ComCarCoff extractor was able to detect these.