Saturday, March 26, 2011

How to copy Flash Video in Firefox 4

Earlier this week Mozilla finally released the long-awaited Firefox 4. With Firefox 3 on Ubuntu I used to be able to copy a flash video that was still open in a Firefox tab from cache using

cp /tmp/Flash ~/Videos/

To my surprise the same did not work with Firefox 4. It seems the problem is related to FlashPlayer 10.2. Apparently the cached file gets flagged as deleted:

lsof | grep deleted

plugin-co 4292 user 17u REG 8,6 18987840 3801105 /tmp/FlashXXJ3YUk0 (deleted)


The solution I ended up with is to use /proc, pid and fd like this:

cp /proc/4292/fd/17 ~/Videos/

It should work as long as the flashed tab is still open in Firefox.

You can install Firefox 4 by adding the 'mozillateam' ppa using:

sudo add-apt-repository ppa:mozillateam/firefox-stable

and

sudo apt-get update

After this you can install Firefox 4 or simply upgrade if you already have Firefox 3 installed.


Sharing is Caring:
By Helge with No comments

0 comments:

Post a Comment

  • Popular
  • Categories
  • Archives