Posts Tagged ‘Ubuntu’

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…

Solution: Mythtv somtimes doesn’t detect the tuner cards

March 9, 2009 1 comment

As described here I fought the problem for a long time, that mythtv sometimes just refuses to detect the TV cards, when two TV cards are installed.

I think I found the solution to the problem now finally – the problem appears when the loading order of the driver modules are mixed up, so that Card1, which normally is linked to /dev/video0 is linked to /dev/video1 and vice versa for Card2 – that seems to confuse mythtv.

So, the trick is to define in mythbuntu (or Ubuntu+mythtv), that it should load Card1 before Card2 so that the corresponding linking to the video-devs is done correctly.

As Ubuntu uses udev, which is not really easy, I just did the old dirty trick:
1) blacklist both TV card modules (in my case: ivtv and bttv):

sudo vi /etc/modprobe.d/blacklist

and add :

blacklist ivtv
blacklist bttv

2) Load the modules in your desired order:

sudo vi /etc/modules

and add:


That’s it – I hope it finally really works and will test it in the next days.

UPDATED2: Quick tip: Asus A8V-VM SE and mythtv

March 2, 2009 1 comment

I am running Mythbuntu 8.10 on my Asus A8V-VM SE with a Athlon 64 3200+ and faced severe problems. The most annoying one was the problem, that mythtv periodically wasn’t able to detect the tuner cards, although they were detected by the kernel and were configured correctly.

I tried several tips like moving the daemon call of mythtv-backend in /etc/rc5.d to a later position, from S25mythtv-backend to S99mythtv-backend – this didn’t really help. Until I finally got a setup, which works now in most cases or let’s say, nearly with all bootups.

So to help you preventing one or another headache, this is my setup wich works now really well:

In the Asus BIOS, you have to disable:
ACPI 2.0 support

and in Ubuntu, you have to add


in /boot/grub/menu.lst, so that it looks like this:

kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=xyz ro locale=de_DE quiet noapic

The next article I am planning will describe how to setup mythwelcome and acpi wakeup with Mythbuntu 8.10 on the crappy Asus A8V-VM SE – stay tuned.

I recently posted exactly here another socalled dirty tip, which should solve the problem – but as I have faced the same problem today again, that mythtv sometimes just refuses to detect the cards, I deleted it. But I think (and hope) I found the real deal today, the problem, why mythtv sometimes just doesn’t detect the cards, although the kernel detects it correctly.

The solution is posted in another post here:

Categories: Howto, Mythtv, Ubuntu Tags: , , , ,