PDA

View Full Version : Why not AdobeHds.php can't download NBC ‘meet the press’, but livestreamer can


charmsoya
03-06-2016, 03:00 AM
Hello guys, this is my first time to try to download a HDS stream. If there is any error or incorrect, please point out :) .


What I want to download is ‘Meet the Press’ whose address is

http://www.nbc.com/meet-the-press/video/meet-the-press-feb-28-2016/2992970?onid=210121#vc210121=1

I found its corresponding HDS f4m is

http://nbcmpx-vh.akamaihd.net/z/video/641/943/160226_2992970_Meet_the_Press__Feb__28__2016_mpx_, 1696,1296,896,696,496,306,240,150,64,.mp4.csmil/manifest.f4m?hdnea=st=1457256438~exp=1457269068~ac l=/z/video/641/943/160226_2992970_Meet_the_Press__Feb__28__2016_mpx_* ~id=28361036-d540-4481-a749-b4e0d5b2afe9~hmac=5d735e7977c814952d922706f5df0cd4 ea702d1a0b055f81578403ab150f8f03&g=SEKVBLWCWDJO&hdcore=3.5.0

Then I use the latest AdobeHds.php to download,

php AdobeHDS.php --manifest "http://nbcmpx-vh.akamaihd.net/z/video/641/943/160226_2992970_Meet_the_Press__Feb__28__2016_mpx_, 1696,1296,896,696,496,306,240,150,64,.mp4.csmil/manifest.f4m?hdnea=st=1457256438~exp=1457269068~ac l=/z/video/641/943/160226_2992970_Meet_the_Press__Feb__28__2016_mpx_* ~id=28361036-d540-4481-a749-b4e0d5b2afe9~hmac=5d735e7977c814952d922706f5df0cd4 ea702d1a0b055f81578403ab150f8f03&g=SEKVBLWCWDJO&hdcore=3.5.0"

But the output is "Access Denied! Unable to download fragments."

After trying for many times, it still didn't work, so I had to use 'Livestreamer', the command line is

livestreamer "hds://http://nbcmpx-vh.akamaihd.net/z/video/641/943/160226_2992970_Meet_the_Press__Feb__28__2016_mpx_, 1696,1296,896,696,496,306,240,150,64,.mp4.csmil/manifest.f4m?hdnea=st=1457256438~exp=1457269068~ac l=/z/video/641/943/160226_2992970_Meet_the_Press__Feb__28__2016_mpx_* ~id=28361036-d540-4481-a749-b4e0d5b2afe9~hmac=5d735e7977c814952d922706f5df0cd4 ea702d1a0b055f81578403ab150f8f03&g=SEKVBLWCWDJO&hdcore=3.5.0 'pvswf=https://player.theplatform.com/p/NnzsPC/widget/select/media/guid/2410887629/2992970?fwsitesection=nbc_nbcnews_meet_the_press_v ideo_v15&excludeSharing=true'" best -o meet_the_press.flv

And it works and successfully downloaded the tv program.


Now I want to inquire, where is the problem of AdobeHDS.php? Is it caused by my wrong parameters or some others.:confused:

shawn1122
03-06-2016, 10:26 AM
Which browser are you using? On Firefox the file is getting sent as an Apple HLS stream for me, which is working in both FFMpeg and Livestreamer.

KSV
03-06-2016, 01:25 PM
Try using the "HDS Link Detector (https://addons.mozilla.org/en-US/firefox/addon/hds-link-detector/)" Firefox add-on. you seem to be missing the --auth parameter. it will automatically capture all the required parameters. I am also getting only HLS (.m3u8) links not HDS (.f4m).

aliakrep
03-06-2016, 03:04 PM
try us proxy this link http://link.theplatform.com/s/NnzsPC/media/lxIm5XHPMSQC?player=Onsite%20Player%20%28Universal %29&policy=43674&formats=m3u,mpeg4&format=SMIL&embedded=true&tracking=true

http://i.hizliresim.com/y5L9N0.jpg

charmsoya
03-07-2016, 06:30 AM
Special thanks for all of your replies. I will try it later.

I didn't use firefox. I use the Chrome brower.

How I get the F4M address? The step is:

For example I chose ‘Meet the Press’ of 6th, Mar., 2016

(1) Open the web page

http://www.nbc.com/meet-the-press/video/meet-the-press-march-6-2016/2996474?onid=210121#vc210121=1

you can find the address from the source page of the above link

https://player.theplatform.com/p/NnzsPC/widget/select/media/guid/2410887629/2996474?fwsitesection=nbc_nbcnews_meet_the_press_v ideo_v15&excludeSharing=true

(2) open the above link: https://player.theplatform........, then look for the 'f4m' address in the 'network' tab, as shown in the following figure.

the f4m address is: http://nbcmpx-vh.akamaihd.net/z/video/367/139/160304_2996474_Meet_the_Press___March_6__2016_mpx_ ,1696,1296,896,696,496,306,240,150,64,.mp4.csmil/manifest.f4m?hdnea=st=1457356248~exp=1457368878~ac l=/z/video/367/139/160304_2996474_Meet_the_Press___March_6__2016_mpx_ *~id=6a789314-4a42-4221-b3a7-fd099b86ef6a~hmac=88ad6e8542d99aad1333cec8728c5e62 fce6c4ab9f5c684f7bda047330ea1434&g=FLUSRLNDXXDP&hdcore=3.5.0

Conclusion: I don't find a suitable plugin for HDS address detection in Chrome. BUT may be this method can be used for a rough search.

Any suggestion?