You are not logged in.

#26 2010-12-03 00:51:39

rwd
Member
Registered: 2009-02-08
Posts: 664

Re: Flash temp directory

you could use one of the flash download extensions, like downthemall or 'ant video downloader'. There are also a bunch standalone apps for watching youtube  .

Offline

#27 2010-12-06 11:01:04

lymphatik
Member
From: Somewhere else
Registered: 2009-03-07
Posts: 119

Re: Flash temp directory

lilsirecho wrote:

Lymphotik:            lsof is installed.

Cannot find and proc process in my x86_64 system.

Perhaps it is only i686?

root@n6re ~]# lsof |grep deleted
plugin-co 1190      root   16w      REG               8,19 106783447     294884 /tmp/FlashXXPj7I74 (deleted)
plugin-co 1190 1191 root   16u      REG               8,19 106783447     294884 /tmp/FlashXXPj7I74 (deleted)
[root@n6re ~]# 

What might I do next?

Well it is pretty straight forward once you have this. The fisrt number is your pid (1190) and the file is called 16 in your case. it could be another number. You just have to look at the number before REG.

Then if you want to watch it

mplayer /proc/1190/fd/16

or to copy just use cp.

But all this is explained http://www.linux.com/archive/articles/58142.

Offline

#28 2010-12-06 16:20:43

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,394

Re: Flash temp directory

This should work for 10.2 flashplugin (it isn't that light anyway, maybe someone can help?), it has to be run before the player stops to buffer the stream.

for file in $(lsof -n|cut -b 77-|grep -i \/cache\/|grep -v 'fontconfig\|deleted'|sort --uniq); do file $file;done|grep 'Video'|MPEG'

Tested with chromium, firefox and opera.
I explicitely removed "deleted" files from the list because if no process has that file open, then the "proc" trick isn't useful, i think.
a way to keep that stream open is to do "tail -f stream >/dev/null"; in that way you can still access the file via /proc.

Last edited by kokoko3k (2010-12-06 16:22:38)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#29 2010-12-06 16:20:55

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Flash temp directory

llymphatic:

Thanks for the clarification...there are many numbers in the printout and your explanation clears the scene....


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB