Thursday, April 30, 2009

How to convert wma to ogg

How can I convert all *.wma to *.ogg in one directory?
I first tried the approved ffmeg. That one helped me many times with good results.

Version 1:
find -name '*wma' -exec ffmpeg -i {} -acodec vorbis -ab 128k {}.ogg \;
rename 's/\.wma//' *\.wma\.ogg
(Test the renameing: rename --no-act --verbose 's/\.wma//' *\.wma\.ogg)

Version 2:
for i in *.wma; do ffmpeg -i "$i" -vn -acodec vorbis -ab 128k "${i/.wma}".ogg; done
# ffmpeg: -vn => novideo, -acodec vorbis => ogg-encoder, -ab set audio bitrate to 128k (64 is standard. That option doesn't seem to work with ogg :-(
# ${i/.wma} is cutting the filename $i from ".wma"

The quality gets really worse.

Best quality with version 3:

1. Step: Convert wma to flac with ffmeg
ffmpeg -i input.wma -vn -acodec flac output.flac

2. Step: Convert flac to ogg with oggenc
oggenc input.flac -q2 -o output.ogg
# -q quality 2 (1 bad .. 10 excellent)
# -o output-file

Or all in one line to convert the whole directory:
for i in *.wma; do ffmpeg -i "$i" -vn -acodec flac -y tmp.flac; oggenc tmp.flac -q2 -o "${i/.wma}".ogg; done; rm -f tmp.flac
# -y Overwrite output files.
# rm -f delete without further questions

EU Parliament elections and F/OSS

European Parliament election in 1 month and 4 days. The last months before elections politicians are listening very carefully to their voters. has some ideas how to bring FS and OSS into politicians minds. Even if there is no campaign in my EU-country (at the moment there is only one in Begum, France and Italy) it reminds me (and hopefully you) that this is a good time to act. NOW!

I will tease every politician I see and ask him or her about their attitude towards

  • software patents,
  • DRM,
  • support for F/OSS in schools and gov. administration,
  • ...
And perhaps I'm going to write some emails. So they know there is something like F/OSS and there are many, many voters interested in that topic.

Wednesday, April 15, 2009

Presenting KDE at LinuxInfoTag in Augsburg (Hello Planet)

Sat. March 28th LinuxInfoTag took place in Augsburg (in the south of Germany). Round 250 interested people were visiting the booths of KDE, Debian, and many many more Open Source Projects and could discuss with members of the communities or listen to 20 talks. This was not only my first official event promoting KDE I also had the chance to do my first talk introducing KDE 4.2. (Talking about first times: this is my first post on (thanks to Jonathan Riddell): Hello Planet!)

It was a great pleasure and honor to present KDE 4.2 together with Lydia, Eckhart and Frederik! Thanks for the fun and thanks to everyone who contributed to KDE (otherwise I had nothing to present).
Apart from a small number of comments the majority of visitors was really excited about KDE 4.2. :-)
Kudos to all of you!

P.S.: You can find the slides (German) here:
PDF (3,7MB):
ODF (OOo3.0.1) (4,6MB):
ODF template (102KB):