My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Installation  
How to install get_flash_videos
Featured, Phase-Deploy
Updated Mar 11, 2012 by zakflash...@gmail.com

Requirements

Basic requirements:

  • perl >= 5.8.0
  • WWW::Mechanize (but not for the combined version, see OSX below).

Optional requirements (for support for certain sites):

  • rtmpdump (see section below)
  • XML::Simple
  • Data::AMF
  • Compress::Zlib
  • Crypt::Rijndael

Various operating systems

Debian / Ubuntu packaged version

Run the following commands in a terminal, this installs it system-wide.

 sudo apt-get install libwww-mechanize-perl libxml-simple-perl
 wget http://get-flash-videos.googlecode.com/files/get-flash-videos_1.24-1_all.deb
 sudo dpkg -i get-flash-videos_1.24-1_all.deb

Then, to download something:

 get_flash_videos url..

See UsageExamples for more.

Fedora

This installs all the dependencies:

yum install -y perl-libxml-perl perl-WWW-Mechanize perl-Compress-Raw-Zlib perl-Crypt-Rijndael

You can then simply run the downloaded script.

Some sites require Data::AMF. This isn't packaged for Fedora apparently so you'll have to download it off CPAN.

Other Linux/Unix-like OS

Install the Perl modules WWW::Mechanize (required) and XML::Simple (required for some sites). Preferably install the packaged versions of these provided by your distribution. If you can't, install the modules off CPAN - follow our short walkthrough or read the perlmodinstall documentation for more extensive information.

Then run the following commands in a terminal, this installs get-flash-videos system-wide.

 sudo wget http://get-flash-videos.googlecode.com/files/get_flash_videos-1.24 -O /usr/local/bin/get_flash_videos
 sudo chmod a+x /usr/local/bin/get_flash_videos

Then, to download something:

 get_flash_videos url..

See UsageExamples for more.

Windows

Install ActivePerl, making sure you tell the installer to add perl's bin directory to your PATH.

Install the Perl modules WWW::Mechanize (required), XML::Simple (required for some sites) and Crypt::Rijndael. You can install these using the PPM tool included with ActivePerl, by running commands like these at a command prompt:

  ppm install WWW-Mechanize
  ppm install XML-Simple
  ppm install Crypt-Rijndael

(To get a command prompt, go to Start, Run and type cmd and press enter.)

You can also try installing them with the CPAN shell, for example by running this at a command prompt:

  cpan install Crypt::Rijndael  

Save get-flash-videos somewhere on your hard disk, for example c:\flash.

Then, to download something:

 Start -> Run -> cmd
 perl c:/flash/get_flash_videos url

We haven't tested rtmpdump on win32.

OSX

Run the following commands in a terminal, this installs it in your home directory.

 curl -o get_flash_videos http://get-flash-videos.googlecode.com/files/combined-get_flash_videos-1.24
 chmod a+x get_flash_videos

Then, to download something:

 ./get_flash_videos url..

See UsageExamples for more.

Note you may also need to install the Perl modules XML::Simple and Data::AMF for support for some sites.

rtmpdump

get_flash_videos can download videos from servers over RTMP, this needs rtmpdump. You can get a copy of rtmpdump from http://rtmpdump.mplayerhq.hu. If you compile it or use an unpackaged version you should chmod it as executable and copy this to somewhere on your PATH (e.g. /usr/local/bin). If you have problems compiling, make sure you have libssl-dev installed.

Using get_flash_videos

See the manpage for details on how to use get_flash_videos.

Comment by waffle...@gmail.com, May 12, 2009

When you have "url" in the example commands, it should be more specific, such as "http://www.example.com/directory/videos/flash" etc. or add a note outside the example saying to replace "url" with the desired address or whatever. Do you mean to replace "url" with an actual URL address or are we supposed to use some special syntax when referring to the URL or what? Make it more clear for the command-line inept.

Comment by project member monsieur...@gmail.com, May 25, 2009

I've added a link to a usage examples section, but yes it should just be the URL.

Comment by trentase...@gmail.com, Aug 18, 2009

finally! i have been looking for this for 1 year! i don't want to use firefox :)

thanks. keep it updated ^^

Comment by project member monsieur...@gmail.com, Oct 22, 2009

There is no notification of new comments here, therefore if you would like a response please use the mailing list: http://groups.google.com/group/get-flash-videos/

Comment by jperron%...@gtempaccount.com, Apr 26, 2010

Hello, I have Windows 7 64 bits. How can install this application... I have installed Perl64 with all modules (WWW::Mechanize (required) and XML::Simple (required for some sites). You can install these using ActivePerl?'s PPM tool. ) I have download 3 files in c:\flash\get-flash-videos after how make ?!?!? when i write in dos: ''perl c:/flash/get_flash_videos http://www.youtube.com/watch?v=7QS6GgPBig4'' C:\Perl64\bin>perl c:/flash/get_flash_videos http://www.youtube.com/watch?v=7QS6 GgPBig4 Can't locate Win32/API.pm in @INC (@INC contains: CODE(0x3f2e490) C:/Perl64/site /lib C:/Perl64/lib .) at C:/Perl64/site/lib/FlashVideo?/Utils.pm line 213.

Comment by yai...@gmail.com, May 1, 2010

@jper, i had the same problem on windows running activePerl v5.8.6

had to install the win32-API via activePerl ppm. 1. run ppm 2. "search win32-API" 3. "install 1" then it works

Comment by waynesm...@gmx.co.uk, Jul 23, 2010

If you are all so clever, why dont you simply write a program that non-nerds can actually use - reading this is like reading Icelandic - backwards! We DONT want to become computer programmers and code writers - we simply want to record an f'ing program!

Comment by viab...@gmail.com, Jul 23, 2010

i agree, why not just put up what non techies can also use. whats the point if everyone cant use it?

Comment by letha...@gmail.com, Aug 6, 2010

as a oneliner for easy copy-pasting..

sudo apt-get install libwww-mechanize-perl libxml-simple-perl&&wget http://get-flash-videos.googlecode.com/files/get-flash-videos_1.23-1_all.deb&&sudo dpkg -i get-flash-videos_1.23-1_all.deb
Comment by nomaei...@gmail.com, Sep 15, 2010

Indeed. I'm having a headache of trying to figure out how to make it work. Some 3 hours already.

Comment by stephan....@gmail.com, Oct 11, 2010

It's a Linux command-line tool for power users that just happens to support Windows and it works for me just as easily as other common Linux command-line tools like wget.

If you want a GUI, buy or torrent one of the tools that can't be embedded in scripts. If you're fine with the console but it's not working for you, all signs point to that being a problem with your computer, not the program.

Whatever you do, don't expect the author to completely change their target audience just because of you.

Comment by christia...@gmail.com, Oct 14, 2010

@jper, @yair99 and for all ppl that have problems with the "Can't locate Win32-API" errormessage: It worked for me to install the right Perl-distribution for my os. (x86 version worked)

Comment by chris.d....@gmail.com, Feb 7, 2011

So I compiled rtmpdump with MAKE=posix (using Ubuntu 10.04), copied it to /usr/local/bin (actually soft-linked), and I still can't get the RTMP stream I'm after.

Error message is: $ get_flash_videos rtmp://oxy.videolectures.net/video/2009/pascal2/ssll09_canberra/mares_ncl/ssll09_mares_ncl_01.flv Downloading rtmp://oxy.videolectures.net/video/2009/pascal2/ssll09_canberra/mares_ncl/ssll09_mares_ncl_01.flv Couldn't download 'rtmp://oxy.videolectures.net/video/2009/pascal2/ssll09_canberra/mares_ncl/ssll09_mares_ncl_01.flv': 501 Protocol scheme 'rtmp' is not supported Can't locate object method "host" via package "URI::foreign" at /usr/share/perl5/FlashVideo?/URLFinder.pm line 64.

How do I tell get_flash_videos that I have rtmp dump?

Comment by chris.d....@gmail.com, Feb 7, 2011

@stevenraypenny Blog is gone.

Comment by project member zakflash...@gmail.com, Feb 8, 2011

Firstly, if you have any problems with get_flash_videos, please look at the issues page to see if there any issues already reported. If not, log one. Google Code doesn't send us emails when people add comments to wiki pages, so we might not see comments for ages.

Secondly, get_flash_videos doesn't support being passed rtmp URLs. If you have an rtmp URL, it'll probably be easier to use rtmpdump directly, but depending on the site you may well have to provide auth tokens and other things as well.

get_flash_videos does support many rtmp downloads, but only for sites (or types of players like Brightcove) where we've added specific support. You should give get_flash_videos the URL to the web page where you would normally see the video. rtmpdump is great but it's not very easy to use, so using get_flash_videos is easier, as for supported sites it gets all the required parameters and runs rtmpdump for you.

As long as rtmpdump is in your PATH, get_flash_videos will find it.

If the site you want to download from isn't supported, raise an issue (if one doesn't exist already) and we might get round to adding support, or other people might provide a patch or plugin to make it work.

Comment by svnp...@gmail.com, Apr 17, 2011
Comment by afatsi...@gmail.com, Jun 25, 2011

how do i WATCH the videos and then DELETE them after get_flash_videos downloads them? where are the videos stored?

Comment by package....@gmail.com, Aug 16, 2011

I don't know if the Issues is being checked, I'm sorry for think like that, but since new version of RTMPDump was released I thought this Project would be the light in the end of tunnel for Hulu Downloading.

But what is happening?

Comment by nicolas....@gmail.com, Nov 3, 2011

Hey guys,

This project is too valuable to stay on google code. Can we move this project over to github to facilitate external contributions?

N

Comment by project member zakflash...@gmail.com, Nov 8, 2011
Comment by FearE...@gmail.com, Nov 24, 2011

<a href="http://designer-handbags-01.weebly.com">Designer Handbags</a> <a href="http://designer-handbags-01.weebly.com/cheap-designer-handbags.html">cheap designer handbags</a> <a href="http://designer-handbags-01.weebly.com/designer-handbags-uk.html">designer handbags uk</a> <a href="http://louisvuittonoutletuk.weebly.com ">louis vuitton outlet uk</a>

Comment by accvv_se...@msn.com, Dec 12, 2011

http://www.louisvuitton30.com anyone here needs the cheap designer purse ? if you do , the site http://www.louisvuitton30.com is the good choice for you , as we all know , in the world many women are crazy about the handbags , if you are such a woman , the site http://www.louisvuitton30.com is worth visiting and shopping . welcome you http://www.louisvuitton30.com

Comment by bydli....@gmail.com, Jan 4, 2012

http://www.designerbagsfake.com we to do allison sheshan ยท clock (Alexa Chung) a little SheRenYaHui? mean, because we have not seen her himself, nor have I seen her at TV show, but she is in British home and Internet "red line bully" to make her become the world's fashion model. http://www.replicahandbagsfake.com http://www.mensonlinestores.com

Comment by nikrys...@gmail.com, Feb 8, 2012

Well this is very interesting indeed.Would love to read a little more of this. admire the valuable information you offer in your articles. http://www.besthomevegetablegarden.com/growing-tomatoes-from-seed/

Comment by fangkwei...@gmail.com, Feb 9, 2012

I like this article very much. I'll definitely be back. Hope that I will be able to examine far more informative posts then.

http://www.alternativeenergypower.biz/solar-panels-for-your-home.html

Comment by candiesh...@gmail.com, Feb 10, 2012
Comment by fashionl...@gmail.com, Mar 19, 2012

Wish you have a good day. I feel very lucky to find your site. Your sharing is wonderful. Thank you.

Comment by customer...@gmail.com, May 23 (3 days ago)

Welcome to http://www.guccihandbaghotsale.com/ to have a visit!


Sign in to add a comment
Powered by Google Project Hosting