i'm using the stream detector with mozila to download videos (copy stream URL as yt-dlp)
i used to download subtitles only too just fine but recently when downloading subtitles only, the download will stop at 11%
i have tried over and over but getting the same results, the download won't resume but starts from beginning and stops again
i also have tried using copy stream URL as streamlink command with no luck
here are the two lines i have tried:
yt-dlp --write-subs --sub-langs en --skip-download "URL"
yt-dlp "URL" --skip-download --write-subs
i want to download the subs for this mini show link down below
i already downloaded the three episodes but i need its subs so i can merge it with mkvtool
would you please try downloading an english subtitle from an episode of this show and see if it works with you
and paste me the working line please, i'd so much appreciate it the help
https://www.fifa.com/fifaplus/en/watch/series/1zgmIVcXuwTWmmM9QS389e/3QVkWIE4iDAeiwdja...WZ8ZzM0hPFvSpl
+ Reply to Thread
Results 1 to 10 of 10
-
Last edited by user10thousand; 14th Nov 2022 at 03:09.
-
looks like the subtitles arent compliant so yt-dlp is failing to parse it.
Code:ERROR: Parse error at position 7 (near '')
Code:#EXTM3U #EXT-X-VERSION:6 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",NAME="English",LANGUAGE="en",AUTOSELECT=YES,DEFAULT=YES #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Arabic",DEFAULT=NO,FORCED=NO,URI="https://content-ausw1.uplynk.com/multiple/9a497a6ee69441c69371499105effbcc,fd5a69f723604b8cbac4f87141dd4af9,8cf14e3d244245f4addd5bbed48a343d/sub0.m3u8?pbs=76e0b202fa2b4bda9472456a21ba1717&mbtracks=1",LANGUAGE="ar",AUTOSELECT=YES,CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="German",DEFAULT=NO,FORCED=NO,URI="https://content-ausw1.uplynk.com/multiple/9a497a6ee69441c69371499105effbcc,fd5a69f723604b8cbac4f87141dd4af9,8cf14e3d244245f4addd5bbed48a343d/sub1.m3u8?pbs=76e0b202fa2b4bda9472456a21ba1717&mbtracks=1",LANGUAGE="de",AUTOSELECT=YES,CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="English",DEFAULT=NO,FORCED=NO,URI="https://content-ausw1.uplynk.com/multiple/9a497a6ee69441c69371499105effbcc,fd5a69f723604b8cbac4f87141dd4af9,8cf14e3d244245f4addd5bbed48a343d/sub2.m3u8?pbs=76e0b202fa2b4bda9472456a21ba1717&mbtracks=1",LANGUAGE="en",AUTOSELECT=YES,CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Indonesian",DEFAULT=NO,FORCED=NO,URI="https://content-ausw1.uplynk.com/multiple/9a497a6ee69441c69371499105effbcc,fd5a69f723604b8cbac4f87141dd4af9,8cf14e3d244245f4addd5bbed48a343d/sub3.m3u8?pbs=76e0b202fa2b4bda9472456a21ba1717&mbtracks=1",LANGUAGE="id",AUTOSELECT=YES,CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="French",DEFAULT=NO,FORCED=NO,URI="https://content-ausw1.uplynk.com/multiple/9a497a6ee69441c69371499105effbcc,fd5a69f723604b8cbac4f87141dd4af9,8cf14e3d244245f4addd5bbed48a343d/sub4.m3u8?pbs=76e0b202fa2b4bda9472456a21ba1717&mbtracks=1",LANGUAGE="fr",AUTOSELECT=YES,CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Spanish",DEFAULT=NO,FORCED=NO,URI="https://content-ausw1.uplynk.com/multiple/9a497a6ee69441c69371499105effbcc,fd5a69f723604b8cbac4f87141dd4af9,8cf14e3d244245f4addd5bbed48a343d/sub5.m3u8?pbs=76e0b202fa2b4bda9472456a21ba1717&mbtracks=1",LANGUAGE="es",AUTOSELECT=YES,CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Italian",DEFAULT=NO,FORCED=NO,URI="https://content-ausw1.uplynk.com/multiple/9a497a6ee69441c69371499105effbcc,fd5a69f723604b8cbac4f87141dd4af9,8cf14e3d244245f4addd5bbed48a343d/sub6.m3u8?pbs=76e0b202fa2b4bda9472456a21ba1717&mbtracks=1",LANGUAGE="it",AUTOSELECT=YES,CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Japanese",DEFAULT=NO,FORCED=NO,URI="https://content-ausw1.uplynk.com/multiple/9a497a6ee69441c69371499105effbcc,fd5a69f723604b8cbac4f87141dd4af9,8cf14e3d244245f4addd5bbed48a343d/sub7.m3u8?pbs=76e0b202fa2b4bda9472456a21ba1717&mbtracks=1",LANGUAGE="ja",AUTOSELECT=YES,CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Korean",DEFAULT=NO,FORCED=NO,URI="https://content-ausw1.uplynk.com/multiple/9a497a6ee69441c69371499105effbcc,fd5a69f723604b8cbac4f87141dd4af9,8cf14e3d244245f4addd5bbed48a343d/sub8.m3u8?pbs=76e0b202fa2b4bda9472456a21ba1717&mbtracks=1",LANGUAGE="ko",AUTOSELECT=YES,CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Chinese",DEFAULT=NO,FORCED=NO,URI="https://content-ausw1.uplynk.com/multiple/9a497a6ee69441c69371499105effbcc,fd5a69f723604b8cbac4f87141dd4af9,8cf14e3d244245f4addd5bbed48a343d/sub9.m3u8?pbs=76e0b202fa2b4bda9472456a21ba1717&mbtracks=1",LANGUAGE="zh",AUTOSELECT=YES,CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Portuguese",DEFAULT=NO,FORCED=NO,URI="https://content-ausw1.uplynk.com/multiple/9a497a6ee69441c69371499105effbcc,fd5a69f723604b8cbac4f87141dd4af9,8cf14e3d244245f4addd5bbed48a343d/sub10.m3u8?pbs=76e0b202fa2b4bda9472456a21ba1717&mbtracks=1",LANGUAGE="pt",AUTOSELECT=YES,CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog"
Code:yt-dlp "https://content-ausw1.uplynk.com/multiple/9a497a6ee69441c69371499105effbcc,fd5a69f723604b8cbac4f87141dd4af9,8cf14e3d244245f4addd5bbed48a343d/sub2.m3u8?pbs=76e0b202fa2b4bda9472456a21ba1717&mbtracks=1"
you can convert that mp4 file to srt with ffmpeg
Code:ffmpeg -i "sub.mp4" -map 0:s:0 sub.srt
Code:findstr /v /i "WEBVTT" sub.srt > sub_fixed.srt
-
No worries.
An even easy way is to use N_m3u8dl-re and it will download the proper subtitle without any need for modification (plus it will download the video and audio at the same time - if you want) -
If you inspect that video via Dev Tools, you will notice seperate VTT subtitle files incoming.
M3U8 file of English subtitles:
Code:./ffmpeg.exe -i "https://xxx.vtt.m3u8" output_subs.srt
-
Why to loose a lot of time , the simpliest way to have "wvtt" extractor are to use devellopment of this guy "nilaoda" from here.
You can choose format directly using simple comands included into precompiled binary:
--sub-only Select only subtitle tracks [default: False]
--sub-format <SRT|VTT> Subtitle output format [default: SRT]
--auto-subtitle-fix Automatically fix subtitles [default: True]
example of command line :
re --sub-only URL ; where url is mpd url with wvtt.
And also as you talk after this post , regarding download of audio and video same time, you can add mention , you can decrypt also a mpd if you have necessary keysLast edited by libero08; 18th Nov 2022 at 12:53.
-
Libero is talking about this:
https://github.com/nilaoda/Mp4SubtitleParser -
Well , i say yes, this is the riferiment.
Bu i encouinter some national providers around europe , where subtitles part are delegated outside of mpd , direct into raw. those can be download using any known method.
Also "re" as "mp4sp" can extract wwtt, and ttml direct into srt format. -
This is great, this one fixed the same issue I had but I have trouble with downloading only english subtitles from the stream -ss name="en" or -ss name="English"
or -ss name="English":for all is not downloading only english sub, it is downloading every subs! Also how to change the output name it is always master_2023-02-13_11-06-10.en etc, can I change the output file name?
removing --subs-only and adding --select-subtitle name="English":for=all fixed the issue, as far as the output name it is --save-name worksLast edited by Sadomasochist; 13th Feb 2023 at 02:55. Reason: Found solution
Similar Threads
-
Help download Subtitle from iq.com
By D.LUFFY in forum Video Streaming DownloadingReplies: 1Last Post: 9th Jul 2022, 14:21 -
i need to download this subtitle ... from this video can anyone do that ?
By alsalam4man in forum Video Streaming DownloadingReplies: 1Last Post: 16th Mar 2021, 09:47 -
How to download this fragmented subtitle
By pedrothelion in forum Video Streaming DownloadingReplies: 2Last Post: 20th Jan 2021, 14:48 -
Download subtitle from Telemundo
By JohanCarlo in forum SubtitleReplies: 0Last Post: 24th Aug 2018, 12:28 -
Download subtitle
By JohanCarlo in forum Authoring (Blu-ray)Replies: 0Last Post: 24th Aug 2018, 12:27