The .mpd: https://ewcdn108.nowe.com/session/15-5-f583-0001000156347512676398/Content/DASH_VOS3/V...799_1645016051
This is the command that I used to download the subtitles. While it successfully combined all the segments into one subtitle file, it doesn't have the correct timestamps. I believe that the subtitles should be in segments of 8 seconds. Is there a way to rip them with the correct timestamps?Code:yt-dlp --write-subs --skip-download --external-downloader aria2c --allow-u "https://ewcdn108.nowe.com/session/15-5-3baa-0001000156347512676398/Content/DASH_VOS3/VOD/14450/6735/2ef99f4c-4f76-4194-91e8-b440e534c882/f677841a-9d8f-2ff5-3517-674ba49ef192/manifest.mpd" --all-subs --output sub.vtt
The mpd's content:Code:<?xml version="1.0" encoding="UTF-8" ?> <MPD profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediaPresentationDuration="PT48M48.835S" minBufferTime="PT8.0S" xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:mspr="urn:microsoft:playready" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 DASH-MPD.xsd"> <Period> <AdaptationSet mimeType="video/mp4" startWithSAP="1" segmentAlignment="true" par="16:9"> <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc"></ContentProtection> <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95"><mspr:pro xmlns:mspr="urn:microsoft:playready">YAMAAAEAAQBWAzwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAFMAQwBUAFIAPAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsASQBEAD4AMgB4AHIATQBiAEsAbQBxAHUAVABpAE0AagBOAFUAQwBsAEMAbgBJAHgAdwA9AD0APAAvAEsASQBEAD4APABDAEgARQBDAEsAUwBVAE0APgBpAGcAeQAxACsAWQBkADIARwBvAFUAPQA8AC8AQwBIAEUAQwBLAFMAVQBNAD4APABMAEEAXwBVAFIATAA+AGgAdAB0AHAAcwA6AC8ALwBwAHIAbwBmAGYAaQBjAGkAYQBsAHMAaQB0AGUALgBrAGUAeQBkAGUAbABpAHYAZQByAHkALgBtAGUAZABpAGEAcwBlAHIAdgBpAGMAZQBzAC4AdwBpAG4AZABvAHcAcwAuAG4AZQB0AC8AUABsAGEAeQBSAGUAYQBkAHkALwA8AC8ATABBAF8AVQBSAEwAPgA8AEMAVQBTAFQATwBNAEEAVABUAFIASQBCAFUAVABFAFMAPgA8AEkASQBTAF8ARABSAE0AXwBWAEUAUgBTAEkATwBOAD4AOAAuADAALgAxADYAMQAxAC4AMQAwADAAMQA8AC8ASQBJAFMAXwBEAFIATQBfAFYARQBSAFMASQBPAE4APgA8AC8AQwBVAFMAVABPAE0AQQBUAFQAUgBJAEIAVQBUAEUAUwA+ADwALwBEAEEAVABBAD4APAAvAFcAUgBNAEgARQBBAEQARQBSAD4A</mspr:pro></ContentProtection> <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"></ContentProtection> <SegmentTemplate timescale="10000000" presentationTimeOffset="11650000" media="$RepresentationID$/Segment-$Time$.m4v" initialization="$RepresentationID$/init.m4i"> <SegmentTimeline> <S t="11650000" d="80000000" r="365" /> <S t="29291650000" d="7200000" /> </SegmentTimeline> </SegmentTemplate> <Representation width="426" height="240" frameRate="25" codecs="avc3.4d4029" scanType="progressive" sar="639:640" id="stream_0" bandwidth="204000" /> <Representation width="854" height="480" frameRate="25" codecs="avc3.4d4029" scanType="progressive" sar="1281:1280" id="stream_1" bandwidth="704000" /> <Representation width="1280" height="720" frameRate="25" codecs="avc3.4d4029" scanType="progressive" sar="1:1" id="stream_2" bandwidth="1472000" /> <Representation width="1920" height="1080" frameRate="25" codecs="avc3.4d4029" scanType="progressive" sar="1:1" id="stream_3" bandwidth="2808000" /> <Representation width="1920" height="1080" frameRate="25" codecs="avc3.640029" scanType="progressive" sar="1:1" id="stream_4" bandwidth="4808000" /> </AdaptationSet> <AdaptationSet mimeType="audio/mp4" startWithSAP="1" lang="spa" segmentAlignment="true"> <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc"></ContentProtection> <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95"><mspr:pro xmlns:mspr="urn:microsoft:playready">YAMAAAEAAQBWAzwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAFMAQwBUAFIAPAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsASQBEAD4AMgB4AHIATQBiAEsAbQBxAHUAVABpAE0AagBOAFUAQwBsAEMAbgBJAHgAdwA9AD0APAAvAEsASQBEAD4APABDAEgARQBDAEsAUwBVAE0APgBpAGcAeQAxACsAWQBkADIARwBvAFUAPQA8AC8AQwBIAEUAQwBLAFMAVQBNAD4APABMAEEAXwBVAFIATAA+AGgAdAB0AHAAcwA6AC8ALwBwAHIAbwBmAGYAaQBjAGkAYQBsAHMAaQB0AGUALgBrAGUAeQBkAGUAbABpAHYAZQByAHkALgBtAGUAZABpAGEAcwBlAHIAdgBpAGMAZQBzAC4AdwBpAG4AZABvAHcAcwAuAG4AZQB0AC8AUABsAGEAeQBSAGUAYQBkAHkALwA8AC8ATABBAF8AVQBSAEwAPgA8AEMAVQBTAFQATwBNAEEAVABUAFIASQBCAFUAVABFAFMAPgA8AEkASQBTAF8ARABSAE0AXwBWAEUAUgBTAEkATwBOAD4AOAAuADAALgAxADYAMQAxAC4AMQAwADAAMQA8AC8ASQBJAFMAXwBEAFIATQBfAFYARQBSAFMASQBPAE4APgA8AC8AQwBVAFMAVABPAE0AQQBUAFQAUgBJAEIAVQBUAEUAUwA+ADwALwBEAEEAVABBAD4APAAvAFcAUgBNAEgARQBBAEQARQBSAD4A</mspr:pro></ContentProtection> <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"></ContentProtection> <SegmentTemplate timescale="10000000" presentationTimeOffset="11650000" media="$RepresentationID$/Segment-$Time$.m4a" initialization="$RepresentationID$/init.m4i"> <SegmentTimeline> <S t="11803333" d="80000000" r="365" /> <S t="29291803333" d="6400000" /> </SegmentTimeline> </SegmentTemplate> <Representation audioSamplingRate="48000" codecs="mp4a.40.2" id="stream_6" bandwidth="96000" /> </AdaptationSet> <AdaptationSet mimeType="audio/mp4" startWithSAP="1" lang="yue" segmentAlignment="true"> <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc"></ContentProtection> <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95"><mspr:pro xmlns:mspr="urn:microsoft:playready">YAMAAAEAAQBWAzwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMA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:pro></ContentProtection> <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"></ContentProtection> <SegmentTemplate timescale="10000000" presentationTimeOffset="11650000" media="$RepresentationID$/Segment-$Time$.m4a" initialization="$RepresentationID$/init.m4i"> <SegmentTimeline> <S t="11803333" d="80000000" r="365" /> <S t="29291803333" d="6400000" /> </SegmentTimeline> </SegmentTemplate> <Representation audioSamplingRate="48000" codecs="mp4a.40.2" id="stream_5" bandwidth="96000" /> </AdaptationSet> <AdaptationSet mimeType="text/vtt" startWithSAP="1" lang="eng" segmentAlignment="true"> <SegmentTemplate timescale="10000000" presentationTimeOffset="11650000" media="$RepresentationID$/Segment-$Time$.vtt"> <SegmentTimeline> <S t="11650000" d="80000000" r="365" /> <S t="29291650000" d="8350000" /> </SegmentTimeline> </SegmentTemplate> <Representation codecs="vtt" id="stream_7" bandwidth="15000" /> </AdaptationSet> <AdaptationSet mimeType="text/vtt" startWithSAP="1" lang="yue" segmentAlignment="true"> <SegmentTemplate timescale="10000000" presentationTimeOffset="11650000" media="$RepresentationID$/Segment-$Time$.vtt"> <SegmentTimeline> <S t="11650000" d="80000000" r="365" /> <S t="29291650000" d="8350000" /> </SegmentTimeline> </SegmentTemplate> <Representation codecs="vtt" id="stream_8" bandwidth="15000" /> </AdaptationSet> </Period> </MPD>
+ Reply to Thread
Results 1 to 12 of 12
-
Last edited by kkycble; 16th Feb 2022 at 23:14.
-
The mpd doesn't open in the browser. Is it geo/time restricted?
Can you post a short example of the timestaps/subs you get, and the timestamps you think they should be?
Try removing --external-downloader aria2c -
The mpd is from a site that I'm a member of, but the content itself is free. So this means it probably requires login credentials for you to actually get access to the mpd (which I am willing to give in pm). I've also edited the link to attach a token to the mpd, maybe you can view it this time?
Here provides a portion of the download subtitles:
Code:WEBVTT WEBVTT 00:00:02.440 --> 00:00:04.120 You say they fell asleep at 11? 00:00:04.200 --> 00:00:07.919 Yep. I played on the PlayStation with Benja. WEBVTT 00:00:00.000 --> 00:00:03.240 We finished at 23:30 and he told me 'I wanna sleep, Dad'. 00:00:03.320 --> 00:00:04.320 And he fell asleep in 2 minutes. 00:00:05.400 --> 00:00:07.479 Yes, mine also fell after a sec. WEBVTT 00:00:00.920 --> 00:00:03.800 Whether you like it or not, when they're alone with us... 00:00:04.680 --> 00:00:07.160 Plus, Mateo is not having his nap anymore at school. 00:00:07.240 --> 00:00:07.999 -Arrives exhausted! -So he's exhausted when he arrives.
-
It doesn't open even with the token.
Ask nTb how they do it
Matchday-Inside.FC.Barcelona.S01E01.A.Football.Classic.1080p.RKTN.WEB-DL.DDP5.1.x264-NTb.srt -
Last edited by kkycble; 16th Feb 2022 at 03:02.
-
-
@kkycble Try this tool, I don't know if it will work https://github.com/nilaoda/N_m3u8DL-RE/
-
Each iteration of the subtitle starts at timestamp 0.
What is happening is that the timestamp of the second and subsequent vtt iterations starts exactly where the previous iteration ends. It is an offset.
Start with the first vtt call time = t0 to t1
Second iteration time = t1 to t2 (time at completion of first call is the the time of initiation of second call [time offset])
Keep on going to the last.
(Subtitle Edit allows you do do time offsets) -
Thanks, maybe I still couldn't use SubtitleEdit well.
m3u8DL-RE could autofix the timestamps -
Getting subtitles
For MPD, use yt-dlp
To list available subtitles:
yt-dlp --list-subs --allow-unplayable-formats LINK
To download a selected subtitle (English here):
yt-dlp --skip-download --write-subs --sub-langs "en," --allow-unplayable-formats LINK
To download all subtitles:
yt-dlp --skip-download --write-subs --all-subs --allow-unplayable-formats LINK
For M3U8, use ffmpeg
ffmpeg.exe -i "https://xxx.vtt.m3u8" subtitle.srt
Replace it with your m3u8 link. You will find it Dev Tools > Network (For each subtitle track, there will be a separate M3U8 file)
After downloads, check the subtitles with SubtitleEdit.
I've never encountered a problem.
Similar Threads
-
Can someone tell me how to rip/extract subtitles from MPD?
By reez76 in forum Video Streaming DownloadingReplies: 3Last Post: 17th Jan 2021, 21:52 -
How to download m3u8 segmented subtitles ?
By Abraham in forum Video Streaming DownloadingReplies: 4Last Post: 28th Oct 2020, 04:23 -
How To Download from COM (segmented .mp4)
By jilboobseksi in forum Video Streaming DownloadingReplies: 7Last Post: 11th Jun 2020, 18:56 -
Help..how to download segmented audio
By messageryan in forum Video Streaming DownloadingReplies: 4Last Post: 23rd Mar 2020, 02:24 -
Ripping Subtitles
By makepeace in forum SubtitleReplies: 3Last Post: 19th Nov 2019, 19:30