Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

Get segments from WEBVTT Playlist

(http://stream-recorder.com/forum/showthread.php?t=23887)

EmilFrom 01-01-2018 10:21 AM

Get segments from WEBVTT Playlist


 
Hello everyone

I'm figuring out how to download subtitles from the danish streaming site dr.dk/tv.
They use webvtt subtitles with m3u8 files. The whole link looks like this:

https://drod04o-vh.akamaihd.net/i/dk...leType=Foreign

They put the subtitles at the end in these playlist links:

https://www.dr.dk/mu/subtitles/playl...leType=Foreign

I have figured out that the windows application M3u8x can turn this playlist link into segment links:

https://www.dr.dk/mu/subtitles/segme...leType=Foreign


But I really don't want to rely on a windows gui application, since I'm primarily a Mac user and I hate using gui applications for something I can do in the terminal, so I'm trying to figure out how to do this in the terminal with something like FFMPEG.

How can I get the individual segments files from a playlist link like that??


UPDATE:

jimdagys over at videohelp.com helped me figure out out. Link: https://forum.videohelp.com/threads/...st#post2506075

youtube-dl can download the subs if you just give it the whole dr.dk link.

Example: youtube-dl --all-subs --skip-download https://www.dr.dk/tv/se/familien-low...-lowander-4-5#


All times are GMT -6. The time now is 11:48 PM.