1- Download this Script here .
2- change mod the file to be executed
Type: chmod +x flashcache
3- load the video in a browser (wait until the video complete load), and check the output of the following command:
lsof | grep -i flash
This came out with a predictable, and very useful single line:
plugin-co 25646 n00b 17u REG 8,2 31286337 787220 /tmp/FlashXXepl6qa (deleted)
The second field of the output tells us which process currently has the file descriptor open, and the fourth tells us which number the file descriptor has taken. This is all we need to access the file itself.
4- run the script and put the secound field(25646) to script like this:
./flashcache 25646
If the script found the video it will show you this message:
/proc/25646/fd/27 -> foundflash.1.flv
That it, Good Luck.
-----------------------------------------------------------------------------------------------------
http://n00bsys0p.wordpress.com/2011/02/10/how-to-download-flash-10-2-video-streams-in-linux/