Re: Capturing Google and Youtube videos with one command
On Thu, Nov 29, 2007, Lior Okman wrote about Re: Capturing Google and Youtube videos with one command: Even easier, if you're using the flash nonfree plugin, is to just copy the relevant FLV file from your /tmp directory after the plugin finishes downloading it. Or, you can play that file (again, the last file you see in /tmp after you finish to load the entire movie in the browser) with mplayer. So if you use mplayer to play videos, there is no need to convert these files to anything - you can play them directly. -- Nadav Har'El| Friday, Nov 30 2007, 21 Kislev 5768 [EMAIL PROTECTED] |- Phone +972-523-790466, ICQ 13349191 |All those who believe in psychokinesis, http://nadav.harel.org.il |raise my hand. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Capturing Google and Youtube videos with one command
Even easier, if you're using the flash nonfree plugin, is to just copy the relevant FLV file from your /tmp directory after the plugin finishes downloading it. Lior Shlomo Solomon wrote: The subject says it all. This may not be news, but I found it today and it may be useful to others. All you need is Firefox and ffmpeg, no addons, extensions or plugins. You watch the video in Firefox (to create the input file in the Firefox cache) and then run: ffmpeg -i $(find ~/.mozilla -regex '.*Cache.*' -a -not -regex \ '.*_CACHE_.*' -printf '%T+ %p\n' | \ sort -n | awk '{ print $2 }' | xargs file | \ grep -i Video | tail -1 | awk -F : '{ print $1 }') \ -vcodec msmpeg4v2 -b 200 -ab 64 -ar 22050 -s 320x240 \ /tmp/video.avi Don't forget to remove the \ at the end of each line and run as one command. For a fuller explanation and a few caveats, look at http://www.paganini.net/index.cgi/linux/capturing_flv.html -- Shlomo Solomon http://the-solomons.net Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Capturing Google and Youtube videos with one command
On Thu, Nov 29, 2007 at 01:59:20PM +0200, Shlomo Solomon wrote: This may not be news, but I found it today and it may be useful to others. All you need is Firefox and ffmpeg, no addons, extensions or plugins. You watch the video in Firefox (to create the input file in the Firefox cache) and then run: Isn't easier to install UNPLUG and let it do all the work? Geoff. -- Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED] N3OWJ/4X1GM IL Voice: (07)-7424-1667 U.S. Voice: 1-215-821-1838 Visit my 'blog at http://geoffstechno.livejournal.com/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Capturing Google and Youtube videos with one command
The subject says it all. This may not be news, but I found it today and it may be useful to others. All you need is Firefox and ffmpeg, no addons, extensions or plugins. You watch the video in Firefox (to create the input file in the Firefox cache) and then run: ffmpeg -i $(find ~/.mozilla -regex '.*Cache.*' -a -not -regex \ '.*_CACHE_.*' -printf '%T+ %p\n' | \ sort -n | awk '{ print $2 }' | xargs file | \ grep -i Video | tail -1 | awk -F : '{ print $1 }') \ -vcodec msmpeg4v2 -b 200 -ab 64 -ar 22050 -s 320x240 \ /tmp/video.avi Don't forget to remove the \ at the end of each line and run as one command. For a fuller explanation and a few caveats, look at http://www.paganini.net/index.cgi/linux/capturing_flv.html -- Shlomo Solomon http://the-solomons.net Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Capturing Google and Youtube videos with one command
Hi Shlomo! On Thursday 29 November 2007, Shlomo Solomon wrote: The subject says it all. This may not be news, but I found it today and it may be useful to others. All you need is Firefox and ffmpeg, no addons, extensions or plugins. You watch the video in Firefox (to create the input file in the Firefox cache) and then run: ffmpeg -i $(find ~/.mozilla -regex '.*Cache.*' -a -not -regex \ '.*_CACHE_.*' -printf '%T+ %p\n' | \ sort -n | awk '{ print $2 }' | xargs file | \ grep -i Video | tail -1 | awk -F : '{ print $1 }') \ -vcodec msmpeg4v2 -b 200 -ab 64 -ar 22050 -s 320x240 \ /tmp/video.avi Don't forget to remove the \ at the end of each line and run as one command. For a fuller explanation and a few caveats, look at http://www.paganini.net/index.cgi/linux/capturing_flv.html Perhaps I'm missing something, but why not use youtube-dl? http://www.arrakis.es/~rggi3/youtube-dl/ Unless of course this video is not publically accessible, and requires payment or registration or whatever. In that case, your method is better. Regards, Shlomi Fish -- Shlomo Solomon http://the-solomons.net Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] - Shlomi Fish [EMAIL PROTECTED] Homepage:http://www.shlomifish.org/ I'm not an actor - I just play one on T.V. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Capturing Google and Youtube videos with one command
Actually, I didn't expect so many replies to my tip. Fistly, let me just repeat that it's not really mine. I just happened to find it on the net and thought it might be useful. However, I will comment on the three answers. All three are, of course, correct. As usual, there are several ways to do anything and each has it's advantages and disadvantages. The whole point of what I suggested was that it's simple and generic and you don't have to install anything. On Thursday 29 November 2007 14:13, Lior Okman wrote: Even easier, if you're using the flash nonfree plugin, is to just copy the relevant FLV file from your /tmp directory after the plugin finishes downloading it. True, but you have to find the file which is buried somewhere in the cache - not difficult, but an extra task. And then, you still have to do the conversion to AVI. On Thursday 29 November 2007 14:16, Geoffrey S. Mendelson wrote: Isn't easier to install UNPLUG and let it do all the work? Yes and no. Unplug presents you with a list of one or more files and you sometimes have to guess which is the one you want. And again, the conversion is a seperate step. On Thursday 29 November 2007 17:47, Shlomi Fish wrote: Perhaps I'm missing something, but why not use youtube-dl? http://www.arrakis.es/~rggi3/youtube-dl/ I haven't tried this one, so I can't really comment, but if I understand correctly, this is a script that has to be installed and then you have to pass it the exact URL of the specific Youtube video - again, not really difficult, but it adds an extra step. -- Shlomo Solomon http://the-solomons.net Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Capturing Google and Youtube videos with one command
On 29/11/2007, Shlomo Solomon [EMAIL PROTECTED] wrote: The subject says it all. This may not be news, but I found it today and it may be useful to others. All you need is Firefox and ffmpeg, no addons, extensions or plugins. Thanks for the tip. A while ago I looked for a way to download Google Videos and non of the plug-ins or stand-alone clients I found worked. There is also the added benefit of not downloading the video more than the one you usually do when you watch it. --Amos
Re: Capturing Google and Youtube videos with one command
On Thursday 29 November 2007 20:37, Amos Shapira wrote: Thanks for the tip. A while ago I looked for a way to download Google Videos and non of the plug-ins or stand-alone clients I found worked. There is also the added benefit of not downloading the video more than the one you usually do when you watch it. Actually, there seems to be an added fringe benefit to the command I sent. Since it only depends on what's in the Firefox cache, it doesn't seem to be specific to Youtube. I sometimes get sent links to sites with embedded Youtube videos. UnPlug or similar utilities won't usually download these videos. My guess is that it's because the URL is not in the expected form. But the command I mentioned works for this type of site. Here's an example: http://sharkbait.computerworld.com/?q=node/1913source=NLT_SHARKnlid=6 -- Shlomo Solomon http://the-solomons.net Sent by KMail (KDE 3.5.4) on LINUX Mandriva 2007 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Capturing Google and Youtube videos with one command
On Thu, Nov 29, 2007 at 08:41:27PM +0200, Shlomo Solomon wrote: True, but you have to find the file which is buried somewhere in the cache - not difficult, but an extra task. And then, you still have to do the conversion to AVI. I'm not sure why you would bother. Mplayer, VLC and XINE all play flv files, which has me covered for Linux, MACOs and Windows. :-) Geoff. -- Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED] N3OWJ/4X1GM IL Voice: (07)-7424-1667 U.S. Voice: 1-215-821-1838 Visit my 'blog at http://geoffstechno.livejournal.com/ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]