PDA

View Full Version : Force HD stream URL via download script?


Henrik Söderlund
12-04-2012, 06:15 AM
I have successfully downloaded an advent calendar episode (http://tv.nrk.no/serie/julekongen/msus24000212/sesong-1/episode-2) from the NRK website.

I have used a loop-download curl script to download the fragments:

curl -o "Julekongen3_#1.f4f" http://nordond22a-f.akamaihd.net/z/wo/open/f0/f0f0d7a0041de08947fdfe700a468cd6b0948fe8/f0f0d7a0041de08947fdfe700a468cd6b0948fe8_,141,316, 563,1266,2250,.mp4.csmil/1_ee8b5f6c472833a3_Seg1-Frag[1-500]


Then combined them via the AdobeGDS.php script:

php AdobeHDS.php Julekongen1_

All good so far, but the movie output from the above URL is terrible.

Since my internet connection is super slow, the player automatically throttles the NRK player to the lowest quality, but I know that NRK hosts 5 different quality settings for every title. (you cannot select your own quality via the flash player)

How can I via the URL force the curl script to choose the highest quality stream?

Thanks in advance!

KSV
12-04-2012, 07:27 AM
why don't you use the manifest switch instead which will download the highest quality by default.

php AdobeHDS.php --manifest "http://nordond22c-f.akamaihd.net/z/wo/open/99/992ceec0cc38383bde66ca0a1690678e62a992cd/992ceec0cc38383bde66ca0a1690678e62a992cd_,141,316, 563,1266,2250,.mp4.csmil/manifest.f4m?hdcore=2.7.6" --delete


KSV Adobe HDS Downloader

Processing manifest info....
Quality Selection:
Available: 2399 1416 714 388 213
Selected : 2399
Downloading 8/243 fragments

Henrik Söderlund
12-05-2012, 08:01 AM
Wow, that seems to b the perfect option! I have read about the manifest switch somewhere, but did not know how to use it.

Many thanks will try it now.