Photobucket

Friday, June 24, 2011

How to get a copy of flash video in firefox if you have the latest flash

I usually keep large youtube videos for buffering and watch them later after copying them from /tmp folder. But sadly updating your flash to 10.2 changes all that. And I dint know that until I finished buffering 2 large videos of more than one hr. So I began searching on how to do it ... found this awesome post on one Ubuntu forum. I would like to have easy access to it and hence I am storing the exact same thing here. Would love more solutions



1)Open flash video page (that you own of course) and let it load. Don't close the page.

2)Open terminal and give

Code:
lsof | grep Flash
lsof: list open files
In my case (opera user) it gives
Code:
operaplug 2840        teo    9u      REG        8,8  6962837     392986 /tmp/FlashXXFfe85s (deleted)
Notice the 2nd (process id) and 4rth (file descriptor - without the letter) columns.

3)
Code:
cp /proc/2840/fd/9 ~/Desktop/video 

I confess I dunno how this exactly works but one thing I know is in '/proc/2840/fd/9' fd stands for file descriptor. So we are just getting the fd for the video and then copying it.

This is where I got it from


http://ubuntuforums.org/showthread.php?t=1688948&highlight=Temp+Files&page=2

Credit to TeoBigusGeekus 

No comments:

Post a Comment