Archive for the ‘Uncategorized’ Category

Convert Videos for the Nokia 5230 (and Nokia 5800)

March 16, 2010 3 comments

I recently purchased a Nokia 5230 and looked for a way to convert videos using Ubuntu.

There are plenty of free and unfree solutions in Windows for conversion (which didn´t work very well for me). So, there is an easy way in Ubuntu 9.10 which produces vids with nice quality both in video and sound in full resolution, which is 640x360px for the Nokia 5230.

I am using ffmpeg via console – it´s fast, very flexible and exactly does what it should do.

The command goes like this:

ffmpeg -i SOURCEFILE -f mp4 -vcodec libxvid -s 640x360 -b 768kb -r 25 -aspect 16:9 -acodec libfaac -ab 96kb -ar 44100 -ac 2 DESTINATIONFILE

That´s it. SOURCEFILE is the name of the video you are planning to encode, DESTINATIONFILE is the name of the vid you are expecting.

I put this command in a very simple (and primimtive) bash script:

Read more…


Howto: Use Floppy in Ubuntu

March 1, 2009 9 comments

By default, the use of floppy drives is disabled in Ubuntu 8.10.
The reason for a not responding floppy under /dev/fd0 (standard device) is the deactivated kernel module for floppies. To permanently activate the module loading of the floppy, simply run in xterm:

gksudo gedit /etc/modules

and add this simple line to /etc/modules at the end of the file


Don´t forget to save (and overwrite) the file afterwards !!!

The Floppy will be now available after reboot – to use it instantly, simply type into xterm:

sudo modprobe floppy

To mount the floppy, add a mountpoint in /media like

sudo mkdir /media/floppy

and mount it with:

sudo mount /dev/fd0 /media/floppy

To permanently have the device linked to the mountpoint, edit /etc/fstab:

gksudo gedit /etc/fstab

and add this line:

/dev/fd0 /media/floppy auto rw,user,noauto,exec,utf8 0 0

Again, don´t forget to save (and overwrite) the file!!!

Categories: Uncategorized