The most video content web sites use flash player as them video player. In Linux you can download streaming videos without any third party tools. Previously the videos which you are watching by default its stored in /tmp directory. You can copy the video from there. But in the google chrome or Chromium browser by default its come with a flash player. If you using that flash player the video is not downloaded in /tmp directory. They are using there own intelligence to prevent this. Here we are going to see a simple hack to download videos in google chrome . Steps are
- Goto installed plugins
about:plugins
in chrome / mozilla - Click Details to view with more information. Disable the Flash Plugin. The Location of the plugin would be "/usr/lib/adobe-flashplugin/libflashplayer.so"
- Download the tar.gz version of flash player from here http://get.adobe.com/flashplayer/
- Extract that file and copy the libflashplayer.so to /usr/lib/chromium-browser/plugins . Then Enable this in plugin page.
- If you view any video it will download in /home/\<USER_NAME>/.cache/chromium/Default/Cache this folder.
- For Google chrome user cache location will be /home/\<USER_NAME>/.cache/google-chrome/Default/Cache
Make a link for easy access
ln -s /home/arul/.cache/chromium/Default/Cache/ /tmp/chrome-cache
Screenshots:
Details View of the Plugin page
Chromium Plugin folder
Chromium Cache folder
My Configuration:
- OS : Ubuntu 10.04
- Browser : Chromium 10.0.648.133 (Developer Build 77742) Ubuntu 10.04
- Flash : Shockwave Flash 10.2 r152
Update on 21th March 2011:
After a deep testing the video downloaded is disappear after sometime. I tested against youtube.
Otherwise use older version:
Download the older version of Flashplayer 10. Then copy that to chromium plugin directory. Enable this plugin now you can get the file in the /tmp directory. I am using Version: 10.0 r45. I get this version from with flex sdk runtime folder.