On Tuesday 12 Feb 2013 07:32:10 Kevin Brandstatter wrote:
> I just got amazon prime for the instant videos (among other things) and
> figured i should
> be able to watch it on linux since its in flash.
> However, I have had no luck getting it to play an instant video,
> i've narrowed it down to videos with DRM, (because trailers play fine
> and DRM screws up everything)
> Google searches come up that it needs HAL (which is deprecated)
> I even managed to install HAL, and still no luck
> 
> i keep getting "error occurred and your player cannot be updated"
> I have the latest flash, chrome and firefox. (tried both)
> 
> Just wondering if others are having the same trouble or if someone has a
> solution.

I do not have such an account, so cannot compare with what you're getting on 
your system.  However, I have had success using rtmpdump and friends in the 
past with various flash videos, as well as youtube-dl.  I do fear though that 
DRM may screw things up, so YMMV.

This is how you can try intercepting the stream with rtmpsrv.  Run as root:

  iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT

  rtmpsrv

then try to play the video with Firefox, accepting cookies, etc.  At some 
point if rtmpsrv is successful it will print on the terminal a very long URL.  
Ctrl+c to stop rtmpsrv, then remove the redirect rule:

  iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT

and run as a plain user:

  rtmpdump <URL>

If the stream URL was captured successfully you should be able to download it.


youtube-dl has a number of extractors some of which may work with amazons 
implementation.  Run 'youtube-dl --list-extractors' to list them.

HTH.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to