EmilFrom
01-01-2018, 10:21 AM
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/clear/streaming/13/5a3b9e496187a411e4bbdb13/Familien-L-wander--4-5-_e788d7c12c6148cabb8118605b44f2d0_,240,351,593,134 4,2342,.mp4.csmil/master.m3u8?cc1=name=Fremmedsprogstekster~default= yes~forced=no~lang=da~uri=https://www.dr.dk/mu/subtitles/playlist/urn:dr:mu:manifest:5a3b9e496187a411e4bbdb13%3Fsegm entsizeinms=60000%26subtitleType=Foreign
They put the subtitles at the end in these playlist links:
https://www.dr.dk/mu/subtitles/playlist/urn:dr:mu:manifest:5a3b9e496187a411e4bbdb13%3Fsegm entsizeinms=60000%26subtitleType=Foreign
I have figured out that the windows application M3u8x can turn this playlist link into segment links:
https://www.dr.dk/mu/subtitles/segment/urn:dr:mu:manifest:5a27ec0e6187a41034fc26a1?segmen tsizeinms=60000&index=0&subtitleType=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/386371-Get-segments-from-WEBVTT-Playlist#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-lowander/-/familien-lowander-4-5#
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/clear/streaming/13/5a3b9e496187a411e4bbdb13/Familien-L-wander--4-5-_e788d7c12c6148cabb8118605b44f2d0_,240,351,593,134 4,2342,.mp4.csmil/master.m3u8?cc1=name=Fremmedsprogstekster~default= yes~forced=no~lang=da~uri=https://www.dr.dk/mu/subtitles/playlist/urn:dr:mu:manifest:5a3b9e496187a411e4bbdb13%3Fsegm entsizeinms=60000%26subtitleType=Foreign
They put the subtitles at the end in these playlist links:
https://www.dr.dk/mu/subtitles/playlist/urn:dr:mu:manifest:5a3b9e496187a411e4bbdb13%3Fsegm entsizeinms=60000%26subtitleType=Foreign
I have figured out that the windows application M3u8x can turn this playlist link into segment links:
https://www.dr.dk/mu/subtitles/segment/urn:dr:mu:manifest:5a27ec0e6187a41034fc26a1?segmen tsizeinms=60000&index=0&subtitleType=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/386371-Get-segments-from-WEBVTT-Playlist#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-lowander/-/familien-lowander-4-5#