public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Amazon-Instant video
Date: Tue, 12 Feb 2013 09:07:52 +0000	[thread overview]
Message-ID: <201302120908.12954.michaelkintzios@gmail.com> (raw)
In-Reply-To: <5119EFFA.3050402@gmail.com>

[-- Attachment #1: Type: Text/Plain, Size: 1739 bytes --]

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 #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2013-02-12  9:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12  7:32 [gentoo-user] Amazon-Instant video Kevin Brandstatter
2013-02-12  9:07 ` Mick [this message]
2013-02-12 15:14 ` Bruce Hill
2013-02-12 16:12   ` Bruce Hill
2013-02-14  2:09   ` Kevin Brandstatter
2013-02-14 21:20     ` Bruce Hill
2013-02-12 16:16 ` Paul Hartman
2013-02-12 17:16   ` Bruce Hill
2013-02-12 17:06     ` Mateusz Kowalczyk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201302120908.12954.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox