LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 06-12-2012, 10:17 AM   #1
krjames
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
Youtube flash file location?


Hi,
I hope this is the right place to ask...

I have been able to cp /tmp/flash* to a permanent address to store youtube videos. This is no longer possible.

I have read that the files can be found in a range of locations. Scripts using lsof haven't worked for me, or perhaps I just don't understand what I am doing with them...
Another potential solution was to look in .mozilla/firefox etc. It took me a while to realise I could just run: file .mozilla/firefox/p*.default/Cache to see what all the files were. I located the following;
.mozilla/firefox/p275n3o0.default/Cache/F53125B3d01: Macromedia Flash data (compressed), version 10
That seemed to be what I was after but when I ran it through totem I got a message;
GStreamer encountered a general supporting library error.

I am not sure what my next step is from here. It seems to be an appropriate file.

BTW Youtube videos play ok on my Lenny based system. Planning to upgrade to the new Wheezy when it is released...

Thanks for your help.

James
 
Old 06-12-2012, 10:20 AM   #2
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 608

Rep: Reputation: 179Reputation: 179
Why don't you use specific tools for the job such as JDownloader (requires java) or a Firefox extension such as Video DownloadHelper or FlashGot?
 
Old 06-12-2012, 07:38 PM   #3
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,751

Rep: Reputation: 188Reputation: 188
Also look at youtube-dl. It's probably in your repo.
http://rg3.github.com/youtube-dl/documentation.html

You can play/download youtube videos without having flash installed, just send the video to your media player.

Something like
Code:
#!/bin/sh

echo "Enter URL"
while read URL
do
mplayer -cookies -cookies-file /tmp/cookies.txt $(youtube-dl -g --cookies /tmp/cookie.txt "$URL")
done
 
Old 06-13-2012, 03:06 AM   #4
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 608

Rep: Reputation: 179Reputation: 179
Forgot to mention umplayer, which sports an embedded youtube player and downloader.
 
Old 06-21-2012, 04:50 AM   #5
krjames
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 414N View Post
Why don't you use specific tools for the job such as JDownloader (requires java) or a Firefox extension such as Video DownloadHelper or FlashGot?
Hi
forgot to let you know...

I couldn't get the jdownloader or Firefox extension to work but the flashgot program works ok. Still feel a little sad not being able to use a standard Debian program though. Any clues as to why clive/cclive aren't working?

Thanks to everybody who replied, I do appreciate it.

James
 
Old 06-21-2012, 04:56 AM   #6
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 608

Rep: Reputation: 179Reputation: 179
What went wrong with JDownloader or Video DownloadHelper?
What do you mean with "standard Debian program"?
Never used clive/cclive, but I guess they should work ok if you use the latest version available.
 
Old 06-21-2012, 05:32 PM   #7
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,751

Rep: Reputation: 188Reputation: 188
Quote:
Still feel a little sad not being able to use a standard Debian program though.
youtube-dl will be in Debians repo.
 
Old 06-21-2012, 05:35 PM   #8
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,751

Rep: Reputation: 188Reputation: 188
Here is this
http://www.commandlinefu.com/command.../sort-by-votes
 
Old 06-30-2012, 09:19 AM   #9
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,751

Rep: Reputation: 188Reputation: 188
Ran across this.
Recover tmp flash videos (deleted immediately by the browser plugin)
Code:
for h in `find /proc/*/fd -ilname "/tmp/Flash*" 2>/dev/null`; do ln -s "$h" `readlink "$h" | cut -d' ' -f1`; done
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Shockwave Flash not working in Youtube and others teboil12 Linux - Software 4 06-18-2012 01:43 PM
[SOLVED] Youtube - Flash problem Steve W Linux - Software 4 07-07-2011 06:15 AM
Even after following the Flash guide, I still can't use Youtube on Fedora 14 theif519 Fedora 9 05-24-2011 02:31 PM
Youtube/Flash in konqueror (kde 4.3.5) veeall Slackware 7 05-05-2010 12:41 PM
Firefox youtube flash crashes koensmet Linux - Software 4 05-31-2007 04:48 PM


All times are GMT -5. The time now is 01:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration