urlaub :: Schweden

Der Urlaub in Schweden mit dem Kanu war richtig geil! Habe heute die Photos bekommen und da erinnert man sich wieder an alles. Ich hoffe nächstes Jahr klappt sowas wieder.

Der Urlaub war eine Pauschalreise vom abenteuerteam.com. Wir haben 180 Euro pro Person bezahlt und es war so gut wie alles was man braucht dabei: Flug, Kanu, Ausrüstung und jede Menge Spass!

mencoder :: xvid compression multipass

Sometimes it is necessary to compress video. My preferred codec is XviD, because its GPL.
With the following script the 2 pass encoding is done automatic.

#!/bin/bash
bitrate=$3
infile=$1
outfile=$2-xvid-$bitrate.avi

# Audio preprocessing
mencoder $infile -ovc frameno -oac mp3lame -lameopts vbr=3 -o frameno.avi -quiet

# 2pass
mencoder $infile -ovc xvid -xvidencopts bitrate=$bitrate:pass=1 
 -vf pp=tn/lb/hb/vb -oac copy -o /dev/null
mencoder $infile -ovc xvid -xvidencopts bitrate=$bitrate:pass=2 
 -vf pp=tn/lb/hb/vb -oac copy -o $outfile

# remove trash
rm -f frameno.avi xvid-twopass.stats

call it with ./xvid.sh inputfilename outputfilename bitrate.
It needs twice as long as normal compression but the result is quite better.

palm :: visor module needed

add the following to your kernel

Device Drivers  --->
  USB support  --->
    USB Serial Converter support  --->
       USB Serial Converter support
      [*]   USB Generic Serial Driver
         USB Handspring Visor / Palm m50x / Sony Clie Driver 

now hope that your hotplugging is properly installed. maybe you must make /dev/usb/tty/* readable with chmod 666 /dev/usb/tty/*. now if you connct the palm or what ever to your usb port and pressed the hotsync button, the visor and the usbserial modules shuold be loaded and the sync should start.

cups :: network printing

to use cups just start the cups deamon. then point your browser to localhost:631 . there you can add your printers to cups. most printers need special drivers, that need to be installed:

*  net-print/hpijs
      Homepage:    http://hpinkjet.sourceforge.net/
      Description: The HP Inkjet server for Ghostscript. Provides best output for 
                   HP Inkjet Printers and some LaserJets
      License:     BSD

*  net-print/hpoj
      Homepage:    http://hpoj.sourceforge.net/
      Description: HP OfficeJet Linux driver
      License:     GPL-2

*  net-print/pup
      Homepage:    http://pup.sourceforge.net/
      Description: Printer Utility Program, setup & maintenance for certain 
                   Lexmark & HP printers
      License:     GPL-2

but the most important parts are:

*  net-print/foomatic
      Homepage:    http://www.linuxprinting.org/foomatic.html
      Description: The Foomatic printing meta package
      License:     GPL-2

*  net-print/foomatic-db
      Homepage:    http://www.linuxprinting.org/foomatic
      Description: Foomatic printer database
      License:     GPL-2

*  net-print/foomatic-db-engine
      Homepage:    http://www.linuxprinting.org/foomatic
      Description: Foomatic printer database engine
      License:     GPL-2

*  net-print/foomatic-filters
      Homepage:    http://www.linuxprinting.org/foomatic
      Description: Foomatic wrapper scripts
      License:     GPL-2

With these installed all printers should be usable.