Tuesday, February 28, 2006

all2theora

here is my all2theora script

(Thanks to my friend Zaher for fixing the Divx problem "-vf harddup")
(based on Florian Schilhabel dvd2divx script Licence: GPL)

#!/usr/bin/perl

use Getopt::Long;

GetOptions( "help" => \$help,
"i=s" => \$input,
"divx=s" => \$divx, );

if ($help) {
print "Welcome to the ALL2theora Helper Script\n";
print "\n";
print "this script encodes a all file to theora\n";
print "Usage:\n";
print "--help show this text\n";
print " this will only be possible if you are root\n";
print "--i Specify the Name of your Video file\n";
exit;
}

if ($input eq "") {
print "No Input file selected - You must specify one with: --i filename.\n";
print "\n";
print "this script encodes a all file to theora\n";
print "Usage:\n";
print "--help show this text\n";
print " this will only be possible if you are root\n";
print "--i Specify the Name of your Video file\n";
exit;
}

if ($divx eq "on") {

system ("mkfifo stream.yuv && chmod 777 stream.yuv && mencoder $input -ovc lavc -oac copy -o tmp.avi -lavcopts vcodec=mpeg1video:vbitrate=1200 -vf harddup -of mpeg && mplayer -vc dummy -vo null -ao pcm:file=stream.wav tmp.avi && encoder_example stream.wav stream.yuv > theora.ogg | mplayer -ao null -nosound -vo yuv4mpeg tmp.avi - 1>/dev/tty7 8>/dev/tty7 && rm stream.yuv && rm stream.wav && rm tmp.avi");
exit;
}

if ($divx eq "off") {
system ("mkfifo stream.yuv && chmod 777 stream.yuv && mplayer -vc dummy -vo null -ao pcm:file=stream.wav $input && encoder_example stream.wav stream.yuv > theora.ogg | mplayer -ao null -nosound -vo yuv4mpeg $input - 1>/dev/tty7 8>/dev/tty7 && rm stream.yuv && rm stream.wav");
exit;
}

if ($divx eq "") {
system ("mkfifo stream.yuv && chmod 777 stream.yuv && mplayer -vc dummy -vo null -ao pcm:file=stream.wav $input && encoder_example stream.wav stream.yuv > theora.ogg | mplayer -ao null -nosound -vo yuv4mpeg $input - 1>/dev/tty7 8>/dev/tty7 && rm stream.yuv && rm stream.wav");
exit;
}

print "Video Filename: $input\n";
print "working...\n";

exit;

Licence: GPL

Wallpaper for Music



Music

download it from
deviantart.com
Licence: GPL

Wallpaper for Open Source



Open Source

i have designed it in a week.

download it from
www.kde-look.org
Licence: GPL

Inspiration to a be a designer



linux_blue


This wallpaper was my inspiration to a be a designer. I have created it using inkscape.

This was the default wallpaper of OnebaseGo 2.0 Preview1 (www.onebaselinux.org)

download it from
www.kde-look.org
Licence: GPL

Monday, February 27, 2006

booting tty1


Starting my blog.

I am Salahuddin Pasha (salahuddin66)


myself

I was born in Bogra but i spend my childhood in Chittagong, now living in Dhaka
in Bangladesh

I like Open Source, GNU, FSF, Hurd


now i am

working as a Graphics Designer in Texas Group
a student of American International University Bangladesh AIUB in CSE
working in Ankur Bangla