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

Downloading *.m3u8 playlists with SAMPLE-AES encryption

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

tracymcgrady 03-09-2018 02:30 AM

Downloading *.m3u8 playlists with SAMPLE-AES encryption


 
Hi there,

is anyone have an idea how to download *.m3u8 playlists with SAMPLE-AES encryption?
FFMPEG can download it with AES-128, but if I try do the same for files where using SAMPLE-AES method I facing with error "SAMPLE-AES encryption is not supported yet"

cabulo 03-09-2018 03:39 AM

Re: Downloading *.m3u8 playlists with SAMPLE-AES encryption


 
any url as an example ?

tracymcgrady 03-09-2018 08:16 AM

Re: Downloading *.m3u8 playlists with SAMPLE-AES encryption


 
Quote:

Originally Posted by cabulo (Post 95975)
any url as an example ?

https://neunlds348.akamaized.net/nld...&uid=7459 783


Code:

#EXTM3U
# NeuLion Adaptive Streaming Server Version: 4.2.20180207.20495
#EXT-X-VERSION:5
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="skd://E215AD592A8C624DE32606746205544F",IV=0xE215AD592A8C624DE32606746205544F,KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1"
#EXTINF:10,
2_21700973_phi_mia_2017_b_whole_1_6000_000000.ts
#EXTINF:10,
2_21700973_phi_mia_2017_b_whole_1_6000_000010.ts
#EXTINF:10,
2_21700973_phi_mia_2017_b_whole_1_6000_000020.ts
#EXTINF:10,
2_21700973_phi_mia_2017_b_whole_1_6000_000030.ts
#EXTINF:10,
2_21700973_phi_mia_2017_b_whole_1_6000_000040.ts
#EXTINF:10,
2_21700973_phi_mia_2017_b_whole_1_6000_000050.ts


j_cool 03-09-2018 10:43 AM

Re: Downloading *.m3u8 playlists with SAMPLE-AES encryption


 
you are limiting yourself to one m3u8.

I would begin from start page and sniff it properly.

http://www.ieinspector.com/download.html

It looks like you watch something from "NeuLion", what is 0.00 % of interest to me.

Not something impossible to watch if you really want to:

https://github.com/streamlink/streamlink/issues/1493

tracymcgrady 03-09-2018 11:20 AM

Re: Downloading *.m3u8 playlists with SAMPLE-AES encryption


 
Quote:

Originally Posted by j_cool (Post 95977)
you are limiting yourself to one m3u8.

I would begin from start page and sniff it properly.

http://www.ieinspector.com/download.html

It looks like you watch something from "NeuLion", what is 0.00 % of interest to me.

Not something impossible to watch if you really want to:

https://github.com/streamlink/streamlink/issues/1493

thx for the answer, yes it's NeuLion (NBA LP)
depending on the selected user agent it is m3u8 or mpd - and streamlink can't download no one

confused.com 03-12-2018 04:18 AM

Re: Downloading *.m3u8 playlists with SAMPLE-AES encryption


 
streamlink-0.10.0.exe

https://www.datafilehost.com/d/5bfeb974

tracymcgrady 03-13-2018 11:16 AM

Re: Downloading *.m3u8 playlists with SAMPLE-AES encryption


 
Quote:

Originally Posted by confused.com (Post 96001)

not working =(

Code:

$ streamlink  "https://neunlds348.akamaized.net/nlds_vod/nba/vod/2018/03/12/nlncp/21701004/64e174b0-4182-3de2-159e-4192d05c25c8/v1/stream/2_21701004_mia_por_2017_b_whole_1_cedhls.mp4.m3u8?h=7bd3ea65648a7f26ccc3a14e91bede1f.1520961135630&hdnea=exp=1520961195~acl=/*~hmac=C568A1769FEC458C01C2FE160DF27287079459CD560ED90BFFCA20DCE81FA6BB&nltid=nba&nltdt=139&uid=7459783" best
[cli][info] Found matching plugin hls for URL https://neunlds348.akamaized.net/nlds_vod/nba/vod/2018/03/12/nlncp/21701004/64e174b0-4182-3de2-159e-4192d05c25c8/v1/stream/2_21701004_mia_por_2017_b_whole_1_cedhls.mp4.m3u8?h=7bd3ea65648a7f26ccc3a14e91bede1f.1520961135630&hdnea=exp=1520961195~acl=/*~hmac=C568A1769FEC458C01C2FE160DF27287079459CD560ED90BFFCA20DCE81FA6BB&nltid=nba&nltdt=139&uid=7459783
[cli][info] Available streams: 360p (worst), 540p, 720p_alt2, 720p_alt, 720p (best)
[cli][info] Opening stream: 720p (hls)
[stream.hls][error] Failed to create decryptor: ('Unable to decrypt cipher {0}', u'SAMPLE-AES')
[cli][error] Try 1/1: Could not open stream <HLSStream('https://neunlds348.akamaized.net/nlds_vod/nba/vod/2018/03/12/nlncp/21701004/64e174b0-4182-3de2-159e-4192d05c25c8/v1/stream/2_21701004_mia_por_2017_b_whole_1_6000_cedhls.mp4.m3u8')> (No data returned from stream)
error: Could not open stream <HLSStream('https://neunlds348.akamaized.net/nlds_vod/nba/vod/2018/03/12/nlncp/21701004/64e174b0-4182-3de2-159e-4192d05c25c8/v1/stream/2_21701004_mia_por_2017_b_whole_1_6000_cedhls.mp4.m3u8')>, tried 1 times, exiting
[cli][info] Closing currently open stream...


guantanamo 03-13-2018 01:13 PM

Re: Downloading *.m3u8 playlists with SAMPLE-AES encryption


 
It used to work for everybody except for you, before streamlink removed neulion plugin
because of neulion complaint.

There is neulion plugin in streamlink 10, use it properly as it is supposed to be used.

tracymcgrady 03-13-2018 01:37 PM

Re: Downloading *.m3u8 playlists with SAMPLE-AES encryption


 
Quote:

Originally Posted by guantanamo (Post 96018)
It used to work for everybody except for you, before streamlink removed neulion plugin
because of neulion complaint.

There is neulion plugin in streamlink 10, use it properly as it is supposed to be used.

do u have streamlink 10 for Mac OS?

guantanamo 03-13-2018 01:43 PM

Re: Downloading *.m3u8 playlists with SAMPLE-AES encryption


 
No.

windows one only, 0.10.0, 10 was typing mistake.

This is why there is this forum.

There may be some other member who runs Mac and might post a link.

You could simply copy neulion plugin to plugins directory in any streamlink release, it should work.

NeuLion plugin is what you want in your case.

You can find neulion plugin in streamlink 0.10.0 and use it with any other streamlink.


All times are GMT -6. The time now is 12:55 PM.