Klaus Stärk has
submitted an interview he recently conducted with
Charles Samuels about
Noatun. Noatun is KDE's powerful multimedia (video/audio)
player. Klaus tells us that Noatun will be the "Application of the
Month October 2001" on the German
KDE-webpage, so the interview will be translated into German at that time.
What does "Noatun" stand for? Is it an acronym for something?
It's not an acronym at all. It's related to my nickname on IRC (Njaard -- a
misspelling of the Norse god Njord). Let's leave it at that.
How did you start the Noatun-Project and who else is involved in
Noatun was started on August 26, 2000, well, that was the first commit. I'd
been thinking about it already in March of that year, I decided that there
needed to be a media player that could play everything, and one that didn't
have silly skins.
It evolved quite a bit, and later that year, the core was pluginified, the
user interface was implemented (now known as Milk Chocolate), and the
playlist (now the Split Playlist) was created.
It developed quite rapidly, especially since I made a deal with myself: I
will not play a single bit of music unless it's with Noatun, and I listen to a
lot of music, so, within that week, I was playing music. Not well, mind you,
the playlist hardly worked, and the UI didn't do much related to song length
What other oss-projects are you involved in?
A couple of minor projects,
ITC, which, BTW, was
created to make it easy for me to write multithreaded codecs for
has now become a threaded one, with ITC)
How was it decided to add Noatun to KDE?
From the very start, I created it in the hopes that it would be part of KDE.
Kaiman was . . . inadequate, to say the least. In addition, I have a strong
dislike for skins (which is strange, since I wrote what may be Noatun's best
skin loader, KJofol), and Kaiman was, at the time, unmaintained, and lacking
You visited the LWE in SF this week where you had the joy of accepting the
"Best Open Source Project" award in the name of the KDE-Project. What did
you think of that?
Well, it was nice! I can't say I was too shocked, but I certainly was
pleased, and the large amount of KDE developers present made it even better.
How do you see the future of multimedia apps for KDE, especially Noatun?
What can the KDE-user expect from these apps?
It will get better. We're working on making Noatun itself much more powerful
and extensible via plugins. It's designed bottom-up to make a huge amount of
features in the form of plugins, and KDE 3.0 will make this hold even more
true. Multimedia-wise, support for more formats, more features, different
Which is your favourite feature in Noatun?
Probably that the user-interface is a plugin. I still in fact use the
original user-interface (Milk Chocolate), however, nobody else is forced to.
Although, Young Hickory is real nice.
What do you do in your sparetime when you're not coding for the
I don't understand the question . . . ;-) Seriously, I'll be
starting at a university in a couple of months, so until then, I get to
code to my heart's content. Until I get a job *hint*. There's also a
lot of non-KDE stuff I've written (which you get to hear about if you
find me on irc.kde.org)
What's your opinion on the future of "Linux on the desktop"?
I think that Linux is a desktop OS, and it will slowly kick lesser operating
systems off the market. And with Linux's popularity increasing, KDE's will,
along with FreeBSD's and the like.
- Klaus Stärk: [email protected]
- Charles Samuels: [email protected]
- Noatun: http://noatun.kde.org/
Charles, what do you think about the Tabs versus Spaces for indentation situation in KDE? I am never sure which to use and I am not happy about the state of Spaces and Tabs in KDE CVS! We should do something about this.
Thanks for Noatun though. :)
Everybody knows that the OTIS (One True Indenting Style) uses 4 spaces for indentation.
"Everybody knows that the OTIS (One True Indenting Style) uses 4 spaces for indentation."
Bah! No! Use tabs. If you like your indentation to be 4 spaces, set your tabstop to 4.
What does 4 spaces mean ? 4 spaces.
What do you intend when putting them ? Indent.
Just as the newline character means a new line,
et the tab mean indentation (or tabulation).
That was it is for.
The first thing you learn while writing XML/SGML
documents is that contents is not presentation.
You waste your time if you take care of presentation
(ie : counting tabs, and why 4 tabs after all - it's
a presentation choice) while coding. Tabs acts as
a XML tag that says... indent !
Let your editor handle the look of your code, and
put only the core meaning in your files.
(of course, that's my opinion... and no, I do not
want to troll ;-)
: The first thing you learn while writing XML/SGML
: documents is that contents is not presentation.
Damn it, I
concept to heart
and now my python
You misunderstood me. In python, indentation is part
of the semantic. Presentation has nothing to do with
indentation, you can indent with tab (a language that
doesn't accept that is a broken one).
:: You misunderstood me. In python, indentation is part
:: of the semantic. Presentation has nothing to do with
In python, indentation is part of the semantic
information used by the interpreter. In C++,
indentation is part of the semantic information used
by the coder.
Otherwise, why comment code? It does not carry any
semantic information that the compiler cares about...
While reloading http://www.kde.org/ waiting for the KDE 2.2.1 release, so that I can mention it on freekde in a timely manner, I happened to notice this article... and it's a good thing I did.
The definitive answer on code indentation is found at why-to-tabs.html, mirrored on freekde as Charles lost his DSL. A more complete style document is available at s-and-s.html
(I still wish you'd use slash so I can turn off comment display, Navindra)
And this from the person who actually used but subsequently abandoned Slash for some other wanabee LAMP solution? ;)
Definitive my ass. The fact that you prefer it hardly makes it definitive. Plus it was written by Charles. Not to downplay his significance in KDE, but he's hardly an authority on all of programming. K&R say style is choice of the coder (what a shock!), and the only thing they recommend is sticking with the same style throughout your code, which is excellent advice.
So stop this "definitive" crap.
> The definitive answer on code indentation is found at why-to-tabs.html
I think it comes as no surprise that the person who wrote this (Charles) is still in high school. None of his arguments hold ground. This one in particular is a gem :
"Any editor that doesn't cope with tabs isn't an editor, but a bug (emacs comes to mind)."
Be assured that once he graduates, after a couple of years working as a professional programmer part of a team, he'll have quite a different opinion. At least I hope for him :-).
Yeah... really definitive, anyone who uses tabs for identation will eventually use a space (mainly when you break statements into multiple lines) and... voilá, your code now visually suck everywhere but your editor (good luck trying to avoid it). Anyway tabs or spaces are a matter of personal choice, there's nothing definitive about that. I use spaces... I want my code to look the same everywhere... maybe I'm evil, but that's my choice.
Notaun ( http://notaun.kde.org ) site seems to be down ...
Yeah, that's because it's running on Njaard's (er, i mean Njord's) personal network, and he's been having some ISP problems...
Why Charles, it seems even the dot is more stable than your server! :-P
Bleh! The server is still up!
$ ping altair
PING altair.littlenet (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=255 time=0.9 ms
--- altair.littlenet ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.9/0.9/0.9 ms
It's just that it's not actually connected to the internet :)
It may also help to spell noatun.kde.org *correctly* in the future. btw :)
Hm, it would be great if it where possible to use the
quicktime .dll files as a plugin to play the Sorensen Codec movie files
(I know there is a crossover plugin that can play sorenson codec videos, but
it is not free like free beer, and as long as i can dualboot and use quicktime under windows...)
What about reaktivate?
i'd LOVE to see a xine plugin! (xine.sourceforge.net). using it you'd get mpeg (ok that's duplicate but last time i checked i found rendering noticeably better than with mpeglib), mpeg2, DVD (that's the selling thing, and no MPAA risks, you install the DVD-unscrambling thing as a plugin if you want, xine does NOT include it :o) ), AVI, etc etc.
and now xine is split out in a library and a UI module so it's possible... it's be great to have it integrated in noatun..
I agree, and it doesn't have any evil dependencies either.
I have some wishes for Noatun:
1. It should be a media player instead of just audio player including VCD, DVD, AVI and especially real media's *.rm and *.ram files and other too.
2. I wish Noatun should get a Real Player theme which looks very nice, and the URL you gave in the Help "http://www.angelfire.com/mo/nequiem/tutorial.html" is dead :(
3. I wish Xmms plugins (which are too many) could be used with Noatun :)
Well, a direct port of xmms to qt and kde is in the works. It is almost done, and hopefully will be released in several weeks :)
The only downside is that gtk+ plugins have much trickery involved to work properly.
Besides, that, the interface itself is natively drawn using qpainter instead of gdk.
The new link for my tutorial is here:
This is a question. Could you give me som info on the NOATUN media player? I need to know How it works, where the files are saved and how they are saved. Also if you could, what files it plays and what it does not, and any additional info you think is helpful. I appreciate it. Thanx, Dan Tenters
In fact noatun is just a GUI for ARTS. ARTS is KDE's multimedia server. So, if ARTS can play a file, noatun can and vice-versa. IIRC, ARTS uses a plugin system to read different file formats. On my machine, ARTS can play WAV, OGG, MP3 as well as MPG, ASF, AVI, DIVX etc... If you want to read the latest video formats (DIVX, ASF etc...), you have to install the "xine-arts" plugin which enables ARTS to play every file that Xine (the video player) can read. So, if ARTS can play them, then Noatun (and kaboodle and any ARTS-enabled application) can read it.
I hope that was clear enough.
...is where the hell is KDE 2.2.1? It was supposed to be released yesterday (9/17/2001)!
I've been using it since sometime last week. It's GREAT!!!
:: ..is where the hell is KDE 2.2.1?
No, the real question is "Were the tarballs released?", your question would (probably) be "Where are my OS/distro's binaries?"
Incidently, someone on #kde just told me that the tarballs *have* shipped "days ago", and that means that it's in the hands of the packagers.
if you can find it you can propably get the sources via cvs.
It seems at Mandrake everyone is too busy to make RPMS... maybe it's time to switch to SuSe.
Yeap,if you like kde upgrades ASAP:)
Mandrake was too busy getting its release candidate for version 8.1 out the door. Said release candidate does include KDE 2.2.1. Switch to SuSE if you wish but there is no need to utter calumny against Mandrake's deservedly good name.
The Idea behind Noatun is quite nice. The problem is it just doesn't seem to work. Upto now I never had a version that didn't crash right away after starting to play a simple .wav or .mp3 file. I regurlarily build CVS versions and right now I'm running 2.2.0. Well, maybe I have to wait a while. Until it's ready I'll use xmms...
You should expect problems when running the CVS version, specially because of changes in arts.
The best thing you can do right now is try KDE 2.2.1 and if that doesn't fix your problem, report a bug.
My first impressions of noatun where also not good. It was ugly and complex. But now in kde 2.2 with a nice skin I like it.
I also use mostly xmms. The reason is simple: xmms doesn't use the soundserver and blocks the /dev/dsp device so I don't hear the embarrassing kde window manager sounds when listening music :-)))
You know...you could just turn off the windomanager sounds....
I use xmms too...mainly because I'm used to it......but I use the arts output plugin.....
I had the same problem until 2.2.0. I didn't use it much when I ran 2.2.0, but I've been stressing it quite a bit since I pulled 2.2.1 from CVS early last week and it's been solid.
Please have a look at the CVS-version of MPlayer! (http://mplayer.dev.hu)
It plays just about anything (including WMV8). They also have QuickTime and RealMovie support in the TODO-list... (or at least talk about it on the mailinglist). It is also the fastest DVD-player on Linux.
A nice improved Windoze Media Player 6.4-alike KDE-GUI to this beast would make it the best Movie-player there is on any platform!
Also take the DVD-menus support from Ogle (http://www.dtek.chalmers.se/groups/dvd/) !
Why not just use aviplay. It is equivalent to mplayer (same libs), and has a nice qt gui instead of mplayer's ugly gui.
Because aviplay's underlying code is inferior. MPlayer is *much* faster and is more configureable.
I'd rather use a descent and full-featured player than some near-empty but good looking one.
I WOULD LIKE TO JOIN
I LOVE MPLAYER