Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Re: need help downloading from zipstreams.netHi,
you can also use RegEx search mode in Notepad++ Code:
\w.+.ts Code:
http://....1800K/20/$& Code:
https://regexr.com/ https://regex101.com/ |
#12
|
|||
|
|||
Re: need help downloading from zipstreams.netJonDough,
I tried your suggestion to use livestreamer. I am using livestreamer (livestreamer-v1.12.2-win32-setup.exe) and I got a fresh m3u8 by playing the video in Chrome. Code:
http://hlslive-akc.med2.med.nhl.com/hdnts=exp=1511085004~acl=/*~id=nhlGatewayId:6743919~data=54575003~hmac=2c808b5b1469741463f3a262b9cb4cc9cc3d20699a88638d848fce68d97cf692/8924e48c510c791cdc783d4ad294ec06/ls04/nhl/2017/11/18/NHL_GAME_VIDEO_NYRCBJ_M2_HOME_20171118_1510679671624/master_wired60.m3u8 Code:
livestreamer "hlsvariant://http://hlslive-akc.med2.med.nhl.com/hdnts=exp=1511085004~acl=/*~id=nhlGatewayId:6743919~data=54575003~hmac=2c808b5b1469741463f3a262b9cb4cc9cc3d20699a88638d848fce68d97cf692/8924e48c510c791cdc783d4ad294ec06/ls04/nhl/2017/11/18/NHL_GAME_VIDEO_NYRCBJ_M2_HOME_20171118_1510679671624/master_wired60.m3u8" 360p Also to lessor, troller12, thank you for helping me edit the m3u8 file to download with ffmpeg. Your descriptions were too complicated for me to follow, but I was able to adapt your advice and come up with an easy solution for editing that I will describe in another post in this thread. Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\default> C:\Documents and Settings\default>livestreamer "hlsvariant://http://hlslive-akc. med2.med.nhl.com/hdnts=exp=1511085004~acl=/*~id=nhlGatewayId:6743919~data=545750 03~hmac=2c808b5b1469741463f3a262b9cb4cc9cc3d20699a 88638d848fce68d97cf692/8924e48 c510c791cdc783d4ad294ec06/ls04/nhl/2017/11/18/NHL_GAME_VIDEO_NYRCBJ_M2_HOME_2017 1118_1510679671624/master_wired60.m3u8" 360p [cli][info] Found matching plugin stream for URL hlsvariant://http://hlslive-akc .med2.med.nhl.com/hdnts=exp=1511085004~acl=/*~id=nhlGatewayId:6743919~data=54575 003~hmac=2c808b5b1469741463f3a262b9cb4cc9cc3d20699 a88638d848fce68d97cf692/8924e4 8c510c791cdc783d4ad294ec06/ls04/nhl/2017/11/18/NHL_GAME_VIDEO_NYRCBJ_M2_HOME_201 71118_1510679671624/master_wired60.m3u8 [cli][info] Available streams: 216p (worst), 288p, 360p, 504p, 540p, 720p (best) [cli][info] Opening stream: 360p (hls) [stream.hls][error] Failed to create decryptor: Unable to open URL: https://mf.s vc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/54575003/kid/70007937 (400 Client E rror: Bad Request) [cli][error] No data returned from stream C:\Documents and Settings\default> |
#13
|
|||
|
|||
Re: need help downloading from zipstreams.netHow to download zipstreams with ffmpeg. I tried this on several computers with different videos and it works.
Play zipstreams video with browser network analyser and copy m3u8 string to notepad (example pattern): Code:
http://hlslive-akc.med2.med.nhl.com/hdnts=exp=1511085004~acl=/*~id=nhlGatewayId:6743919~data=54575003~hmac=2c808b5b1469741463f3a262b9cb4cc9cc3d20699a88638d848fce68d97cf692/8924e48c510c791cdc783d4ad294ec06/ls04/nhl/2017/11/18/NHL_GAME_VIDEO_NYRCBJ_M2_HOME_20171118_1510679671624/1800K/1800_complete-trimmed.m3u8 1800_complete-trimmed.m3u8 Take above m3u8 string and cut off the end and add \0 so you have: Code:
http://hlslive-akc.med2.med.nhl.com/hdnts=exp=1511085004~acl=/*~id=nhlGatewayId:6743919~data=54575003~hmac=2c808b5b1469741463f3a262b9cb4cc9cc3d20699a88638d848fce68d97cf692/8924e48c510c791cdc783d4ad294ec06/ls04/nhl/2017/11/18/NHL_GAME_VIDEO_NYRCBJ_M2_HOME_20171118_1510679671624/1800K/\0 Use notepad++ to replace all hostnames (mf.svc.nhl.com > zipstreams.net) in 1800_complete-trimmed.m3u8 (as shown in screenshot 1) Save to notepad file. I called it 1800.txt Go to: https://regex101.com/ and drag 1800.txt file into Test string box Paste below into Regular Expression box [0-9][0-9]\/[0-9][0-9]\/[0-9][0-9]\.ts Paste above "http string" into Substitution box See screenshot 2, five red checkmarks indicate the important points. Put cursor in bottom window, right click and select all so the the box turn blue, copy and paste into new notepad file. You can rename to hockey.m3u8, put this file into folder that contains ffmpeg. (open hockey.m3u8 in notepad++ and verify that all .ts strings have the http string (without \0) joined together.) example: Code:
http://hlslive-akc.med2.med.nhl.com/hdnts=exp=1511085004~acl=/*~id=nhlGatewayId:6743919~data=54575003~hmac=2c808b5b1469741463f3a262b9cb4cc9cc3d20699a88638d848fce68d97cf692/8924e48c510c791cdc783d4ad294ec06/ls04/nhl/2017/11/18/NHL_GAME_VIDEO_NYRCBJ_M2_HOME_20171118_1510679671624/1800K/00/00/12.ts ffmpeg -i "Hockey.m3u8" -c copy -bsf:a aac_adtstoasc output.mp4 this command on newer machines with newer ffmpeg; ffmpeg -protocol_whitelist "file,http,https,tcp,tls,crypto" -i "Hockey.m3u8" -c copy -c:a copy output.mp4 Last edited by jimdays : 11-18-2017 at 07:36 PM. |
Tags: zipstreamsnet |
Thread Tools | |
Display Modes | |
|
|