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

Download video from this site

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

triple7 05-18-2016 06:16 AM

Download video from this site


 
In order to see the demo video, click on "VER VÍDEO DEMONSTRATIVO" on the right side.

Link:
http://bit.ly/1sxVRpO

I've tried a couple things that haven't worked so far. Would anyone be able to help?

Thank you in advance

Terenz 05-18-2016 07:44 AM

Re: Download video from this site


 
http://iapcursos.localmidia.com.br/i.../playlist.m3u8
http://iapcursos.localmidia.com.br/i...mp4/chunk.m3u8

triple7 05-18-2016 07:54 AM

Re: Download video from this site


 
I've got those links already but can't download

Terenz 05-18-2016 09:21 AM

Re: Download video from this site


 
Ok i'll explain and in this forum is very hard someone explain something. The stream is AES-128 encrypted, so you need the key. If you'll play the video, you will found the "key.php" in the temporany folder of your browser, i'm using IE. Now you need to edit the "chunk.m3u8" in this way:
Code:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-KEY:METHOD=AES-128,URI="key.php"
#EXTINF:3.066,
http://iapcursos.localmidia.com.br/iapcursos/_definst_/iapcursos/Portugues/AcordoOrtografico/PorACOMourao001.mp4/n_0_0_0.ts?nimblesessionid=XXXXX

So replace the URI with only "key.php" and the n_0_0_0.ts with the full link and XXXXXX with yours nimblesessionid. Obliviusly you need to do for all the TS, not only the first n_0 but until the n_220

At this point save the "key.php" and "chunk.m3u8" in the same location. With ffmepeg:
Code:

ffmpeg -i "X:\Path\chunk.m3u8" -c copy Final.ts
Just for see i'm know what i'm talking:


Good Luck.

triple7 05-18-2016 12:41 PM

Re: Download video from this site


 
First of all, thanks for your help (indeed, people here tend not to get into detail). But there's still a problem. I cannot find the key.php file. I've tried several browsers and the key isn't in any of the temp folders I inspected. Correct me if I'm wrong but I thought browsers wouldn't download php files as they're server-side scripts.

Thank you again sir

Terenz 05-18-2016 01:07 PM

Re: Download video from this site


 
Easy way. Download ChromeCacheView --> Search the "key" --> Click on the third icon "Copy Selected Cache File To..."

stinkfoot 05-18-2016 02:10 PM

Re: Download video from this site


 
yes triples why you no wanting using livestreamer yes?
Code:

livestreamer --http-header "Referer=http://www.iapcursosonline.com" "hlsvariant://http://iapcursos.localmidia.com.br/iapcursos/_definst_/iapcursos/Portugues/AcordoOrtografico/PorACOMourao001.mp4/playlist.m3u8" best -o PorACOMourao001.ts

triple7 05-18-2016 02:35 PM

Re: Download video from this site


 
Quote:

Originally Posted by stinkfoot (Post 84389)
yes triples why you no wanting using livestreamer yes?
Code:

livestreamer --http-header "Referer=http://www.iapcursosonline.com" "hlsvariant://http://iapcursos.localmidia.com.br/iapcursos/_definst_/iapcursos/Portugues/AcordoOrtografico/PorACOMourao001.mp4/playlist.m3u8" best -o PorACOMourao001.ts

That worked like a charm. I wasn't using --http-header so I had some hard time at getting the AES-128 encryption figured out

Huge thanks


All times are GMT -6. The time now is 04:15 AM.