VideoHelp Forum




+ Reply to Thread
Results 1 to 20 of 20
  1. Trying this can find multiple streams.

    Image
    [Attachment 77215 - Click to enlarge]



    Bitmovin video

    https://www.sbs.com.au/ondemand/watch/2305582147923

    Trying to find which one is right for A_N_G_L_E_A s script pulls down the adverts but not the video.

    Tv Downloader works but very slowly any ideas please.

    Hls shows loads of streams as well
    Quote Quote  
  2. The first two segments are the ads as you can see from the specific m3u8 stream files:

    Code:
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:10
    #EXT-X-MEDIA-SEQUENCE:1
    #EXT-X-PLAYLIST-TYPE:VOD
    #EXTINF:10,
    https://redirector.googlevideo.com/videoplayback/fvidshow/250/fvidskip/0/fvskm/125/goc/13/gomt/100%2C3750%2C7250%2C11250%2C14000/gomv/google_5369213626238656960%2Cgoogle_7044413043664543378%2Cgoogle_4910424702240641916%2Cgoogle_2223689825490856886%2Cgoogle_7706624520076341861/govp/slices%3D0-1648804/id/ae17cd4391759b7b/itag/340/mime/video%2FMP2T/sgovp/gir%3Dyes%3Bitag%3D340%3Bxtags%3Dvc%3Davc%3Avccf%3Dmain%3Avfr%3D25%3Avsz%3D1280x720%3Avtbr%3D1300%3Bclen%3D2430225%3Bdur%3D15000%3Blmt%3D1707100104173009/source/dclk_video_ads?acao=yes&ctier=L&ei=wuPYZabSBdCk9fwPicO4oA0&expire=1708799298&ip=0.0.0.0&nc=4117&requiressl=yes&sig=AJfQdSswRQIhAJ1a6LrgCZU_ZxcntC1I7kUGu-PSnFcfWoHIvihw0DMGAiBs22O-nmk38O3bCuKRzpoM7Co_c8gtH9yL_dVkKv7btQ%3D%3D&sparams=expire%2Cei%2Cip%2Cmime%2Csgovp%2Crequiressl%2Csource%2Cid%2Citag%2Cgomt%2Cgomv%2Cacao%2Cctier%2Cgoc%2Cfvskm%2Csusc%2Cxpc&susc=dvc&xpc=Eghovf3BOnoBAQ%3D%3D
    #EXTINF:5,
    https://redirector.googlevideo.com/videoplayback/fvidshow/125/fvidskip/0/fvskm/125/goc/13/gomt/100%2C3750%2C7250%2C11250%2C14000/gomv/google_5369213626238656960%2Cgoogle_7044413043664543378%2Cgoogle_4910424702240641916%2Cgoogle_2223689825490856886%2Cgoogle_7706624520076341861/govp/slices%3D0-739%2C1648805-2430224/id/ae17cd4391759b7b/itag/340/mime/video%2FMP2T/sgovp/gir%3Dyes%3Bitag%3D340%3Bxtags%3Dvc%3Davc%3Avccf%3Dmain%3Avfr%3D25%3Avsz%3D1280x720%3Avtbr%3D1300%3Bclen%3D2430225%3Bdur%3D15000%3Blmt%3D1707100104173009/source/dclk_video_ads?acao=yes&ctier=L&ei=wuPYZabSBdCk9fwPicO4oA0&expire=1708799298&ip=0.0.0.0&nc=4117&requiressl=yes&sig=AJfQdSswRQIhAJ1a6LrgCZU_ZxcntC1I7kUGu-PSnFcfWoHIvihw0DMGAiBs22O-nmk38O3bCuKRzpoM7Co_c8gtH9yL_dVkKv7btQ%3D%3D&sparams=expire%2Cei%2Cip%2Cmime%2Csgovp%2Crequiressl%2Csource%2Cid%2Citag%2Cgomt%2Cgomv%2Cacao%2Cctier%2Cgoc%2Cfvskm%2Csusc%2Cxpc&susc=dvc&xpc=Eghovf3BOnoBAQ%3D%3D
    #EXT-X-DISCONTINUITY
    #EXT-X-KEY:METHOD=AES-128,URI="https://sbs-vod-dai-prod-01.akamaized.net/Content/HLS_AES_TS/VOD/geo/15992/6408/ddcf70c2-410f-4620-b311-2fb6f29b70d2/9439a831-9b13-6280-ed4f-cb66148195cb/Stream(04)/serve.key?aka_me_session_id=AAAAAAAAAADuGdplAAAAANMDYKsOLTij2mPLqBePlrQpfl5v6m2TSGhRLrrgzw%2FGO%2FWPAFp3mi+Dqun4NUu5Boa5AX5nLjhX",IV=0x00000000000000000000000000000005
    #EXTINF:2,
    https://sbs-vod-dai-prod-01.akamaized.net/Content/HLS_AES_TS/VOD/geo/15992/6408/ddcf70c2-410f-4620-b311-2fb6f29b70d2/9439a831-9b13-6280-ed4f-cb66148195cb/Stream(04)/Segment(113988888).ts?aka_hls_version=3&aka_me_session_id=AAAAAAAAAADuGdplAAAAANMDYKsOLTij2mPLqBePlrQpfl5v6m2TSGhRLrrgzw%2FGO%2FWPAFp3mi+Dqun4NUu5Boa5AX5nLjhX&aka_msn=5
    #EXT-X-KEY:METHOD=AES-128,URI="https://sbs-vod-dai-prod-01.akamaized.net/Content/HLS_AES_TS/VOD/geo/15992/6408/ddcf70c2-410f-4620-b311-2fb6f29b70d2/9439a831-9b13-6280-ed4f-cb66148195cb/Stream(04)/serve.key?aka_me_session_id=AAAAAAAAAADuGdplAAAAANMDYKsOLTij2mPLqBePlrQpfl5v6m2TSGhRLrrgzw%2FGO%2FWPAFp3mi+Dqun4NUu5Boa5AX5nLjhX",IV=0x00000000000000000000000000000006
    #EXTINF:2,
    https://sbs-vod-dai-prod-01.akamaized.net/Content/HLS_AES_TS/VOD/geo/15992/6408/ddcf70c2-410f-4620-b311-2fb6f29b70d2/9439a831-9b13-6280-ed4f-cb66148195cb/Stream(04)/Segment(133988888).ts?aka_hls_version=3&aka_me_session_id=AAAAAAAAAADuGdplAAAAANMDYKsOLTij2mPLqBePlrQpfl5v6m2TSGhRLrrgzw%2FGO%2FWPAFp3mi+Dqun4NUu5Boa5AX5nLjhX&aka_msn=6
    #EXT-X-KEY:METHOD=AES-128,URI="https://sbs-vod-dai-prod-01.akamaized.net/Content/HLS_AES_TS/VOD/geo/15992/6408/ddcf70c2-410f-4620-b311-2fb6f29b70d2/9439a831-9b13-6280-ed4f-cb66148195cb/Stream(04)/serve.key?aka_me_session_id=AAAAAAAAAADuGdplAAAAANMDYKsOLTij2mPLqBePlrQpfl5v6m2TSGhRLrrgzw%2FGO%2FWPAFp3mi+Dqun4NUu5Boa5AX5nLjhX",IV=0x00000000000000000000000000000007
    ...
    This means you could just run:
    Code:
    N_m3u8DL-RE -M format=mkv --custom-range 3- m3u8url.m3u8
    Other than that, video doesn't seem to be encrypted, it downloads fine with N_m3u8DL-RE.

    yt-dlp's extractor also seems to work:
    Code:
    yt-dlp https://www.sbs.com.au/ondemand/watch/2305582147923
    Last edited by white_snake; 24th Feb 2024 at 06:18. Reason: changed mpd example with m3u8
    Quote Quote  
  3. Do you rename the master m3u8 as mpd ?
    Quote Quote  
  4. Originally Posted by PSXman_uk View Post
    Do you rename the master m3u8 as mpd ?
    Nope sorry, that's an oversight on my part, I'll fix it now to avoid confusion.
    Quote Quote  
  5. PS C:\freevine> N_m3u8DL-RE -M format=mkv --custom-range 3- master.m3u8
    13:09:33.765 INFO : N_m3u8DL-RE (Beta version) 20230628
    13:09:33.779 INFO : Loading URL: master.m3u8
    13:09:33.782 INFO : Content Matched: HTTP Live Streaming
    13:09:33.783 INFO : Parsing streams...
    13:09:33.784 WARN : Master List detected, try parse all streams
    13:09:33.786 WARN : Writing meta json
    13:09:33.788 INFO : Extracted, there are 6 streams, with 4 basic streams, 1 audio streams, 1 subtitle streams
    13:09:33.798 INFO : Vid 1280x720 | 1993 Kbps | avc1.4d4029
    13:09:33.798 INFO : Vid 1024x576 | 1431 Kbps | avc1.4d4029
    13:09:33.799 INFO : Vid 640x360 | 882 Kbps | avc1.4d401e
    13:09:33.799 INFO : Vid 400x224 | 451 Kbps | avc1.4d401e
    13:09:33.800 INFO : Aud audio1 | English | ENG
    13:09:33.800 INFO : Sub subs | en | English
    13:09:37.490 INFO : Parsing streams...
    13:09:48.198 INFO : User customed range: 3-
    13:09:48.198 WARN : Please note that custom range may sometimes result in audio and video being out of sync
    13:09:48.208 INFO : Selected streams:
    13:09:48.209 INFO : Vid *AES_128 1280x720 | 1993 Kbps | avc1.4d4029 | 1438 Segments | ~51m28s
    13:09:48.209 INFO : Aud *AES_128 audio1 | English | ENG | 1438 Segments | ~51m29s
    13:09:48.210 INFO : Sub subs | en | English | 19 Segments | ~46m18s
    13:09:48.211 WARN : Writing meta json
    13:09:48.233 INFO : Save Name: master_2024-02-24_13-09-33
    13:09:48.233 WARN : MuxAfterDone is detected, binary merging is automatically enabled
    13:09:48.235 INFO : Start downloading...Vid 1280x720 | 1993 Kbps | avc1.4d4029
    13:09:53.891 WARN : Reading media info...
    13:09:56.012 INFO : [0x102]: Data, timed_id3 (ID3 )
    13:09:56.014 INFO : [0x100]: Video, h264 (Main) ([27][0][0][0]), 1280x720, 25 fps
    13:20:36.164 INFO : Binary merging...
    13:20:36.945 INFO : Start downloading...Aud audio1 | English | ENG
    13:20:41.182 WARN : Reading media info...
    13:20:41.255 INFO : [0x102]: Data, timed_id3 (ID3 )
    13:20:41.257 INFO : [0x101]: Audio, aac (LC) ([15][0][0][0]), 258 kb/s
    13:25:39.844 INFO : Binary merging...
    13:25:40.364 INFO : Start downloading...Sub subs | en | English
    13:25:42.156 WARN : Reading media info...
    13:25:42.213 INFO : NaN: Subtitle, webvtt
    13:25:44.204 WARN : Extracting VTT(raw) subtitle...
    13:25:44.216 INFO : Binary merging...
    13:25:44.220 ERROR: Sequence contains no elements
    PS C:\freevine>
    Quote Quote  
  6. Beware, I just generated another .m3u8 url and this time there were 4 ad segments:

    Code:
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:10
    #EXT-X-MEDIA-SEQUENCE:1
    #EXT-X-PLAYLIST-TYPE:VOD
    #EXTINF:10,
    https://redirector.googlevideo.com/videoplayback/fvidshow/250/fvidskip/0/fvskm/125/goc/13/gomt/100%2C3750%2C7250%2C11250%2C14000/gomv/google_6822478690147285877%2Cgoogle_7357437934794003924%2Cgoogle_1408693071104917193%2Cgoogle_6561215382218117194%2Cgoogle_4680141576756628892/govp/slices%3D0-1629030/id/8ef8a134ae554f3f/itag/340/mime/video%2FMP2T/sgovp/gir%3Dyes%3Bitag%3D340%3Bxtags%3Dvc%3Davc%3Avccf%3Dmain%3Avfr%3D25%3Avsz%3D1280x720%3Avtbr%3D1300%3Bclen%3D2432560%3Bdur%3D15000%3Blmt%3D1708043246606470/source/dclk_video_ads?acao=yes&ctier=L&ei=fv_ZZe2eHNi39fwP7by4yAI&expire=1708871934&ip=0.0.0.0&nc=4117&requiressl=yes&sig=AJfQdSswRQIhAMIxMm9UJyfaa_61gtZdEqmyGVbIy3EIECjymOvg0OL2AiB1fUkXbR_syZvsaWaVWh2gvcnZbtvwuAHMxDaIi_LgQQ%3D%3D&sparams=expire%2Cei%2Cip%2Citag%2Cmime%2Csgovp%2Cfvskm%2Cgomv%2Cctier%2Cid%2Csource%2Cgomt%2Cgoc%2Crequiressl%2Cacao%2Csusc%2Cxpc&susc=dvc&xpc=Eghovf3BOnoBAQ%3D%3D
    #EXTINF:5,
    https://redirector.googlevideo.com/videoplayback/fvidshow/125/fvidskip/0/fvskm/125/goc/13/gomt/100%2C3750%2C7250%2C11250%2C14000/gomv/google_6822478690147285877%2Cgoogle_7357437934794003924%2Cgoogle_1408693071104917193%2Cgoogle_6561215382218117194%2Cgoogle_4680141576756628892/govp/slices%3D0-739%2C1629031-2432559/id/8ef8a134ae554f3f/itag/340/mime/video%2FMP2T/sgovp/gir%3Dyes%3Bitag%3D340%3Bxtags%3Dvc%3Davc%3Avccf%3Dmain%3Avfr%3D25%3Avsz%3D1280x720%3Avtbr%3D1300%3Bclen%3D2432560%3Bdur%3D15000%3Blmt%3D1708043246606470/source/dclk_video_ads?acao=yes&ctier=L&ei=fv_ZZe2eHNi39fwP7by4yAI&expire=1708871934&ip=0.0.0.0&nc=4117&requiressl=yes&sig=AJfQdSswRQIhAMIxMm9UJyfaa_61gtZdEqmyGVbIy3EIECjymOvg0OL2AiB1fUkXbR_syZvsaWaVWh2gvcnZbtvwuAHMxDaIi_LgQQ%3D%3D&sparams=expire%2Cei%2Cip%2Citag%2Cmime%2Csgovp%2Cfvskm%2Cgomv%2Cctier%2Cid%2Csource%2Cgomt%2Cgoc%2Crequiressl%2Cacao%2Csusc%2Cxpc&susc=dvc&xpc=Eghovf3BOnoBAQ%3D%3D
    #EXT-X-DISCONTINUITY
    #EXTINF:10,
    https://redirector.googlevideo.com/videoplayback/fvidshow/250/fvidskip/0/fvskm/125/goc/13/gomt/100%2C3750%2C7250%2C11250%2C14000/gomv/google_7917243349223366512%2Cgoogle_1996923251765286903%2Cgoogle_5683450755376446030%2Cgoogle_8252069830885763306%2Cgoogle_5780728001259139057/govp/slices%3D0-1648804/id/ae17cd4391759b7b/itag/340/mime/video%2FMP2T/sgovp/gir%3Dyes%3Bitag%3D340%3Bxtags%3Dvc%3Davc%3Avccf%3Dmain%3Avfr%3D25%3Avsz%3D1280x720%3Avtbr%3D1300%3Bclen%3D2430225%3Bdur%3D15000%3Blmt%3D1707100104173009/source/dclk_video_ads?acao=yes&ctier=L&ei=fv_ZZaTcHJG03LUPrPOp0AE&expire=1708871934&ip=0.0.0.0&nc=4117&requiressl=yes&sig=AJfQdSswRAIgNHzGu99upDRCXPp5zeMohPqdiXsCM2ax-xkiQFcOqgQCIC44e5BOh3jDj6JGSKCPWO4rDhq7sAYM50ETor5lVoYo&sparams=expire%2Cei%2Cip%2Cid%2Cgomv%2Cgoc%2Csgovp%2Cfvskm%2Csource%2Cacao%2Cctier%2Citag%2Cmime%2Cgomt%2Crequiressl%2Csusc%2Cxpc&susc=dvc&xpc=Eghovf3BOnoBAQ%3D%3D
    #EXTINF:5,
    https://redirector.googlevideo.com/videoplayback/fvidshow/125/fvidskip/0/fvskm/125/goc/13/gomt/100%2C3750%2C7250%2C11250%2C14000/gomv/google_7917243349223366512%2Cgoogle_1996923251765286903%2Cgoogle_5683450755376446030%2Cgoogle_8252069830885763306%2Cgoogle_5780728001259139057/govp/slices%3D0-739%2C1648805-2430224/id/ae17cd4391759b7b/itag/340/mime/video%2FMP2T/sgovp/gir%3Dyes%3Bitag%3D340%3Bxtags%3Dvc%3Davc%3Avccf%3Dmain%3Avfr%3D25%3Avsz%3D1280x720%3Avtbr%3D1300%3Bclen%3D2430225%3Bdur%3D15000%3Blmt%3D1707100104173009/source/dclk_video_ads?acao=yes&ctier=L&ei=fv_ZZaTcHJG03LUPrPOp0AE&expire=1708871934&ip=0.0.0.0&nc=4117&requiressl=yes&sig=AJfQdSswRAIgNHzGu99upDRCXPp5zeMohPqdiXsCM2ax-xkiQFcOqgQCIC44e5BOh3jDj6JGSKCPWO4rDhq7sAYM50ETor5lVoYo&sparams=expire%2Cei%2Cip%2Cid%2Cgomv%2Cgoc%2Csgovp%2Cfvskm%2Csource%2Cacao%2Cctier%2Citag%2Cmime%2Cgomt%2Crequiressl%2Csusc%2Cxpc&susc=dvc&xpc=Eghovf3BOnoBAQ%3D%3D
    #EXT-X-DISCONTINUITY
    #EXT-X-KEY:METHOD=AES-128,URI="https://sbs-vod-dai-prod-01.akamaized.net/Content/HLS_AES_TS/VOD/geo/15992/6408/ddcf70c2-410f-4620-b311-2fb6f29b70d2/9439a831-9b13-6280-ed4f-cb66148195cb/Stream(04)/serve.key?aka_me_session_id=AAAAAAAAAABkHttlAAAAAB0CF4xEm1dgveL5OfBV4%2FyHqlpI%2FINDg78Vhl%2FRQR94PbZt2knpuUVcP0LO2aafExSkX3P%2FQIrV",IV=0x00000000000000000000000000000005
    #EXTINF:2,
    So I had to do:
    Code:
    N_m3u8DL-RE -M format=mkv --custom-range 5- "https://sbs-vod-dai-prod-01.akamaized.net/Content/HLS_AES_TS/VOD/geo/15992/6408/ddcf70c2-410f-4620-b311-2fb6f29b70d2/9439a831-9b13-6280-ed4f-cb66148195cb/master.m3u8?otherparameters=..."
    Everything muxed correctly except for subs, being 30 seconds behind, which is exactly the sum of the first four #EXTINF (10+5+10+5). Here's your file: https://gofile.io/d/qxFttQ

    Edit: I'm using N_m3u8DL-RE (Beta version) 20231113, not sure if that makes a difference.
    Quote Quote  
  7. Any chance i can try that version please is it windows exe i tired the github site and cant get it
    Quote Quote  
  8. Originally Posted by PSXman_uk View Post
    Any chance i can try that version please is it windows exe i tired the github site and cant get it
    Didn't notice it had expired, sorry. Here's the Windows 10 x64 binary: https://files.videohelp.com/u/194156/N_m3u8DL-RE.exe
    Quote Quote  
  9. Are you using Stream detector to get the links ?
    Quote Quote  
  10. Originally Posted by PSXman_uk View Post
    Are you using Stream detector to get the links ?
    Yes, but mostly the Network tab on the developer console. In this case it's particularly convenient because you can see the response preview (meaning the .m3u8 text content) from there and quickly identify the ad segments.
    Quote Quote  
  11. Image
    [Attachment 77248 - Click to enlarge]


    i have tampermonkey emelogger etc installed i cant see the m3u8
    Quote Quote  
  12. Originally Posted by PSXman_uk View Post
    Image
    [Attachment 77248 - Click to enlarge]


    i have tampermonkey emelogger etc installed i cant see the m3u8
    Try to type m3u8 where it says "Filter". Also, EMElogger doesn't have anything to do with the .m3u8.

    Of course you'll have to reload the page for it to show up.
    Quote Quote  
  13. Member
    Join Date
    Mar 2006
    Location
    United States
    Search Comp PM
    I was having the same issues with SBS OnDemand stuff.

    I should say, yt-dlp does work. But VERY slow for me, so switched to my method using N_m3u8DL-RE. Super quick and for me easy now.

    I finally started doing the following:

    This is my VERY LENGTHY writeup! If it helps some great! If it does not, I was bored and had this written down so I did not originally forget when I was testing the process.

    Taking the example that PSXman_uk posted:

    HTML Code:
    https://www.sbs.com.au/ondemand/watch/2305582147923
    I'm using Chrome, open the Developers Tools, Search on "m3u8" in the Network Tab. Load the video.

    I take the master.m3u8 and save it to my working folder.

    Open that maser.m3u8 to get the link to the audio stream and video stream <- These can be obtained with the "m3u8" search as well.

    When opening master.m3u8 in Notepad++
    Code:
    #EXTM3U
    #EXT-X-MEDIA:TYPE=AUDIO,URI="https://dai.google.com/ondemand/hls/*************************long***url**OF***audio********************.m3u8?***********************aka_media_format_type=hls",GROUP-ID="audio1",LANGUAGE="ENG",NAME="English",DEFAULT=YES,AUTOSELECT=YES
    #EXT-X-MEDIA:TYPE=SUBTITLES,URI="https://dai.google.com/ondemand/hls/*************************long***url**OF***subtitle********************.m3u8?***********************aka_media_format_type=hlsaka_media_format_type=hls",GROUP-ID="subs",LANGUAGE="en",NAME="English",AUTOSELECT=YES
    #EXT-X-STREAM-INF:BANDWIDTH=1431396,RESOLUTION=1024x576,CODECS="avc1.4d4029,mp4a.40.2",AUDIO="audio1",SUBTITLES="subs"
    https://dai.google.com/ondemand/hls/*************************long***url**OF***video********************.m3u8?***********************aka_media_format_type=hls
    #EXT-X-STREAM-INF:BANDWIDTH=451344,RESOLUTION=400x224,CODECS="avc1.4d401e,mp4a.40.2",AUDIO="audio1",SUBTITLES="subs"
    https://dai.google.com/ondemand/hls/*************************long***url**OF***video********************.m3u8?***********************aka_media_format_type=hls
    #EXT-X-STREAM-INF:BANDWIDTH=882927,RESOLUTION=640x360,CODECS="avc1.4d401e,mp4a.40.2",AUDIO="audio1",SUBTITLES="subs"
    https://dai.google.com/ondemand/hls/*************************long***url**OF***video********************.m3u8?***********************aka_media_format_type=hls
    #EXT-X-STREAM-INF:BANDWIDTH=1993353,RESOLUTION=1280x720,CODECS="avc1.4d4029,mp4a.40.2",AUDIO="audio1",SUBTITLES="subs"
    https://dai.google.com/ondemand/hls/*************************long***url**OF***video********************.m3u8?***********************aka_media_format_type=hls
    
    I copy the url for Audio, paste it in to new tab and it downloads a "variant.m3u8" <- rename to audio.m3u8

    I copy the url for Video or 1280x720, paste it in to new tab and it downloads a "variant.m3u8" <- rename to video.m3u8

    Now I have in my working directory
    master.m3u8
    audio.m3u8
    video.m3u8

    Now that I have the audio and video variant.m3u8 files downloaded, I edit my master.m3u8 to look like the following:

    Code:
    #EXTM3U
    #EXT-X-MEDIA:TYPE=AUDIO,URI="audio.m3u8",GROUP-ID="audio1",LANGUAGE="ENG",NAME="English",DEFAULT=YES,AUTOSELECT=YES
    #EXT-X-STREAM-INF:BANDWIDTH=3051874,RESOLUTION=1280x720,CODECS="avc1.4d4029,mp4a.40.2",AUDIO="audio1",SUBTITLES="subs"
    video.m3u8
    Re-save master.m3u8


    Now I open audio.m3u8 in Notepad++

    I do a search for "[CODE]https://redirector.googlevideo.com/[/CODE

    Will see a bunch of sections like this:

    Code:
    #EXTINF:10,
    https://redirector.googlevideo.com/videoplayback/fvidshow/250/fvidskip/0/fvskm/125/goc/13/gomt/100%2C3750%2C7250%2C11250%2C14000/gomv/google_2199199057037872762%2Cgoogle_2047151578801398497%2Cgoogle_0164136948607600727%2Cgoogle_5136901778533126811%2Cgoogle_0783002838873978858/govp/slices%3D0-1654806/id/cd21b094b65abe7d/itag/340/mime/video%2FMP2T/sgovp/gir%3Dyes%3Bitag%3D340%3Bxtags%3Dvc%3Davc%3Avccf%3Dmain%3Avfr%3D25%3Avsz%3D1280x720%3Avtbr%3D1300%3Bclen%3D2486357%3Bdur%3D15000%3Blmt%3D1696199358904544/source/dclk_video_ads?acao=yes&ctier=L&ei=OjvrZam2ItPP4t4P4rm68A4&expire=1710001338&ip=0.0.0.0&nc=4117&requiressl=yes&sig=AJfQdSswRQIgYKjlaz0m4aTW5vN2yG8JNRvOdxSHFiKxBcxdJhJb2R4CIQDoW5ehtgjlERFadf2ds3_oNS3E0taycuzBE8lidK-CDg%3D%3D&sparams=expire%2Cei%2Cip%2Cgoc%2Cfvskm%2Cgomt%2Cmime%2Csgovp%2Crequiressl%2Cacao%2Cctier%2Csource%2Cid%2Citag%2Cgomv%2Csusc%2Cxpc&susc=dvc&xpc=Eghovf3BOnoBAQ%3D%3D
    #EXTINF:5,
    https://redirector.googlevideo.com/videoplayback/fvidshow/125/fvidskip/0/fvskm/125/goc/13/gomt/100%2C3750%2C7250%2C11250%2C14000/gomv/google_2199199057037872762%2Cgoogle_2047151578801398497%2Cgoogle_0164136948607600727%2Cgoogle_5136901778533126811%2Cgoogle_0783002838873978858/govp/slices%3D0-739%2C1654807-2486356/id/cd21b094b65abe7d/itag/340/mime/video%2FMP2T/sgovp/gir%3Dyes%3Bitag%3D340%3Bxtags%3Dvc%3Davc%3Avccf%3Dmain%3Avfr%3D25%3Avsz%3D1280x720%3Avtbr%3D1300%3Bclen%3D2486357%3Bdur%3D15000%3Blmt%3D1696199358904544/source/dclk_video_ads?acao=yes&ctier=L&ei=OjvrZam2ItPP4t4P4rm68A4&expire=1710001338&ip=0.0.0.0&nc=4117&requiressl=yes&sig=AJfQdSswRQIgYKjlaz0m4aTW5vN2yG8JNRvOdxSHFiKxBcxdJhJb2R4CIQDoW5ehtgjlERFadf2ds3_oNS3E0taycuzBE8lidK-CDg%3D%3D&sparams=expire%2Cei%2Cip%2Cgoc%2Cfvskm%2Cgomt%2Cmime%2Csgovp%2Crequiressl%2Cacao%2Cctier%2Csource%2Cid%2Citag%2Cgomv%2Csusc%2Cxpc&susc=dvc&xpc=Eghovf3BOnoBAQ%3D%3D
    #EXT-X-DISCONTINUITY
    I highlight and delete all sections with the
    Code:
    https://redirector.googlevideo.com/
    portion, from the
    Code:
    #EXTINF:10,
    all the way down to and including
    Code:
    #EXT-X-DISCONTINUITY
    and Delete that section.

    Move on to the next and next, etc. until all
    Code:
    https://redirector.googlevideo.com/
    sections are gone. Save file.

    Now do the same edits in video.m3u8

    Now the reason I edited the master.m3u8 is because I use that master file each time I download from SBS On Demand. I just replace the audio.m3u8 and video.m3u8 of each different video in question.

    Now I use this as an example to get the file:
    Code:
    N_m3u8DL-RE "master.m3u8" --save-name "Catch Me a Killer - s01e01 - The Station Strangler Part 1" -M format=mkv
    Gives output:
    Code:
    N_m3u8DL-RE "master.m3u8" --save-name "Catch Me a Killer - s01e01 - The Station Strangler Part 1" -M format=mkv
    12:32:41.394 INFO : N_m3u8DL-RE (Beta version) 20230628
    12:32:41.417 INFO : Loading URL: MyMaster.m3u8
    12:32:41.422 INFO : Content Matched: HTTP Live Streaming
    12:32:41.423 INFO : Parsing streams...
    12:32:41.424 WARN : Master List detected, try parse all streams
    12:32:41.430 WARN : Writing meta json
    12:32:41.432 INFO : Extracted, there are 2 streams, with 1 basic streams, 1 audio streams, 0 subtitle streams
    12:32:41.434 INFO : Vid 1280x720 | 3051 Kbps | avc1.4d4029
    12:32:41.435 INFO : Aud audio1 | English | ENG
    Please select what you want to download:
    
    > [ ] Basic
        [X] Vid 1280x720 | 3051 Kbps | avc1.4d4029
      [ ] Audio
        [X] Aud audio1 | English | ENG
    
    (Press <space> to toggle a stream, <enter> to accept)
    Obviously hit enter to now start download:

    Code:
    N_m3u8DL-RE "master.m3u8" --save-name "Catch Me a Killer - s01e01 - The Station Strangler Part 1" -M format=mkv
    12:33:45.392 INFO : N_m3u8DL-RE (Beta version) 20230628
    12:33:45.418 INFO : Loading URL: MyMaster.m3u8
    12:33:45.422 INFO : Content Matched: HTTP Live Streaming
    12:33:45.423 INFO : Parsing streams...
    12:33:45.424 WARN : Master List detected, try parse all streams
    12:33:45.429 WARN : Writing meta json
    12:33:45.430 INFO : Extracted, there are 2 streams, with 1 basic streams, 1 audio streams, 0 subtitle streams
    12:33:45.431 INFO : Vid 1280x720 | 3051 Kbps | avc1.4d4029
    12:33:45.432 INFO : Aud audio1 | English | ENG
    12:33:46.973 INFO : Parsing streams...
    12:33:49.435 INFO : Selected streams:
    12:33:49.437 INFO : Vid *AES_128 1280x720 | 3051 Kbps | avc1.4d4029 | 1410 Segments | ~46m58s
    12:33:49.438 INFO : Aud *AES_128 audio1 | English | ENG | 1410 Segments | ~46m58s
    12:33:49.439 WARN : Writing meta json
    12:33:49.456 INFO : Save Name: Catch Me a Killer - s01e01 - The Station Strangler Part 1
    12:33:49.457 WARN : MuxAfterDone is detected, binary merging is automatically enabled
    12:33:49.459 INFO : Start downloading...Vid 1280x720 | 3051 Kbps | avc1.4d4029
    12:33:50.288 WARN : Reading media info...
    12:33:50.342 INFO : [0x1e1]: Video, h264 (Main) ([27][0][0][0]), 1280x720, 25 fps
    12:35:39.040 INFO : Binary merging...
    12:35:50.311 INFO : Start downloading...Aud audio1 | English | ENG
    12:35:50.583 WARN : Reading media info...
    12:35:50.638 INFO : [0x1e2]: Audio, aac (LC) ([15][0][0][0]), 192 kb/s
    12:37:20.199 INFO : Binary merging...
    12:37:20.640 WARN : Catch Me a Killer - s01e01 - The Station Strangler Part 1.ts
    12:37:20.640 WARN : Catch Me a Killer - s01e01 - The Station Strangler Part 1.ENG.ts
    12:37:20.641 WARN : Muxing to Catch Me a Killer - s01e01 - The Station Strangler Part 1.MUX.mkv
    12:37:22.626 WARN : Cleaning files...
    12:37:22.676 INFO : Done
    Now I have for this example have the full file "Catch Me a Killer - s01e01 - The Station Strangler Part 1.mkv"

    This is my process, may be lengthy by some standards. This "template" I created with the master.m3u8 I just load up each time, edit those audio.m3u8 and video.m3u8 each new episode.

    If anyone has any easier way, please let me know.

    I have tried the "--custom-range" options, but with so many segments, I have had little success.
    Last edited by ehurdler; 8th Mar 2024 at 12:35. Reason: Addition
    Quote Quote  
  14. @Ehurdler saved this thanks I assume you use vpn all the time or proxy
    Quote Quote  
  15. Member
    Join Date
    Mar 2006
    Location
    United States
    Search Comp PM
    Originally Posted by PSXman_uk View Post
    @Ehurdler saved this thanks I assume you use vpn all the time or proxy
    VPN to Australia.
    VPN and N_m3u8DL-RE = great speed
    VPN and yt-dlp = SLOW, and times out for me often
    Quote Quote  
  16. Originally Posted by ehurdler View Post
    Now I open audio.m3u8 in Notepad++

    I do a search for "[CODE]https://redirector.googlevideo.com/[/CODE

    Will see a bunch of sections like this:

    Code:
    #EXTINF:10,
    https://redirector.googlevideo.com/videoplayback/fvidshow/250/fvidskip/0/fvskm/125/goc/13/gomt/100%2C3750%2C7250%2C11250%2C14000/gomv/google_2199199057037872762%2Cgoogle_2047151578801398497%2Cgoogle_0164136948607600727%2Cgoogle_5136901778533126811%2Cgoogle_0783002838873978858/govp/slices%3D0-1654806/id/cd21b094b65abe7d/itag/340/mime/video%2FMP2T/sgovp/gir%3Dyes%3Bitag%3D340%3Bxtags%3Dvc%3Davc%3Avccf%3Dmain%3Avfr%3D25%3Avsz%3D1280x720%3Avtbr%3D1300%3Bclen%3D2486357%3Bdur%3D15000%3Blmt%3D1696199358904544/source/dclk_video_ads?acao=yes&ctier=L&ei=OjvrZam2ItPP4t4P4rm68A4&expire=1710001338&ip=0.0.0.0&nc=4117&requiressl=yes&sig=AJfQdSswRQIgYKjlaz0m4aTW5vN2yG8JNRvOdxSHFiKxBcxdJhJb2R4CIQDoW5ehtgjlERFadf2ds3_oNS3E0taycuzBE8lidK-CDg%3D%3D&sparams=expire%2Cei%2Cip%2Cgoc%2Cfvskm%2Cgomt%2Cmime%2Csgovp%2Crequiressl%2Cacao%2Cctier%2Csource%2Cid%2Citag%2Cgomv%2Csusc%2Cxpc&susc=dvc&xpc=Eghovf3BOnoBAQ%3D%3D
    #EXTINF:5,
    https://redirector.googlevideo.com/videoplayback/fvidshow/125/fvidskip/0/fvskm/125/goc/13/gomt/100%2C3750%2C7250%2C11250%2C14000/gomv/google_2199199057037872762%2Cgoogle_2047151578801398497%2Cgoogle_0164136948607600727%2Cgoogle_5136901778533126811%2Cgoogle_0783002838873978858/govp/slices%3D0-739%2C1654807-2486356/id/cd21b094b65abe7d/itag/340/mime/video%2FMP2T/sgovp/gir%3Dyes%3Bitag%3D340%3Bxtags%3Dvc%3Davc%3Avccf%3Dmain%3Avfr%3D25%3Avsz%3D1280x720%3Avtbr%3D1300%3Bclen%3D2486357%3Bdur%3D15000%3Blmt%3D1696199358904544/source/dclk_video_ads?acao=yes&ctier=L&ei=OjvrZam2ItPP4t4P4rm68A4&expire=1710001338&ip=0.0.0.0&nc=4117&requiressl=yes&sig=AJfQdSswRQIgYKjlaz0m4aTW5vN2yG8JNRvOdxSHFiKxBcxdJhJb2R4CIQDoW5ehtgjlERFadf2ds3_oNS3E0taycuzBE8lidK-CDg%3D%3D&sparams=expire%2Cei%2Cip%2Cgoc%2Cfvskm%2Cgomt%2Cmime%2Csgovp%2Crequiressl%2Cacao%2Cctier%2Csource%2Cid%2Citag%2Cgomv%2Csusc%2Cxpc&susc=dvc&xpc=Eghovf3BOnoBAQ%3D%3D
    #EXT-X-DISCONTINUITY
    I highlight and delete all sections with the
    Code:
    https://redirector.googlevideo.com/
    portion, from the
    Code:
    #EXTINF:10,
    all the way down to and including
    Code:
    #EXT-X-DISCONTINUITY
    and Delete that section.

    Move on to the next and next, etc. until all
    Code:
    https://redirector.googlevideo.com/
    sections are gone. Save file.

    Now do the same edits in video.m3u8
    If you use the latest pre-release version of N_m3u8DL-RE you can skip the part of editing out the ad segments using the --ad-keyword flag. In this case it would be something like this (not tested):

    Code:
    --ad-keyword redirector.googlevideo.com
    Quote Quote  
  17. Member
    Join Date
    Oct 2023
    Location
    Afghanistan
    Search PM
    Originally Posted by white_snake View Post
    If you use the latest pre-release version of N_m3u8DL-RE you can skip the part of editing out the ad segments using the --ad-keyword flag. In this case it would be something like this (not tested):

    Code:
    --ad-keyword redirector.googlevideo.com
    Interesting thanks for the info. I tested this function with the above code and it worked perfectly. Been messing around with SBSOD for a while now and getting lots of mux fail errors with N_m3u8DL-RE. This solves the issue for me.
    Quote Quote  
  18. Member
    Join Date
    Mar 2006
    Location
    United States
    Search Comp PM
    Originally Posted by white_snake View Post
    Originally Posted by ehurdler View Post
    Now I open audio.m3u8 in Notepad++

    I do a search for "[CODE]https://redirector.googlevideo.com/[/CODE

    Will see a bunch of sections like this:

    Code:
    #EXTINF:10,
    https://redirector.googlevideo.com/videoplayback/fvidshow/250/fvidskip/0/fvskm/125/goc/13/gomt/100%2C3750%2C7250%2C11250%2C14000/gomv/google_2199199057037872762%2Cgoogle_2047151578801398497%2Cgoogle_0164136948607600727%2Cgoogle_5136901778533126811%2Cgoogle_0783002838873978858/govp/slices%3D0-1654806/id/cd21b094b65abe7d/itag/340/mime/video%2FMP2T/sgovp/gir%3Dyes%3Bitag%3D340%3Bxtags%3Dvc%3Davc%3Avccf%3Dmain%3Avfr%3D25%3Avsz%3D1280x720%3Avtbr%3D1300%3Bclen%3D2486357%3Bdur%3D15000%3Blmt%3D1696199358904544/source/dclk_video_ads?acao=yes&ctier=L&ei=OjvrZam2ItPP4t4P4rm68A4&expire=1710001338&ip=0.0.0.0&nc=4117&requiressl=yes&sig=AJfQdSswRQIgYKjlaz0m4aTW5vN2yG8JNRvOdxSHFiKxBcxdJhJb2R4CIQDoW5ehtgjlERFadf2ds3_oNS3E0taycuzBE8lidK-CDg%3D%3D&sparams=expire%2Cei%2Cip%2Cgoc%2Cfvskm%2Cgomt%2Cmime%2Csgovp%2Crequiressl%2Cacao%2Cctier%2Csource%2Cid%2Citag%2Cgomv%2Csusc%2Cxpc&susc=dvc&xpc=Eghovf3BOnoBAQ%3D%3D
    #EXTINF:5,
    https://redirector.googlevideo.com/videoplayback/fvidshow/125/fvidskip/0/fvskm/125/goc/13/gomt/100%2C3750%2C7250%2C11250%2C14000/gomv/google_2199199057037872762%2Cgoogle_2047151578801398497%2Cgoogle_0164136948607600727%2Cgoogle_5136901778533126811%2Cgoogle_0783002838873978858/govp/slices%3D0-739%2C1654807-2486356/id/cd21b094b65abe7d/itag/340/mime/video%2FMP2T/sgovp/gir%3Dyes%3Bitag%3D340%3Bxtags%3Dvc%3Davc%3Avccf%3Dmain%3Avfr%3D25%3Avsz%3D1280x720%3Avtbr%3D1300%3Bclen%3D2486357%3Bdur%3D15000%3Blmt%3D1696199358904544/source/dclk_video_ads?acao=yes&ctier=L&ei=OjvrZam2ItPP4t4P4rm68A4&expire=1710001338&ip=0.0.0.0&nc=4117&requiressl=yes&sig=AJfQdSswRQIgYKjlaz0m4aTW5vN2yG8JNRvOdxSHFiKxBcxdJhJb2R4CIQDoW5ehtgjlERFadf2ds3_oNS3E0taycuzBE8lidK-CDg%3D%3D&sparams=expire%2Cei%2Cip%2Cgoc%2Cfvskm%2Cgomt%2Cmime%2Csgovp%2Crequiressl%2Cacao%2Cctier%2Csource%2Cid%2Citag%2Cgomv%2Csusc%2Cxpc&susc=dvc&xpc=Eghovf3BOnoBAQ%3D%3D
    #EXT-X-DISCONTINUITY
    I highlight and delete all sections with the
    Code:
    https://redirector.googlevideo.com/
    portion, from the
    Code:
    #EXTINF:10,
    all the way down to and including
    Code:
    #EXT-X-DISCONTINUITY
    and Delete that section.

    Move on to the next and next, etc. until all
    Code:
    https://redirector.googlevideo.com/
    sections are gone. Save file.

    Now do the same edits in video.m3u8
    If you use the latest pre-release version of N_m3u8DL-RE you can skip the part of editing out the ad segments using the --ad-keyword flag. In this case it would be something like this (not tested):

    Code:
    --ad-keyword redirector.googlevideo.com
    white_snake - Thanks for the info on this! This certainly worked, as well as cut down a lot of time! Much appreciated!
    Quote Quote  
  19. Thanks, but I cant find "googlevideo.com" and still only download ads.

    I get Warning "stream 1 : no PTS found at end of file, duration not set" and "timestamp discontinuity (stream id:256)"

    Using NordVPN>Protocol>NordLynx

    Using Stream Detector and copy/paste N_m3u8DL-RE link of the master.m3u8 and not working???
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!