Language Selection

English French German Italian Portuguese Spanish

Why Phonon is a broken wheel

Filed under
KDE

In the discussion the approach taken by the Phonon abstraction layer which the Phonon project is advocating for inclusion in KDE4 also came up. I have held back blogging about Phonon for some time to avoid flamewars, but I don't want to have efforts like OSDL delayed due to setups like Phonon being promoted or thought of as a workable solution for the issues faced. Let me start of with a brief introduction to the area of multimedia frameworks.

First of all multimedia frameworks are very complex systems, handling very hard technical problems in order to cater for issues ranging from problems from dealing with the analog past (for some technical information in this field I recommend fourcc.org), a forest of media formats with different traits, a host of features/deficiencies in hardware and a wide range of other software solutions to interact with like sound servers and legacy systems. On top of this you add performance and latency requirements, network protocols and multiplatform issues. In the end you have a problem space where even those who have worked on the issues for many years need to keep their head clear when designing the framework.

Multimedia frameworks are also by their nature abstraction layers themselves, trying to abstract away all the demuxers, muxers, decoders, encoders, cameras, soundcards, sound systems, network protocols and various types of filters into a coherent and userfriendly API.

Now to get back to why I think Phonon is conceptually broken. First of all it is destined to fall into one of two traps. Either its API become so high level and limited that application developers will shun it due to a lack of features, meaning that you have an API useful for doing 'ding' sounds in standard applications, but anyone wanting more powerful operations will feel its a bigger hindrance than a help. On the other hand if they actually try to implement a feature set that is big enough to at least satisfy a subset, of for instance music player writers, then they will be forced into accessing things so deep in the frameworks that the operations become so framework specific that generalizing them away into a common API will at best be a kludge and at worst produce various broken behaviour changing depending on framework chosen.

Phonon also falls short in many other areas.

Full Story.

More in Tux Machines

Eight great Linux gifts for the holiday season

Do you want to give your techie friend a very Linux holiday season? Sure you do! Here are some suggestion to brighten your favorite Tux fan's day. Read more Also: More Random Gift Ideas For Linux Enthusiasts & Others Into Tech Which open source gift is at the top of your holiday wish list?

Ubuntu-Based ExTiX OS Updated for Intel Compute Sticks with Improved Installer

GNU/Linux developer Arne Exton announced this past weekend the release of an updated build of his Ubuntu-based ExTiX Linux distribution for Intel Compute Stick devices. Last month, we reported on the initial availability of a port of the ExTiX operating system for Intel Compute Sticks, boasting the lightweight and modern LXQt 0.10.0 desktop environment and powered by the latest Linux 4.8 kernel, tweaked by Arne Exton for Intel Atom processors. And now, ExTiX Build 161203 is out as a drop-in replacement for Build 161119, bringing a much-improved Ubiquity graphics installer that should no longer crash, as several users who attempted to install the Ubuntu-based GNU/Linux distro on their Intel Compute Stick devices reported. Read more Also: Debian-Based SparkyLinux 4.5 Brings Support for exFAT Filesystems, systemd 232 4MLinux 20.1 Linux Distro Released with Kernel 4.4.34 LTS to Restore PAE Support

Today in Techrights

Canonical Releases Snapcraft 2.23 Snap Creator for Ubuntu 16.04 LTS and 16.10

Canonical's Snappy development team have released a new maintenance version of the Snapcraft 2.x tool that lets applications developers package their apps as Snap packages for Ubuntu and other GNU/Linux distributions that support Snaps. Read more