Re: Capturing Google and Youtube videos with one command

2007-11-29 Thread Lior Okman


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

2007-11-29 Thread Geoffrey S. Mendelson
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

2007-11-29 Thread Shlomo Solomon
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]



Welcome to Linux: Introduction to Linux on Sunday, 2-Dec-2007

2007-11-29 Thread Shlomi Fish
As part of the Welcome to Linux ( http://welcome.linux.org.il/ ) series, the 
Tel Aviv Linux club will hold its first meeting next Sunday, 2-December-2007. 
Meital Bourvine will give the Introduction to Linux presentation.

The presentation will start at 18:30, in the Schreiber building, room 008 of 
Tel Aviv University. Attendance is free and everyone are welcome.

The purpose of the Welcome to Linux series is to introduce Linux to people who 
are not very familiar with it. More information can be found at:

* http://welcome.linux.org.il/2007/
* http://www.cs.tau.ac.il/telux/

Regards,

Shlomi Fish

-
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]



Pango Hebrew and Ampersand char

2007-11-29 Thread ik
Hello List,

I have this weird annoying bug on a GTK2 based program.
When I use Hebrew everything displaied properly, but when I add the
ampersand char () it will report a warning:

Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

Does anyone have experience with this issue and knows what I'm missing ?

Thanks,
Ido
-- 
http://ik.homelinux.org/

=
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

2007-11-29 Thread Shlomi Fish
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]



Store selling Linux computer with support

2007-11-29 Thread Aviram Jenik
Hi,

I want to buy a computer for my grandfather. I'm looking for a store that can 
sell me a brand new computer with Linux installed (Ubuntu preferably) and 
provide either paid or free support for that computer (including configuring 
it to connect to the Internet, configuring a new printer when needed, and 
fixing problems if they arise).

If anyone has recommendation of such a store, let me know. If you're a store 
owner please contact me off list. 

- Aviram

=
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

2007-11-29 Thread Shlomo Solomon
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]



video conversion question

2007-11-29 Thread Shlomo Solomon
I have a DVD-recorder that records on DVD+RW. The recorded DVD is viewable on 
Linux without any problems. I can also use DVDrip to create VOB files which 
are also viewable.

I sometimes use avidemux to convert the VOB files. I usually just do a default 
copy and end up with an AVI file. This file is also viewable, BUT I can't 
move forward or backwards in kaffeine or other viewers. On the other hand, if 
I choose auto--vcd from the avidemux menu, I get a MPEG file and I CAN move 
forward or backward in kaffeine. The problem is that creating the AVI file 
takes only a few seconds but creating the MPEG takes a LONG time, so I do 
prefer to stick with the AVI.

So what am I doing wrong - why can't I move forward or backwards? 


-- 
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

2007-11-29 Thread Amos Shapira
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: video conversion question

2007-11-29 Thread shimi
On Thursday 29 November 2007 20:58, Shlomo Solomon wrote:
 I have a DVD-recorder that records on DVD+RW. The recorded DVD is viewable
 on Linux without any problems. I can also use DVDrip to create VOB files
 which are also viewable.

 I sometimes use avidemux to convert the VOB files. I usually just do a
 default copy and end up with an AVI file. This file is also viewable, BUT I
 can't move forward or backwards in kaffeine or other viewers. On the other
 hand, if I choose auto--vcd from the avidemux menu, I get a MPEG file and
 I CAN move forward or backward in kaffeine. The problem is that creating
 the AVI file takes only a few seconds but creating the MPEG takes a LONG
 time, so I do prefer to stick with the AVI.

 So what am I doing wrong - why can't I move forward or backwards?

Does:

mplayer -forceidx [filename.avi]

Fix your problem?

-- Shimi

=
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

2007-11-29 Thread Shlomo Solomon
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

2007-11-29 Thread Geoffrey S. Mendelson
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]



Re: video conversion question

2007-11-29 Thread Geoffrey S. Mendelson
On Thu, Nov 29, 2007 at 08:58:09PM +0200, Shlomo Solomon wrote:

 So what am I doing wrong - why can't I move forward or backwards? 

It's missing an index. Mplayer will create it.

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]



Re: video conversion question

2007-11-29 Thread Shlomo Solomon
On Thursday 29 November 2007 21:09, shimi wrote:
 Does:

 mplayer -forceidx [filename.avi]

 Fix your problem?

Yes. I see that at start-up, it takes a few seconds to create an index. Do you 
know why avidemux didn't create the index when doing a default copy? I guess 
converting to mpeg DOES create the index, but the time involved in doing the 
conversion is really overkill.

-- 
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: video conversion question

2007-11-29 Thread Shlomo Solomon
Replying to my own question. After playing with a few more formats in 
avidemux, I discovered that if I chose mpeg TS instead of AVI, the index is 
created and the file plays in kaffeine. Surprisingly, this conversion is 
almost as fast as the default AVI. I created a 2 hour video in just over a 
minute.

On Thursday 29 November 2007 21:47, Shlomo Solomon wrote:
 On Thursday 29 November 2007 21:09, shimi wrote:
  Does:
 
  mplayer -forceidx [filename.avi]
 
  Fix your problem?

 Yes. I see that at start-up, it takes a few seconds to create an index. Do
 you know why avidemux didn't create the index when doing a default copy? I
 guess converting to mpeg DOES create the index, but the time involved in
 doing the conversion is really overkill.

-- 
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: Pango Hebrew and Ampersand char

2007-11-29 Thread Shachar Shemesh
ik wrote:
 Hello List,

 I have this weird annoying bug on a GTK2 based program.
 When I use Hebrew everything displaied properly, but when I add the
 ampersand char () it will report a warning:

 Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

 Does anyone have experience with this issue and knows what I'm missing ?

 Thanks,
 Ido
   
could it be that pango expects  encoding (HTML style) after the ampersand?

Try giving it #32;, and see whether it issues a space. Even better,
try lt; and see whether it generates a 

Shachar

=
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: Pango Hebrew and Ampersand char

2007-11-29 Thread Dotan Cohen
On 29/11/2007, ik [EMAIL PROTECTED] wrote:
 Hello List,

 I have this weird annoying bug on a GTK2 based program.
 When I use Hebrew everything displaied properly, but when I add the
 ampersand char () it will report a warning:

 Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

 Does anyone have experience with this issue and knows what I'm missing ?

 Thanks,
 Ido

The program may be storing it's info in XML files. Ampersand is an
illegal character in XML. In any case (XML or not) file a bug with the
software's author.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?