triple7
05-18-2016, 06:16 AM
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
http://iapcursos.localmidia.com.br/iapcursos/_definst_/iapcursos/Portugues/AcordoOrtografico/PorACOMourao001.mp4/playlist.m3u8
http://iapcursos.localmidia.com.br/iapcursos/_definst_/iapcursos/Portugues/AcordoOrtografico/PorACOMourao001.mp4/chunk.m3u8
triple7
05-18-2016, 07:54 AM
http://iapcursos.localmidia.com.br/iapcursos/_definst_/iapcursos/Portugues/AcordoOrtografico/PorACOMourao001.mp4/playlist.m3u8
http://iapcursos.localmidia.com.br/iapcursos/_definst_/iapcursos/Portugues/AcordoOrtografico/PorACOMourao001.mp4/chunk.m3u8
I've got those links already but can't download
Terenz
05-18-2016, 09:21 AM
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:
#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:
ffmpeg -i "X:\Path\chunk.m3u8" -c copy Final.ts
Just for see i'm know what i'm talking:
http://i67.tinypic.com/4lk6xl.png
Good Luck.
triple7
05-18-2016, 12:41 PM
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
Easy way. Download ChromeCacheView --> Search the "key" --> Click on the third icon "Copy Selected Cache File To..."
stinkfoot
05-18-2016, 02:10 PM
yes triples why you no wanting using livestreamer yes?
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
yes triples why you no wanting using livestreamer yes?
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
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.