|
This is an old trick but one that some of you are probably still unaware of. What to do is go to the page where the video is located and wait for it to finish loading. On YouTube, the upload is represented by a red line that grows below the play line.
Once everything had loaded, and without closing the explorer, I opened Nautilus and opened the folder / tmp /. There you will see, among other things, a file with a strange name that probably includes the word "Flash". Done, just subtract to copy that file to the place you like best.  It's that simple. Eye! This trick works on Ubuntu, but not all distros save these videos in the same directory. It is possible that in your distro the directory is different, but the logic is the same. You just have to find the path where the temporary Flash files are saved. Doesn't it work for you in Ubuntu with Flash 64 bit? I kept reading ... |
The above trick works for 32 bit Flash. The steps to follow in Ubuntu when using Flash 64 bit are a bit more complicated ... Here is the explanation made by Codix in the forum Ubuntu-is:
With the new 64-bit square flash player for linux when you view a video from youtube, or another video portal and go to the folder / Tmp you hope to find the temporary file that the flash player works with (in this case square). But you can't find it, and you wonder where it will be.
After thinking a bit, the best way to see if there is a temporary file that the flash player works with is through the command lsof.
In previous versions, flashplayer named the temporary files as Flashxxxxxx, where xxxxx is an alphanumeric code that flashplayer gave it to recognize it among other temporary files so I tried with
lsof | grep Flash
… And the result was:
plugin-co 15026 codix 18u REG 8,6 7599390 131035 / tmp / FlashXXnM8s5K (deleted)
I ran again:
lsof | grep Flash
The result:
plugin-co 15026 codix 18u REG 8,6 21912531 131035 / tmp / FlashXXnM8s5K (deleted)
This is when I saw that the file, despite being in a deleted state, kept increasing in size - the video had not been completely downloaded. I thought that if it kept downloading there was only one way to copy, rather, recover the file. So I waited for the video to download completely. When that was fulfilled, from the console I did:
ls -l / proc / open_process_identifier / file_descriptor
the process identifier is in the second column (15026) and the file descriptor is the fourth column without the letter (18)
ls -l / proc / 15026 / fd / 18
The result:
lrwx ------ 1 codix codix 64 2010-10-16 23:21 / proc / 15026 / fd / 18 -> / tmp / FlashXXnM8s5K (deleted)
At last I was able to recover with a simple cp statement file_to_copy copy_file_path the happy video downloaded by flashplayer.
cp / proc / 15026 / fd / 18 our_video.flv
Finally, all that remains is to check with VLC, or Totem, Caffeine, Xine or MPlayer that the video plays correctly. 