PDA

View Full Version : ESPN3 now encrypting TS via Uplynk?


RektByDRM
02-18-2015, 05:10 PM
Been lurking for a while now but first time posting.

Previously it was possible to use RtmpDumpHelper to grab from ESPN3 but it looks like they've upgraded to use Uplynk. In return, higher quality streams seem to be available but with my bandwidth, the adaptive player won't select them. I've looked at the links and its now an AES-128 encrypted TS stream. The TS segments are easy enough to grab via IDM but since they are encrypted they won't play.

There is also a key file for the AES128 encryption but I don't know how to get it. I tried curl to download but it returns a 'body not found' error. Is it expiring that quickly? Links are below, any ideas how to download for playback later? I really want the i.m3u8 for max quality. Feeding directly into FFMPEG returns a 403 forbidden error. Guessing because of cookies or key.

Can also provide login, let me know.

Main player page (behind authentication)
http://espn.go.com/watchespn/player/_/id/2321398/

.m3u8
http://content-ausw1.uplynk.com/b50d44ebb30542a98aa20d5351dee4e6/f.m3u8?ad.kv=_fw_ae,d8b58f7bfce28eefcc1cdd5b95c3b6 63&exp=1424303720&rn=876163701&tc=1&oid=d09b16c953aa40c98dd8c513526aca5a&linearv=4&ad=secplus&ad.ulbd=1&ad.csid=watchespn:null:secplus&ad.caid=a18167530&eid=a18167530&euid=SEC_VDMS&ct=a&sig=2698cece01ed24661d5a8b529b34bbce3f8eaba1bbb94c b4c811540ae6801e0d&pbs=435333ab8b9a4b058aa897df9314d9a1

Key file?
https://content-ausw1.uplynk.com/check2?b=b9b00b0bad664c2197db99b446854382&v=b50d44ebb30542a98aa20d5351dee4e6&r=f&pbs=435333ab8b9a4b058aa897df9314d9a1

hasomaso
02-18-2015, 05:40 PM
ffmpeg -i "http://content-ausw1.uplynk.com/b50d44ebb30542a98aa20d5351dee4e6/f.m3u8?ad.kv=_fw_ae,d8b58f7bfce28eefcc1cdd5b95c3b6 63&exp=1424303720&rn=876163701&tc=1&oid=d09b16c953aa40c98dd8c513526aca5a&linearv=4&ad=secplus&ad.ulbd=1&ad.csid=watchespn:null:secplus&ad.caid=a18167530&eid=a18167530&euid=SEC_VDMS&ct=a&sig=2698cece01ed24661d5a8b529b34bbce3f8eaba1bbb94c b4c811540ae6801e0d&pbs=435333ab8b9a4b058aa897df9314d9a1" -c:v copy -c:a copy -f mpegts espn.flv


http://i.imgur.com/jVGHJjl.png

http://i.imgur.com/kGVyrsF.png

RektByDRM
02-18-2015, 07:06 PM
Thanks, this works great. Think my ffmpeg command was poorly formatted. :(

utuxia
12-02-2015, 01:11 AM
Can you provide an example for producing an `stream.m3u8` file instead of flash? It seems the `-f` force format doesn't work here in your example