title: chrome \chromium how can i find flash location and save buffered flash with pepper flash?
body: <p>i did a little script that save flash videos, it uses lsof , :</p>
  
  <pre><code>#create an ARRAY which has flash paths   
      filesarray=($(ls -l  "/proc/$(lsof -n | awk ' /Flash/{print $2 ; exit}')/fd" | awk '/Flash/{print $9}')) 
      echo ${filesarray[@]}
  
      #create an array for firefox ...
      filesarraytwo=($(ls -l  "/proc/$(lsof -n | awk ' /plugin-co/{print $2 ; exit}')/fd" | awk '/Flash/{print $9}')) 
      echo ${filesarraytwo[@]}
  </code></pre>
  
  <p>now this method doesn't work for chromium , i am not able to find the files in /proc/<em>/fd/</em> i guess it's pepper flash that it's quite different from the standard flash so , i would like  just complete this script even for chrome chromium and pepper flash.</p>
  
  <p>i tried even to do this </p>
  
  <pre><code> lsof -n | grep -i flash
  
  chromium- 11658                 sem  mem       REG               8,10  17139808    662709 /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so
  </code></pre>
  
  <p>but of course on /proc/11658/fd i have no file that are video files so :S </p>
  
  <p>i guess it's not so simple as i thought and i tried to search on these folder without luck </p>
  
  <p>$HOME/.cache/chromium/Default/Cache/</p>
  
  <p>and </p>
  
  <p>$HOME/.cache/chromium/Default/Media Cache/</p>
  
  <p>in these folders i can see some video files but they are not all that's it's pretty strange </p>
  
  <p>EDIT : I found that for long files there is a weird behavior , at the beginning there the file in $HOME/.cache/chromium/Default/Cache/ but after a while they disappear ... so i guess they change location :S</p>
  
  <p>i am using chromium : Version 34.0.1847.116  </p>
  
  <p>anyone has find a solution for this ? </p>