Archiv für Dezember 2004

avi to dvd — PAL — aspect ratios

Dezember 31, 2004

source::Doom9

Now for PAL it’s a tad bit more complicated as for a 4:3 PAL displays the actual resolution during playback is 768×576 (576 x 4 / 3 = 768). So, we have to make sure that the movie looks okay at that resolution. To spare you the calculations for an 1:2.35 movie this means that the vertical part of the picture has to take up 326 pixels, for an 1:1.85 movie the vertical part has to be 416 pixels, and for a 1:1.33 movie the vertical part has to take up the whole 576 horizontal lines. In practical terms this means that you resize an 1:2.35 movie to 720×326 and add (576 – 326 / 2 = 125 black lines on top and bottom of the picture), for an 1:1.85 movie you resize to 720×416 and add 80 pixels on each side, and for an 1:1.33 movie you resize to 720×576 and add 0 pixels.

bootskinned boot.ini

Dezember 16, 2004

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)WINDOWS=“Microsoft Windows XP Professional“ /noexecute=optin /fastdetect
multi(0)disk(0)rdisk(0)partition(2)WINDOWS=“Bootskinned Windows XP Professional“ /noexecute=optin /fastdetect /KERNEL=ntosmine.exe“

Notes for using GPG to encrypt and decrypt backup files

Dezember 13, 2004

Notes for using GPG:

„To create a new public/private key pair, run:
gpg –gen-key and follow the prompts.

To list public keys, run:
gpg –list-keys

To list private or secret keys, run:
gpg –list-secret-keys

To export a public key to an ascii text file, run:
gpg -a –export NAME > yourpublickey.gpg

To export a private (or secret) key to an ascii text file, run:
gpg -a –export-secret-keys NAME > yourprivatekey.gpg

To delete a public key from the local key ring:
gpg –delete-keys NAME

To delete a secret key from the local key ring:
gpg –delete-secret-key NAME

To encrypt a file, use:
gpg -r NAME –output OUTFILE.gpg –encrypt INFILE

To decrypt a file, use:
gpg -r NAME –output OUTFILE –decrypt INFILE.gpg

If you leave out the ‘-r’ option, it will prompt you for the name of the user whose key should be used.“