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

how to download from www.fox.com

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

chanc 10-01-2012 07:05 AM

how to download from www.fox.com


 
Link :http://www.fox.com/americandad/full-.../ricky-spanish

The video won't play in firefox but goes well in chrome. So weird.

svnpenn 10-01-2012 07:46 AM

Re: how to download from www.fox.com


 
Code:

php /opt/Scripts/AdobeHDS.php --manifest 'http://fbchdvod-f.akamaihd.net/z/Fox
.com/16/1005/AmericanDad_7AJN02_,15,22,30,50,80,130,180,250,0.mp4.csmil/manifest
.f4m?hdnea=st=1349099078~exp=1349099198~acl=/z/Fox.com/16/1005/AmericanDad_7AJN0
2_*~id=f8fee48d-758d-410b-8bce-550be3a3c880~hmac=494a17d4d4d789dd33494ea261e83b2
99a639c57aeef80a9c59bf17b19cef375&hdcore=2.6.8&g=RWHBMTYJYVEY'

                            KSV Adobe HDS Downloader

Processing manifest info....
Quality Selection:
 Available: 2623 1923 1423 892 560 328 248 178
 Selected : 2623
Unknown packet type 11 encountered! Encrypted fragments can't be recovered.


chanc 10-01-2012 07:58 AM

Re: how to download from www.fox.com


 
Quote:

Originally Posted by svnpenn (Post 54855)
Code:

php /opt/Scripts/AdobeHDS.php --manifest 'http://fbchdvod-f.akamaihd.net/z/Fox
.com/16/1005/AmericanDad_7AJN02_,15,22,30,50,80,130,180,250,0.mp4.csmil/manifest
.f4m?hdnea=st=1349099078~exp=1349099198~acl=/z/Fox.com/16/1005/AmericanDad_7AJN0
2_*~id=f8fee48d-758d-410b-8bce-550be3a3c880~hmac=494a17d4d4d789dd33494ea261e83b2
99a639c57aeef80a9c59bf17b19cef375&hdcore=2.6.8&g=RWHBMTYJYVEY'

                            KSV Adobe HDS Downloader

Processing manifest info....
Quality Selection:
 Available: 2623 1923 1423 892 560 328 248 178
 Selected : 2623
Unknown packet type 11 encountered! Encrypted fragments can't be recovered.


So , the adobehds.php won't work.
And rtmp-host.sh doesn't ,either.
Is there any way to solve this ?

svnpenn 10-01-2012 08:11 AM

Re: how to download from www.fox.com


 
You would need to reverse engineer the encryption.

Quote:

Originally Posted by KSV
Encryption scheme used is AES-128-CBC. i couldn't figure out the KDF (key derivation function) used to derive individual packet decryption key from global key using the salt block as shown above. KDF function is executed inside Alchemy VM (a method used to execute c code from ActionScript VM) which makes it very hard to reverse engineer from disassembled code.

stream-recorder.com/forum/showpost.php?p=49998&postcount=204

chanc 10-01-2012 08:24 AM

Re: how to download from www.fox.com


 
Quote:

Originally Posted by svnpenn (Post 54857)
You would need to reverse engineer the encryption.

It seems to me a task impossible to achieve.

chanc 10-02-2012 08:56 PM

Re: how to download from www.fox.com


 
SVNPENN, Is there any other way to download from www.fox.com, except using adobehds.php ?
Do you have fox.sh alike ?

svnpenn 10-02-2012 09:09 PM

Re: how to download from www.fox.com


 
Quote:

Originally Posted by chanc (Post 54896)
SVNPENN, Is there any other way to download from www.fox.com, except using adobehds.php ?
Do you have fox.sh alike ?

My scripts only ease downloading. They do not do decryption.

chap 10-02-2012 11:32 PM

Re: how to download from www.fox.com


 
svnpenn
Can I transfer the http headers
with ffmpeg

example if possible

thanks

svnpenn 10-02-2012 11:49 PM

Re: how to download from www.fox.com


 
Quote:

Originally Posted by chap (Post 54901)
svnpenn
Can I transfer the http headers
with ffmpeg

Maybe

Code:

ffmpeg -i "http://mysite.com:80/live" -headers "Referer: http://www.mysite.com" -c copy out.ts
ffmpeg.org/pipermail/ffmpeg-user/2012-February/005095.html

denobis 09-01-2013 04:36 PM

Re: how to download from www.fox.com


 
Quote:

Originally Posted by chanc (Post 54896)
SVNPENN, Is there any other way to download from www.fox.com, except using adobehds.php ?
Do you have fox.sh alike ?

Yes, there is other way. In your example,

http://www.fox.com/americandad/full-.../ricky-spanish

you get this direction

http://fbchdvod-f.akamaihd.net/z/Fox
.com/16/1005/AmericanDad_7AJN02_,15,22,30,50,80,130,180,250,0.m p4.csmil/manifest
.f4m?hdnea=st=1349099078~exp=1349099198~acl=/z/Fox.com/16/1005/AmericanDad_7AJN0
2_*~id=f8fee48d-758d-410b-8bce-550be3a3c880~hmac=494a17d4d4d789dd33494ea261e83b2
99a639c57aeef80a9c59bf17b19cef375&hdcore=2.6.8&g=R WHBMTYJYVEY

which is a f4m manifest.

But you can get m3u8 manifest and use ffmpeg to download and decrypt the chunks. In this case you can access the m3u8 with
http://link.theplatform.com/s/fox.co...e&manifest=m3u, getting these qualities

BANDWIDTH=328000,RESOLUTION=480x270 ffmpeg Download

BANDWIDTH=2623000,RESOLUTION=1280x720 ffmpeg Download

BANDWIDTH=1923000,RESOLUTION=1280x720 ffmpeg Download

BANDWIDTH=1423000,RESOLUTION=1024x576 ffmpeg Download

BANDWIDTH=891000,RESOLUTION=640x360 ffmpeg Download

BANDWIDTH=560000,RESOLUTION=480x270 ffmpeg Download

BANDWIDTH=248000,RESOLUTION=402x226,CODECS="avc1.6 6.30, mp4a.40.2" ffmpeg Download

BANDWIDTH=179000,RESOLUTION=402x226,CODECS="avc1.6 6.30, mp4a.40.2" ffmpeg Download

BANDWIDTH=29000,CODECS="mp4a.40.2" ffmpeg Download.

Directly with ffmpeg it shows an error but you can download the crypt.key, and the chunks and use then ffmpeg.

An example of m3u8 for the maximum quality

https://fbchdvod-f.akamaihd.net/i/Fo...M orMWg%3d%3d

Note that you must use 2 cookies to get this file, ahead of the https connection:

hdntl and _alid_


All times are GMT -6. The time now is 06:02 PM.