STaylor8 / get-flash-videos

Automatically exported from code.google.com/p/get-flash-videos
0 stars 0 forks source link

www.amctv.com/videos is a little broken - could possibly be supported easily #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
At first I thought it would be tough because their movie selection is a Flash 
interface.

But then a nice helpful article direct linked to a few movies:
blogs.amctv.com/future-of-classic/2009/03/b-movies-online.php

For example, for Herc Unch., they give:
link.brightcove.com/services/link/bcpid13332913001/bclid14056327001/bctid1409558
7001

Which redirects to:
www.amctv.com/videos/b-movies/?
bcpid=13332913001&bclid=14056327001&bctid=14095587001

When I pass in the second URL to get_flash_videos, rtmpdump doesn't seem to 
know how to 
handle the input. So I wrote an echo bash script (echo "$0 $@" > output.txt), 
renamed it to 
rtmpdump, and here's a capture of the output:

rtmpdump -- flv --app a500/d7 --tcUrl rtmp://brightcove.fcod.llnwd.net/a500/d7 
--swfUrl 
http://admin.brightcove.com/viewer/federated/f_012.swf?bn=590&pubId=196217268 
--auth 
rtmp --rtmp://brightcove.fcod.llnwd.net/a500/d7 playpath --flv AMC_-
_Hercules_Unchained.flv --196217268_14052961001_HerculesUnchained-S.flv

.. as you can see, the arguments appear to be a little garbled. "-- flv" (with 
a space in it) and "--
auth rtmp --rtmp://..." which should probably be "--auth <somestring> --rtmp 
rtmp://...", 
etc.

Soooooo close :) (You guys rock, by the way!)

Original issue reported on code.google.com by pudqu...@yahoo.com on 18 Jun 2009 at 9:18

GoogleCodeExporter commented 9 years ago
Additional notes: Mac OS X 10.5, got the same results with perl from macports 
as well as built-in perl.

Additional additional: I've gotten rtmpdump 1.6 to build on OS X, if you'd like 
instructions / a HowTo, just let me 
know.

Original comment by pudqu...@yahoo.com on 18 Jun 2009 at 9:21

GoogleCodeExporter commented 9 years ago
Thanks for reporting that, there's so many subtly different ways it seems to 
work..
Fixed in r182.

For reference you can run with --debug to easily see the args passed to 
rtmpdump. It
would be good to have instructions for building rtmpdump on OSX, I'm happy to 
add it
to the wiki if you want.

Original comment by monsieur...@gmail.com on 18 Jun 2009 at 9:20