Methods for Downloading Google Video as FLV, AVI, or MP4
Oct 18th
2006
Alright, the first thing that we need to admit is that we’re standing on the shoulders of electronic giants — downloading Google Video is nothing new. In fact, the means to do it are plentiful. Good people, all over the world, have been hard at work, creating various ways of accessing and downloading video content. Here are but a few:
Bookmarklet/Script:
googlesystem.blogspot.com
1024k.de
Firefox Extension:
VideoDownloader
How do these tools do it? How do you extract at the non-Flash file from a Google Video page? Curious? Read on…
If you’ve used Google Video before, you’ve noticed that most pages have the option to download the video as either a GVP (to be used in Google’s Video Player) or MP4 file (for viewing on an iPod or Sony PSP). Typically, there is a "Download" button located to the right of the video; sometimes there is not. Retrieving an MP4 file is easy — just click the link — no hack needed here.
But what about AVI files? Google doesn’t post that information….do they? Sure they do. Take notice of the other download option that Google provides, a GVP file. What is a GVP file? Download one and open it in your favorite text editor (the example is from "Monkey teases Dog"…..oh those silly monkeys). Examine the GVP file, and you’ll see that it is nothing more than a proprietary header file containing information about the video. Now, take a closer look at the "url" embedded inside the file — it’s not the same URL that you used to view the video or to download "MonkeyteasesDog.gvp". Copy/paste it in your browser — it’s the direct link to the AVI file. Neat! Now you can create your own extractor tool. All you need is a way to parse out the GVP link, a means of finding the URL inside the file, and and some redirect code. It’s easy, and fun for the kids too…
Ever wonder how they name a GVP file? The file names follow a standard format. They are a truncated, 20-character (or less) representation of the video title, with offending characters and whitespaces stripped from the string. The links to the GVP files are created by linking to the GVP file name, then the docid is then tacked to the query string, and voila!, you’ve got your URL.
Don’t leave yet! There’s still another method to get at these sacred files, one which is less know but easier and more bountiful….RSS.
Simply put, you can query Google for RSS, and extract all three URLs from the feed (FLV, MP4, and AVI).
How do you get an RSS feed from Google? Add "&output=rss" to the end of a search URL. For example, if we do a search for monkey videos, it looks like this:
http://video.google.com/videosearch?q=monkey
RSS-ize it, we get the following:
http://video.google.com/videosearch?q=monkey&output=rss
Viewing the RSS feed, you immediately recognize standard element tags (i.e. title, description, etc). Look down a little further and you’ll notice that Google also utilizes the media:group and media:content sub-elements. While the number of media:content elements in a given item will vary, most will contain at least one with a type attribute of "video/x-flv". In many cases, we’re provided with more — either a "video/x-msvideo" or "video/mp4". And those, my friends, are the goods. The urls associated with those media:content elements are the direct links to download the AVI and MP4 files.
Given the ease of retrieving and parsing RSS files, you can imagine how simple it would be to create a Google Video search and download tool of your own. I made one: a simple XHMTL search tool for mobile phones:
Search and Watch Google Video From Your Mobile Phone
Enjoy, and best of luck in creating your own tools.



Comments
Hey how can i download the all sum of videoz from The google page!. coz i tried to use the software u talked of but it still cant read the videos..
Julius From Ug. kampala
Your sir are a very clever man
I used ToneThis.com to send the videos to my phone.
Wow. As R said, you sir are a very clever man. Both techniques worked easily and perfectly. After all the time I spent chasing a codec converter, thank goodness I didn’t buy one. Thanks.
Excellent bleeding edge stuff. Well done.
I’m confused, when I go to videos.google.com, I just click “Download” and select for iPod/PSP and it downloads the google video as .mp4 h.264 format.
Why not just download the .mp4 file and use a simple free video conversion utilities for windows, mac, or *nix based systems?
nice and simple, great job. If you have more stuff like this I’d love to hear it, I know how to get the flvs or direct links from my home computer for any download - but doing it through scripting like a website is more difficult since the tools needed are not in webformat or can’t be run through a web server.
Good link. Nice info. Thanks
i personally like using the firefox plugin. it makes it alot easier to download .flv files from youtube, google video, and a whole lot of other sites.
Thats just awsome ….
Many thanks, this really helpful! so what about youtube? do u have another idea?
Using the download option Google provides, I just renamed the gvi file to avi and it worked fine.
Hi, That was nice article.
Just wanted to mention that There is an easy way of conversion google video online to other video formats.
Check the link below for more info:
http://raizam.blogspot.com/2006/12/zamzar-online-any-type-file-converter.html
Http://raizaM.BlogSpot.com
Maziar
hmm when i searched the rss for “media” i did not find it, has google changed it?
google video is flv format. you can convert flv to avi, mp4 using flv to video converter. get it at http://www.flash-video-mx.com/flv_to_video_web/
this works.
the way to do this as I had some problem initially in understanding this.
1. click on download which is next to the video.
2. click on download video/ download video manually
3. save it.
4. open it with microsoft word
5. copy everything like 4-5 lines of code- from, next to url untill doc_id. Do not include url and doc-id but include everything in between when you are copying.
6. open the browser and paste it.
7. click enter.
8. save it.
9. VLC player can open and play the file.
Enjoy.
i use clipnabber.com to download videos from online sites. it provides the .flv for google videos, since you can get mp4 directly from google video. you can also download videos from a bunch of other sites like youtube, metacafe, break, etc.
good good!about ifilm.com, how to download??
Can i download gv n youtube files as avi files directly….?
its good man its very good
It is a great,I recommended a video converter tool for flv,avi,mp4 file foramt to convert between them easily,http://www.my-video-converter.com/
Nice info…thanks!!!
You, my friend, are very informant … great info, simple as ever, thanks a lot.
Nice article! (all in one methods)
- for download I use UnPlug Firefox extension;
- for converting .flv - Toolbox http://www.swf-kit.com/flashtoolbox.html
Thanks for the advise, really helped me and saved me alot of time. Once again Thanks!!!
Not just cleaver. You’re brilliant! Now I can watch videos here in my workplace (sys ad prevents access to such sites). Work just became less boring
I use a free tool named heimdal:
http://heimdal.he.funpic.org/
work with more sites, tools and extra as video converter.
how can i download ifilm?…ive tried all those things listed here and on other websites and threads but so far nothing is successful…
help me…
i beg you guyz…
pls send me an email: mitch_vera@yahoo.com
if you can find the answer…
tnx in advance!
don’t know how you guys are doing it but nothing seems to work for me
i wish to know how to convert google video file to AVI Video
Thanks for the tip. But the url of google video download is not resume supported. How to make it resume supportable to a download amnager?
I’m having that same problem. I have a very slow connection and I really need the resume in downloading. Anyone knows how to do that in google. I like to donwload the flv file cause they are small but google doesnt support Resume, is there a way round to this problem ?
can any one tell me how to make that download resume able…
if any one knowz that…do mail me @ m_ali_ismail@hotmail.com…regardz…
There is a god…
Thank you so much. None of the other stuff worked for me but your RSS technique was awesome. So far so good. It is still downloading and I1m sure it will work. I’ll comment again if something goes wrong
Thank you so much. I’m crying with tears of joy, but who cares.
I would like to download any programe that could open any vidoe file with extension *.AVI
FilePop is a good site where you can download and convert YouTube and Google videos to mp4, avi, mov, mpg, 3gp and other formats. Try it out.
Thanks for sharing some good tips with regards to working with videos.
I am trying to download a video from google so i can put it on my ipod, but the video is not one of those google videos that has the download option, and i tried the RSS thing but i still cant seem to figure out how to download it. Can anyone help me? If you can, email me at shdwspal@verizon.net
Thanx!
i want to know how to transfer converted video(3GP) to my mp4 player? please I’d like to know!
please teach me! please! how to transfer converted video(3gp) into my mp4?
Hey! Great job! One problem though…I can’t load the GVP file using your ‘Download one’ link in the article. Has Google moved or stopped using the GVP file? Thanks!
Why not trying pq youtube downloader? It could play youtube videos at the same time.
I recommend the NetVideoHunter add-on to download videos and music from almost any site. It’s working well for me:
http://netvideohunter.com
Comment RSS · TrackBack URI
Leave a Comment