Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

How do i download the m3u8 file from starsports video?

(http://stream-recorder.com/forum/showthread.php?t=21058)

sscomp32 06-08-2016 04:43 PM

How do i download the m3u8 file from starsports video?


 
I need to download the m3u8 file of this video.

http://www.starsports.com/cricket/vi...ope/index.html

How can i do that?

Since livestreamer does not work on some videos i searched and found another method but for that i need to download the m3u8 file first.

Thanks.

Terenz 06-09-2016 09:01 AM

Re: How do i download the m3u8 file from starsports video?


 
I hate damn india proxy. Anyway is easy, with the network monitor of chrome or firefox search for the manifest.f4m. Copy the URL on notepad, replace z with i and manifest.f4m with master.m3u8
That's all
Code:

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=241000,RESOLUTION=320x180,CODECS="avc1.66.30, mp4a.40.2"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=461000,RESOLUTION=416x234,CODECS="avc1.66.30, mp4a.40.2"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=862000,RESOLUTION=640x360,CODECS="avc1.66.30, mp4a.40.2"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1360000,RESOLUTION=720x404,CODECS="avc1.66.30, mp4a.40.2"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2066000,RESOLUTION=1280x720,CODECS="avc1.66.30, mp4a.40.2"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=61000,CODECS="mp4a.40.2"

The m3u8 isn't encrypted so you can use also ffmpeg

sscomp32 06-09-2016 12:51 PM

Re: How do i download the m3u8 file from starsports video?


 
Quote:

Originally Posted by Terenz (Post 84706)
I hate damn india proxy. Anyway is easy, with the network monitor of chrome or firefox search for the manifest.f4m. Copy the URL on notepad, replace z with i and manifest.f4m with master.m3u8
That's all
Code:

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=241000,RESOLUTION=320x180,CODECS="avc1.66.30, mp4a.40.2"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=461000,RESOLUTION=416x234,CODECS="avc1.66.30, mp4a.40.2"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=862000,RESOLUTION=640x360,CODECS="avc1.66.30, mp4a.40.2"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1360000,RESOLUTION=720x404,CODECS="avc1.66.30, mp4a.40.2"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2066000,RESOLUTION=1280x720,CODECS="avc1.66.30, mp4a.40.2"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=61000,CODECS="mp4a.40.2"

The m3u8 isn't encrypted so you can use also ffmpeg

@terenz: Already know this replacing method but it gives 403 error in livestreamer and both ffmpeg :confused:

Could you please tell me the exact command on how to download the m3u8 file?

Also how do you get the #EXTM3U code? If i am not wrong it is inside the m3u8 file while you open in notepad after downloading isn't it?

Thanks.

sscomp32 06-09-2016 01:06 PM

Re: How do i download the m3u8 file from starsports video?


 
Also there is another issue which i dont know what i am doing wrong.

It works with this video:
http://www.starsports.com/cricket/vi...469/index.html

What i do is get the manifest using network tools in chrome.

Code:

http://ssvodasp-vh.akamaihd.net/z/videos/vod/cricket/ipl2016/25_04_2016/635971397084377399/635971397084377399_,180,400,800,1300,2000,_STAR.mp4.csmil/manifest.f4m?hdnea=st=1465498905~exp=1465498950~acl=/*~hmac=73b7303f85e24b43d6636b829eed1f52770069e2a0b78110cbff9d092590fff3&hdcore=2.11.3&g=SHFOJSWKRVEZ
After that copy the @bold part of the manifest and replace z with i.

Then i run this command in livestreamer:

Code:

livestreamer "hls://ssvodasp-vh.akamaihd.net/i/videos/vod/cricket/ipl2016/25_04_2016/635971397084377399/635971397084377399_,180,400,800,1300,2000,_STAR.mp4.csmil/index_4_av.m3u8?null=0" best -o 01.ts
The video starts downloading perfectly but But if i repeat the same process with this video http://www.starsports.com/cricket/vi...ope/index.html
it does not work.

Any reason for that?

Terenz 06-10-2016 02:17 AM

Re: How do i download the m3u8 file from starsports video?


 
For download the master.m3u8 you need ALL the URL, not only the bold part so also hdnea, exp, hmac etc. i have say you need to trim the string? Or take only partially? No, just replace some part. The #EXTM3U code? I have download the master.m3u8 for the video you have posted and just open it for let you see that it's work

sscomp32 06-10-2016 03:41 AM

Re: How do i download the m3u8 file from starsports video?


 
Quote:

Originally Posted by Terenz (Post 84713)
For download the master.m3u8 you need ALL the URL, not only the bold part so also hdnea, exp, hmac etc. i have say you need to trim the string? Or take only partially? No, just replace some part. The #EXTM3U code? I have download the master.m3u8 for the video you have posted and just open it for let you see that it's work

I took the whole url after replacing as you said. But how do i download the m3u8? What software to use? Download it normally like we do for any other file?

Everything i try says forbidden. :(

It will be really great if you tell me the process how you downloaded the m3u8. Sorry for pestering you too much.

Thanks.

Terenz 06-10-2016 05:08 AM

Re: How do i download the m3u8 file from starsports video?


 
I have tell you the process...take the URL of the f4m, replace some part, paste in the browser and download the file. You have to do before the manifest expire so fast as possible just after load first seconds of the video, nothing else o any hidden magic things.

sscomp32 06-10-2016 05:36 AM

Re: How do i download the m3u8 file from starsports video?


 
Quote:

Originally Posted by Terenz (Post 84715)
I have tell you the process...take the URL of the f4m, replace some part, paste in the browser and download the file. You have to do before the manifest expire so fast as possible just after load first seconds of the video, nothing else o any hidden magic things.

Thank you so so much and sorry for troubling you.
It doesn't work for me but i will still try.
Thank you so much. :D

sscomp32 06-10-2016 05:51 AM

Re: How do i download the m3u8 file from starsports video?


 
I tried again and successfully downloaded the m3u8 for http://www.starsports.com/cricket/vi...469/index.html

But again the same method does not work for
http://www.starsports.com/cricket/vi...ope/index.html

And i get this error:


Any reason you can see?

Also can you download the manifest i was unable to download?

Again Thank you so much for the help .

Terenz 06-10-2016 06:25 AM

Re: How do i download the m3u8 file from starsports video?


 
Yes work
Code:

#EXTM3U
#EXT-X-TARGETDURATION:6
#EXT-X-ALLOW-CACHE:YES
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:6.000,
http://staruvod1-vh.akamaihd.net/i/vod/iccworldt202014/08_04_2014/635325864548909513_,180,400,800,1300,2000,_STAR.mp4.csmil/segment1_4_av.ts
#EXTINF:6.000,
http://staruvod1-vh.akamaihd.net/i/vod/iccworldt202014/08_04_2014/635325864548909513_,180,400,800,1300,2000,_STAR.mp4.csmil/segment2_4_av.ts
#EXTINF:6.000,
http://staruvod1-vh.akamaihd.net/i/vod/iccworldt202014/08_04_2014/635325864548909513_,180,400,800,1300,2000,_STAR.mp4.csmil/segment3_4_av.ts
#EXTINF:6.000,
http://staruvod1-vh.akamaihd.net/i/vod/iccworldt202014/08_04_2014/635325864548909513_,180,400,800,1300,2000,_STAR.mp4.csmil/segment4_4_av.ts
CUT
#EXT-X-ENDLIST



All times are GMT -6. The time now is 12:43 AM.