Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30

Thread: Youtube flash videos no longer in temp folder

  1. #11
    Join Date
    Mar 2010
    Location
    Sir Lowry's Pass
    Beans
    20
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Youtube flash videos no longer in temp folder

    Thanks I enjoyed that and a friend was watching and as he said, powerful.

  2. #12
    Join Date
    Feb 2009
    Beans
    51

    Re: Youtube flash videos no longer in temp folder

    Hello everyone.
    None of the methods described by previous posters are as convenient as just copying the flash file from the tmp directory.

    Therefore, what I did was downgrade my Flash to 10.1.102.64

    The download link for older versions of flash is http://kb2.adobe.com/cps/142/tn_14266.html

    Download the (large) file named "Flash Player 10.1.102.64 and 9.0.289.0".
    After downloading, extract the file named flashplayer10_1r102_64_linux.tar.gz

    From this file extract libflashplayer.so and overwrite the file at /usr/lib/flashplugin-installer (you will need root privileges, try gksudo nautilus)

    Restart Firefox and your flash videos will land up in the /tmp directory as before! This won't work for Google Chrome, it will continue to use the latest version of Flash.

    Note: For the above steps to work, a version of Adobe Flash should have been previously installed.

  3. #13
    Join Date
    Mar 2009
    Beans
    12

    Re: Youtube flash videos no longer in temp folder

    I can see the video file loading in the .mozilla cache directory until it grows to 25MB. then it stops growing and when the video finishes loading in the browser, that file disappears. Where did it go?? How can I download videos larger than 25 megabytes? and hopefully videos that are complete?

  4. #14
    Join Date
    Feb 2008
    Beans
    5,636

    Re: Youtube flash videos no longer in temp folder

    See my posts in this thread.

  5. #15
    Join Date
    Nov 2009
    Location
    Greece
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Youtube flash videos no longer in temp folder

    Quote Originally Posted by chetancrasta View Post
    Hello everyone.
    None of the methods described by previous posters are as convenient as just copying the flash file from the tmp directory.

    Therefore, what I did was downgrade my Flash to 10.1.102.64

    The download link for older versions of flash is http://kb2.adobe.com/cps/142/tn_14266.html

    Download the (large) file named "Flash Player 10.1.102.64 and 9.0.289.0".
    After downloading, extract the file named flashplayer10_1r102_64_linux.tar.gz

    From this file extract libflashplayer.so and overwrite the file at /usr/lib/flashplugin-installer (you will need root privileges, try gksudo nautilus)

    Restart Firefox and your flash videos will land up in the /tmp directory as before! This won't work for Google Chrome, it will continue to use the latest version of Flash.

    Note: For the above steps to work, a version of Adobe Flash should have been previously installed.
    Works great!
    The only change where i did, i put the file libflashplayer.so to the folder /home/user/.mozilla/plugins
    Desktop : Ubuntu 10.04 LTS Lucid Lynx i386
    AMD ATHLON II X2 215 │ 3072Mb │ GeForce 210 512MB | LG W2243S : 1920 x 1080
    Laptop : Sony Vaio VGN-N11m : Ubuntu 11.10 Oneiric Ocelot i386

  6. #16
    Join Date
    Jun 2010
    Beans
    380

    Re: Youtube flash videos no longer in temp folder

    Well what I did was followed instructions here
    http://www.webupd8.org/2011/03/fix-p...sing.html#more

    and downgraded to old version of flash.
    Can any one tell if this problem does not exist in Flash 11 i.e. the cached video can be accessed from /tmp and it does not gets deleted.

  7. #17
    Join Date
    Jul 2010
    Beans
    5
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Youtube flash videos no longer in temp folder

    I see this is marked as solved but here is my method anyway. I am using Flash 10.2r153 on Ubuntu 10.10 AMD64, and videos tend to disappear from the cache as soon as they are fully buffered.

    In firefox, type "about:cache" into the address bar and it will tell you the location of your cache. Mine is ~/.mozilla/firefox/od8t71bi.Default/Cache/

    Make a script like this:
    Code:
    #!bash
    ## -v=verbose -c=checksum -r=recursive
    while true
    do rsync -vcr --min-size=1M ~/.mozilla/firefox/od8t71bi.Default/Cache/ ~/cache_mirror
    echo "Sleeping for 1"
    sleep 1
    done
    This script uses rsync to mirror my firefox cache into the folder "cache_mirror" repeatedly at 1 second intervals. It compares file checksums and only copies files larger than 1M. So far it has worked flawlessly with about 6 videos.

    My procedure is:
    1. Clear firefox cache (CTRL-SHIFT-DEL, de-select everything but "cache")
    2. Start script in a terminal
    3. Open page with video on it.
    4. Wait until video is fully buffered.
    5. Stop script with CTRL-C

    I hope someone finds that useful

  8. #18
    Join Date
    Apr 2009
    Location
    South wales
    Beans
    30
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Talking Re: Youtube flash videos no longer in temp folder

    I was wondering this as well, thanks Guys & Girls

  9. #19
    Join Date
    Feb 2009
    Beans
    51

    Re: Youtube flash videos no longer in temp folder

    Here is script that makes downloading flash videos even easier than copying it from /tmp: http://davesource.com/Solutions/2011...ash-files.html
    This technique is better than downgrading Flash because older versions of Flash have security vulnerabilities.
    Last edited by chetancrasta; April 10th, 2011 at 02:28 PM. Reason: fixed url

  10. #20
    Join Date
    Mar 2007
    Location
    Austin, TX, USA
    Beans
    56
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: Youtube flash videos no longer in temp folder

    How is the script used? Obviously copy and paste it into a file, then make it executable. But does it have to be run every time I boot up, or put into a particular directory?

    Quote Originally Posted by PaulReaver View Post
    #!/bin/bash

    args=("$@")

    args=`echo $args | sed 's/[/]$//'`

    pids=`eval pgrep -f flashplayer`
    for pid in $pids
    do
    lsoutput=$(lsof -p $pid | grep '/tmp/Flash[^ ]*')

    IFS=$'\n'
    for line in $lsoutput; do
    lsout1=`echo $line | awk '{print "/proc/" $2 "/fd/" $4}' | sed 's/[rwu]$//'`
    lsout2=`echo $line | awk '{print $9}' | awk -F '/' '{print $3}'`

    if [ -n "$args" ];then
    if [ -d $args ]; then
    echo "Copying $lsout2 to $args/"
    eval "cp $lsout1 $args/$lsout2.flv"
    else
    echo "The directory \"$args\" doesn't exist"
    break
    fi
    else
    echo "Copying $lsout2"
    eval "cp $lsout1 $lsout2.flv"
    fi

    done
    done





    this little work of script genius will dump open cached flash videos to home directory on flash 10.2
    The Institute for Mapping Technology offers GIS training using open source software and education on Deep Web Research

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •