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 Amazon Prime streaming video

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

rgdmn 04-04-2012 09:50 PM

Downloading Amazon Prime streaming video


 
Is there any method besides rtmpExplorer? rtmpExplorer works for me, but my connection to the US is not fast enough to get the HD stream.

I have someone with a fast enough connection, but they keep getting Server not genuine Adobe!/RTMP_CONNECT1 handshake failed errors and can't download.

chap 04-05-2012 07:08 AM

Re: Downloading Amazon Prime streaming video


 
Quote:

Originally Posted by rgdmn (Post 42977)
Is there any method besides rtmpExplorer? rtmpExplorer works for me, but my connection to the US is not fast enough to get the HD stream.

I have someone with a fast enough connection, but they keep getting Server not genuine Adobe!/RTMP_CONNECT1 handshake failed errors and can't download.

there is no point in downloading
You can not open a file
http://stream-recorder.com/forum/sho...70&postcount=5

heyadam 04-06-2012 08:38 PM

Re: Downloading Amazon Prime streaming video


 
Amazon Prime still uses RTMPE with FLV container H.264 video. Many of the commercial RTMPE downloaders are able to download Amazon Prime videos such as TubeDigger, perhaps.

Amazon Instant Video uses the ENCV format referenced above.

Hope this clarification helps out.

Regards,
heyadam

heyadam 04-07-2012 10:23 AM

Re: Downloading Amazon Prime streaming video


 
CORRECTION:
Some older Amazon Prime Video is still FLV/H.264 while some newer video is FlashAccess DRM AES-encrypted as documented above. A show may be split where season 1 is unencrypted and season two is encrypted.

I encountered this for the first time yesterday where season 1 was unencrypted, could be downloaded, playable and converted while season 2 was encrypted, could be downloaded, was NOT playable and could NOT be converted.

(Anagram of the show to thwart search engines)
http://epguides.com/theruL/

FlashAccess is becoming more prevalent so the community should marshall its resources and combat this new DRM!

Regards,
heyadam

chap 04-07-2012 01:18 PM

Re: Downloading Amazon Prime streaming video


 
Quote:

Originally Posted by heyadam (Post 43085)
CORRECTION:
Some older Amazon Prime Video is still FLV/H.264 while some newer video is FlashAccess DRM AES-encrypted as documented above. A show may be split where season 1 is unencrypted and season two is encrypted.

I encountered this for the first time yesterday where season 1 was unencrypted, could be downloaded, playable and converted while season 2 was encrypted, could be downloaded, was NOT playable and could NOT be converted.

(Anagram of the show to thwart search engines)
http://epguides.com/theruL/

FlashAccess is becoming more prevalent so the community should marshall its resources and combat this new DRM!

Regards,
heyadam

http://amzn.com/gp/video/ontv/player

blimey 04-11-2012 09:40 PM

Re: Downloading Amazon Prime streaming video


 
Quote:

Originally Posted by chap (Post 43091)

Getting a working Indivbox.key for the amazon unbox files is no easy business, if not darn near impossible nowadays. I have a few working installations w/Indivbox.key but they are no-go with amazon unbox.

In other news, amazon has really ramped up its conversion of its streaming files to flash access. This flash access nonsense turns out to be bigger hurdle than previously thought.

Funktech 06-15-2012 06:31 PM

Re: Downloading Amazon Prime streaming video


 
is there a way to remove the FlashAccess DRM yet?

Rancher 10-12-2014 02:32 PM

Re: Downloading Amazon Prime streaming video


 
FlashAccess is still unbeatable? Is there a way to download closed captions at least? Please don't tell me they're encrypted, too.

chap 10-12-2014 02:41 PM

Re: Downloading Amazon Prime streaming video


 
link video
login
pass

Rancher 10-12-2014 04:43 PM

Re: Downloading Amazon Prime streaming video


 
Is there a software which I can use for locating subtitles? Because I have many videos that I would like to download captions from, I can't send them all to you. :D I would like to know the procedure.

BlueCop 10-13-2014 04:21 PM

Re: Downloading Amazon Prime streaming video


 
amazon now uses playready/silverlight for Mac and Windows. Linux is still flash.

The licenses can be decrypted if you can get your ecc private key from the silverlight ibx. The matching public key is usually embedded in the XMR license.

I wrote at tool to parse the playready key files, secure store, certificate chains, revocation lists, and xmr licenses to help figure out all the data types contained.

They stream using smooth streaming. These are really just piff segmented mp4 files with its header stripped. It can be remade into an mp4 by generating a correct header from a manifest and A/V file segments.

mp4decrypt from the open source Bento4 can decrypt the file by specifying the AES content key for each encrypted track.

I don't think there is a standard method of obtaining your private key from the IBX because they are obfuscated differently.

FYI unlike netflix which does not encrypt their audio. Amazon does encrypt their audio streams.

The subtitles are not encrypted so can be downloaded/converted easily....

blimey 10-13-2014 05:08 PM

Re: Downloading Amazon Prime streaming video


 
Is the max quality for playready/silverlight (desktop) the same as flash, 2500k 720p with 128k aac 2.0?

All of that information is very interesting but seems like a fair bit of work, especially since the flash is just ordinary rtmpe w/swfVfy2 and no flash access (lately).

I wanted to run their new android app under bluestacks with debugger, but they make you jump hoops to get the apk, so I lost interest.

BlueCop 10-13-2014 05:12 PM

Re: Downloading Amazon Prime streaming video


 
silverlight introduced 3 quality levels above flash.

1920x1080 at 10000000 bps
1280x720 at 6000000 bps
1280x720 at 4000000 bps

It can be a bit of work to get your private key. once you have it you can decrypt most any license. netflix, amazon, etc...

edit: also the 6 channel AC3 is available on the silverlight streams.

the amazon server playready certificate expires 2015-05-31 so they might go with another scheme in the future.

Rancher 10-15-2014 12:08 AM

Re: Downloading Amazon Prime streaming video


 
Quote:

Originally Posted by BlueCop (Post 71448)
The subtitles are not encrypted so can be downloaded/converted easily....

That's interesting. I would like to know how.

BlueCop 10-15-2014 06:41 PM

Re: Downloading Amazon Prime streaming video


 
just monitor the requests and save them.

look for a url similar to this.
hxxps://atv-ps.amazon.com/cdp/catalog/GetSubtitleUrls

That returns the subtitle url with some other json data.
If you aren't authorized for the video then you can't get them.

You can then convert them from the dfxp format to something else.

surya987 10-17-2014 09:50 PM

Re: Downloading Amazon Prime streaming video


 
can still we download from amazone prime and decrypt it....if yes plese tell me ...

thanks

BlueCop 10-17-2014 10:08 PM

Re: Downloading Amazon Prime streaming video


 
blimey seems to indicate that some flash streams aren't using flash access drm. That means rtmpdump could grab them. I really haven't investigated the flash side recently so I can't comment.

Silverlight on windows/mac is much harder to decrypt. One would need a way to get the private keys from playready blackbox. There were solutions for some WMDRM 10 black boxes (drmdbg and freeme2). I don't think anything has been publicly released for silverlight.

sutha25 03-25-2015 03:53 AM

Re: Downloading Amazon Prime streaming video


 
@blimey how to download from amazon if you get the rtmpe with fpslive url i got it but it wont work on rtmpe i think iam doing something wrong

Quote:

{"bitrate":1328,"url":"rtmpe://azusfms-vodfs.fplive.net/azusfms-vod/mp4:video/Customflix/1/542/43/dd4d60d3-c7ed-4ad0-9edb-20ebe7884efd-917.f4v?nvb=20150325094853&nva=20150325194853&sess ionId=16519-edc081ec-5f6a-4b74-996b-a3c7483a4dbe&hash=1b415d8be6d912aeca7e3","contentQ uality":"SD","audioCodec":"STEREO","drm":"FLASH_AC CESS"}]}]}}},"signature":"MRDOKUCa6Bqs7fKSrfNQWqqmpln4LVKYk PTrDIMjemKfZ/r2Fmqq74GxkRZ2IVIdIDljFaqdKE8x+fqpOWxPtWe9ZHClO+La puEuMKgIBRkt+clGT9S/N+Ktx4WjbbXpIdyHe9005XNTWjFbnRcDdM28dejRMCE1OMJBPe Fa1Fo="}
can you help me how you would download this through rtmp?

Manual 03-25-2015 04:43 AM

Re: Downloading Amazon Prime streaming video


 
Since Blimey hasnt been on the forums for quite a while, I hope BlueCop could give us any tip. :)

eonmc2 08-21-2015 07:35 AM

Re: Downloading Amazon Prime streaming video


 
I copied urls of a cartoon episode from Amazon Prime Instant Video (used with chrome html5 video player) by Video Downloadhelper, and I have to use ZenMate proxy because of geoblock. While playing episode those video and audios urls changed often but they were always 372 MB and 24 MB so I downloded mp4-files and seems they contains full episode.

Code:

https://a760avoddashnsus-a.akamaihd.net/d/1$AOAGZA014O5RE,CFF44D03/videoquality$480p/ondemand/361712/prod/9/3/e/93e47bb2-9b16-4dca-994a-7e2017a06ddd/bda8e4c6-1542-4a16-9621-58e8e82f5be6_video_8.mp4/range/141419690-142071865
Code:

General          : bda8e4c6-1542-4a16-9621-58e8e82f5be6_video_8.mp4
Format            : dash at 2 006 Kbps
Length            : 372 MiB for 25mn 54s 800ms

Video #0          : AVC at 2 000 Kbps
Aspect            : 640 x 480 (1.333) at 25.000 fps

Code:

https://a760avoddashnsus-a.akamaihd.net/d/1$AOAGZA014O5RE,CFF44D03/videoquality$480p/ondemand/361712/prod/9/3/e/93e47bb2-9b16-4dca-994a-7e2017a06ddd/bda8e4c6-1542-4a16-9621-58e8e82f5be6_audio_1.mp4/range/5145798-5178527
Code:

General          : bda8e4c6-1542-4a16-9621-58e8e82f5be6_audio_1.mp4
Format            : dash at 131 Kbps
Length            : 24.2 MiB for 25mn 52s 832ms

Audio #0          : AAC at 128 Kbps
Infos            : 2 channels, 48.0 KHz
Language          : en

Those videos doesn't work in VLC/BS/MPC/POT players. I opened those file with notepad and there is text like:
ftypdash iso6dash (freeUSP by CodeShop mdia mdhd »€ Ç 2hdlr soun USP Sound Handler cpssh key-id:VRXcKGt4Q/2DXeBcwFB12Q==*SD2 ótrak \tkhd USP Video Handler


Is there any method to play or decrypt those files in nowadays?

stinkfoot 08-21-2015 03:55 PM

Re: Downloading Amazon Prime streaming video


 
Quote:

Originally Posted by eonmc2 (Post 79132)
I copied urls of a cartoon episode from Amazon Prime Instant Video (used with chrome html5 video player)

Is there any method to play or decrypt those files in nowadays?

chrome html5 yes having playready drm. removing playready drm yes being tricky. you yes better downloading flash video but flash also yes being tricky. what being the webpage or asin of cartoon video? is this yes being american, germany or britain amazon?

eonmc2 08-21-2015 10:48 PM

Re: Downloading Amazon Prime streaming video


 
Quote:

Originally Posted by stinkfoot (Post 79140)
chrome html5 yes having playready drm. removing playready drm yes being tricky. you yes better downloading flash video but flash also yes being tricky. what being the webpage or asin of cartoon video? is this yes being american, germany or britain amazon?

American Amazon and cartoon is this one:
I can watching via Prime membership but I can't buy the serie because:

Quote:

Purchase Error
We're unable to complete your order. Your credit card wasn't charged. Your credit card must be issued from a bank in the United States. If you have any questions, please contact Amazon Customer Service

feldego 08-26-2015 04:23 AM

Re: Downloading Amazon Prime streaming video


 
Amazon's HLS streams are encrypted with FairPlay. Is there a way to decrypt them like with Netflix?

Code:

#EXTM3U
#EXT-X-VERSION:5
## Created with Unified Streaming Platform(version=1.7.11)
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-TARGETDURATION:11
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="skd://ac636592-1c5e-408d-8c12-ff7ad618e0e2",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1"
#EXTINF:10.01, no desc
#EXT-X-BYTERANGE:256056@0
98a243df-403b-4150-a570-3485bc6c0c83_v1.ts
#EXTINF:10.01, no desc
[...]


WHOOKIDSON 08-26-2015 04:39 AM

Re: Downloading Amazon Prime streaming video


 
You'll probably have better luck through RTMPE

feldego 08-26-2015 05:09 AM

Re: Downloading Amazon Prime streaming video


 
Quote:

Originally Posted by WHOOKIDSON (Post 79268)
You'll probably have better luck through RTMPE

The rtmp:// links are in SD only

WHOOKIDSON 08-26-2015 05:47 AM

Re: Downloading Amazon Prime streaming video


 
Quote:

Originally Posted by feldego (Post 79269)
The rtmp:// links are in SD only

:( I'll check it out

feldego 08-28-2015 04:02 PM

Re: Downloading Amazon Prime streaming video


 
Has anyone found a way to get mp4decrypt/mp4box -decrypt working? It doesn't output anything

Code:

mp4decrypt --key 1:536AA5E66342414FA76CA60C03E49A95 --fragments-info info.mpd audio.mp4 out.mp4
Returns an empty file
Code:

mp4box -decrypt info.mpd audio.mp4 out.mp4
Crashes mp4box

XML begin:
Code:

<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:mas="urn:marlin:mas:1-0:services:schemas:mpd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" mediaPresentationDuration="PT1H45M11.424S" minBufferTime="PT10S" profiles="urn:mpeg:dash:profile:isoff-on-demand:2011" type="static" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd">
<Period>
<AdaptationSet contentType="audio" group="1" lang="en" mimeType="audio/mp4" segmentAlignment="true" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
<ContentProtection cenc:default_KID="536AA5E6-6342-414F-A76C-A60C03E49A95" schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc"/>
<ContentProtection schemeIdUri="urn:uuid:9A04F079-9840-4286-AB92-E65BE0885F95" value="MSPR 2.0"/>
<ContentProtection schemeIdUri="urn:uuid:EDEF8BA9-79D6-4ACE-A3C8-27DCD51D21ED"/>
<ContentProtection schemeIdUri="urn:uuid:5E629AF5-38DA-4063-8977-97FFBD9902D4">
<mas:MarlinContentIds>
<mas:MarlinContentId>urn:marlin:kid:536aa5e66342414fa76ca60c03e49a95</mas:MarlinContentId>
</mas:MarlinContentIds>
</ContentProtection>
<Representation audioSamplingRate="24000" bandwidth="32000" codecs="mp4a.40.5" id="audio_eng=32000">...</Representation>
<Representation audioSamplingRate="24000" bandwidth="64000" codecs="mp4a.40.5" id="audio_eng=64000">...</Representation>
<Representation audioSamplingRate="48000" bandwidth="128000" codecs="mp4a.40.2" id="audio_eng=128000">...</Representation>
<Representation audioSamplingRate="48000" bandwidth="256000" codecs="ec-3" id="audio_eng_1=256000">
<AudioChannelConfiguration schemeIdUri="urn:dolby:dash:audio_channel_configuration:2011" value="F801"/>
<BaseURL>df628042-39b3-4100-8546-cc6a85f5b60e_audio_4.mp4</BaseURL>
<SegmentList duration="96000" timescale="48000">...</SegmentList>
</Representation>
</AdaptationSet>


Manual 08-29-2015 12:28 AM

Re: Downloading Amazon Prime streaming video


 
I highly doubt the key you used is the real key.

ItsAngel 09-03-2015 02:03 AM

Re: Downloading Amazon Prime streaming video


 
So i may have found a way to get the flashAccessToken & a rtmpe F4v file for a purchased TV show, is there anyway to use that token and the url to download & decrypt the video? i can also get the FairPlayLicense & PlayReadyLicense. its a bunch of numbers basically. are these licenses & tokens useless? or can we put them to good use? thanks in advance.

P.s a friend of mine sent me(which was sent to him by an acquaintance who wont tell him how he did) a direct Mp4 amazon url that works everytime and has no DRM. if anyone is amazon/Stream Savy & would like to help me find out how we can duplicate this for more videos Feel free to PM so i wont exploit this on here.

drbmn 09-04-2015 01:22 AM

Re: Downloading Amazon Prime streaming video


 
Quote:

Originally Posted by ItsAngel (Post 79494)
So i may have found a way to get the flashAccessToken & a rtmpe F4v file for a purchased TV show, is there anyway to use that token and the url to download & decrypt the video? i can also get the FairPlayLicense & PlayReadyLicense. its a bunch of numbers basically. are these licenses & tokens useless? or can we put them to good use? thanks in advance.

P.s a friend of mine sent me(which was sent to him by an acquaintance who wont tell him how he did) a direct Mp4 amazon url that works everytime and has no DRM. if anyone is amazon/Stream Savy & would like to help me find out how we can duplicate this for more videos Feel free to PM so i wont exploit this on here.

that trick only works for amazon.de now.

JohnW 09-05-2015 04:26 AM

Re: Downloading Amazon Prime streaming video


 
Quote:

Originally Posted by ItsAngel (Post 79494)
So i may have found a way to get the flashAccessToken & a rtmpe F4v file for a purchased TV show, is there anyway to use that token and the url to download & decrypt the video? i can also get the FairPlayLicense & PlayReadyLicense. its a bunch of numbers basically. are these licenses & tokens useless? or can we put them to good use? thanks in advance.

P.s a friend of mine sent me(which was sent to him by an acquaintance who wont tell him how he did) a direct Mp4 amazon url that works everytime and has no DRM. if anyone is amazon/Stream Savy & would like to help me find out how we can duplicate this for more videos Feel free to PM so i wont exploit this on here.

Send you a pm. The method your friend uses has been patched recently. It exploited the unencrypted flash streams used by Google TV. Amazon changed the GetStreamingURLs api to only output SD links, so it's pretty much useless now.

feldego 09-05-2015 06:19 AM

Re: Downloading Amazon Prime streaming video


 
Quote:

Originally Posted by JohnW (Post 79551)
Send you a pm. The method your friend uses has been patched recently. It exploited the unencrypted flash streams used by Google TV. Amazon changed the GetStreamingURLs api to only output SD links, so it's pretty much useless now.

You can still get HD from Amazon US from recently added stuff though

slim94 09-05-2015 07:26 AM

Re: Downloading Amazon Prime streaming video


 
Quote:

Originally Posted by feldego (Post 79555)
You can still get HD from Amazon US from recently added stuff though

How exactly? You can PM if you don't want to share here.

Manual 09-05-2015 08:09 AM

Re: Downloading Amazon Prime streaming video


 
Quote:

Originally Posted by feldego (Post 79555)
You can still get HD from Amazon US from recently added stuff though

Name one title..

ItsAngel 09-05-2015 06:31 PM

Re: Downloading Amazon Prime streaming video


 
Quote:

Originally Posted by feldego (Post 79555)
You can still get HD from Amazon US from recently added stuff though

This is true.

Manual 09-06-2015 02:19 AM

Re: Downloading Amazon Prime streaming video


 
Only 720p?

jokum 09-06-2015 10:45 AM

Re: Downloading Amazon Prime streaming video


 
If i understand right, then
HTML5 is with playready and
HLS with Fairplay.

Somebody can explain, how to capture / save this MP4 ?

I grab the m3u8-File, witch give me a list of the files.
Is there a Tool, to grab this parts ?

Bird313 09-07-2015 01:09 AM

Re: Downloading Amazon Prime streaming video


 
I downloaded a Movie with the new Amazon Video App on a rooted Android Tablet.
The Movie goes to a folder whithin

/data/data/com.amazon.avod.thirdpartyclient/files/downloads

and has the following structure:

/0
/4
/subtitles
/trickplay
/xray
/manif.atv

"0" and "4" seem to contain the video and audio streams in 2620 numbered folders with chunks of the streams, all named 1350000.atv and 128000.atv

each folder has a file named stats.atv in the root

Is there any way to decrypt and convert?

JohnW 09-07-2015 03:57 AM

Re: Downloading Amazon Prime streaming video


 
@Bird313: Can you upload the manif.atv and stats.atv files somewhere? Also what's in the trickplay folder?

@Jokum: HLS matches FairPlay, yes, but it retrieves the key through the Fairplay SDK which was used in building the application, good luck getting the key and decrypting the content. Same is true for PlayReady which matches SmoothStreaming, it requires a content key for decryption as well. You can download the encrypted audio/video files easily, but getting the license and extracting the key from it is pretty difficult (because you can't directly retrieve the license, it requires some additional parameter. If you misspell one of the DesiredResources options you can find what other resources you can retrieve, it includes the licenses for all the DRM, but you need an additional parameter to retrieve them.

Bird313 09-07-2015 07:37 AM

Re: Downloading Amazon Prime streaming video


 
1 Attachment(s)
@JohnW:
The trickplay folder contains a set of small jpg's from the movie. I suppose ist's mainly for fast forward and backward play.
*.atv's are attached as atv-s.zip


All times are GMT -6. The time now is 07:37 AM.