Tuesday 1 May 2012

how to download flash videos in rhel 6.3 / centos 6.3

This tutorial is very simple. you can just use your terminal to do this. No need of any software. what Login as user u have to do is just open youtube and buffer some video fully.
Then open your terminal

Note: This step wont work when u login as root.

[ranjith@station1 ~]$ ps aux | grep flash
ranjith 4032 17.4 7.0 812836 71460 ? Sl 21:40 17:54 /usr/lib64/opera//operapluginwrapper-native 85 88 /usr/lib64/flash-plugin/libflashplayer.so

4032 is the process id

[ranjith@station1 ~]$ cd /proc/4032/fd
[ranjith@station1 fd]$ ls -hal | grep Flash
lrwx------ 1 ranjith ranjith 64 May 1 23:20 12 -> /tmp/FlashXX6ILRNG (deleted)

Copy it (by ID) somewhere else.

[ranjith@station1 fd]$ cp 12 ~/flash.flv

Now you can play that flash.flv file with your vlc media player.

1 comment: