Chef de Cambuse, cruising and wine

Archive for April 2009


written by Frank, on Apr 24, 2009 8:12:00 PM.

Coherence is one out of four finalists in the category “Media”
of this years Trophées du libre.

Kudos once more to Erwan Velu for his magnificent promotion!

media collection playing - the DLNA way

written by Frank, on Apr 23, 2009 3:00:00 PM.

Media collections - being it all songs from one album, a list of favorites, or an image slideshow - have not attracted much attention in the world of UPnP A/V.

Of course there are the ContentDirectory objects playlistContainer and playlistItem, but these - if at all - are mostly used to point to some M3U file. And in addition, the client has to support that format. Another drawback is that M3U files don’t fit very well into the UPnP A/V philosophy. A ControlPoint will only know about the M3U file, but not which item of it is played at the moment. Or what metadata is associated with that item. Neither are next and previous operations implementable.

So the task of handling the collection was handed off to the ControlPoint. It was responsible now for holding a list of items to play and to instruct the MediaRenderer to load and play the next item in the list the moment the previous was finished. With the drawback that this list has to be created somehow first.

Same for the autonomous MediaClient, like the Playstation 3 or the XBox 360, their internal part of a ControlPoint usually just continues with the next item in the container.

Now that wasn’t a big issue in the days when we had only autistic autonomous MediaClients, but now more and more real MediaRenderers - meaning alongside to their internal client UI they are (remote) controllable by a ControlPoint - are available. The new Sony Bravia TV 4500 or 5500 series are maybe the most prominent example.

But the DLNA specification offers an interesting approach - they created the dlna-playcontainer URI.

That’s the uri for an additional res element a MediaServer can add automatically to an existent container.
Encoded in the uri is

  • the UDN of the device, the MediaServer
  • the service type, usually a ContentDirectory
  • the container id
  • the id of the first item
  • the index of the first item
  • the optional sort-criteria
  • the max-depth information - aka the level of subcontainers, optional too
It looks a bit like this:


With that information a MediaRenderer is now able to call a Browse action on the ContentDirectory service of that device and retrieve all the items of that container. And propagate with AVTransportURI/AVTransportURIMetaData the “dlna-playcontainer” uri and with CurrentTrackURI/CurrentTrackMetaData the track item uri and the corresponding metadata.

I’ve started to add that functionality to the Coherence MediaServers and to the GStreamer MediaRenderer.
It will be part of the upcoming 0.6.4 release of Coherence and the 0.2.2 release of the UPnP-Inspector.

As the specification doesn’t describe the whole thing in detail and I haven’t seen yet an UPnP A/V MediaServer beside Coherence supporting this I’m glad about any feedback.

Participating in the Trophées du Libre 2009 contest

written by Frank, on Apr 12, 2009 1:33:00 PM.

Tl09 banner

Thanks to the assiduous work of Erwan Velu, Coherence is one of the participants of the Trophées du Libre 2009 contest in the category ‘Media’.

The finalists will be announced April 22nd - please keep your fingers crossed.

Coherence UPnP BinaryLight Demonstrator stands to EU proposal IP/08/1909

written by Frank, on Apr 1, 2009 11:23:00 AM.

For immediate press-release:

The Coherence DLNA/UPnP project announces today that its UPnP BinaryLight Demonstrator adheres to the European Commission’s proposal for progressively phasing out incandescent bulbs.

“Once more Coherence demonstrates hereby its innovative and forward-looking orientation and emphasizes being the number one DLNA/UPnP framework of the world!” says Frank Scholz, lead-developer of Coherence. “We hope that others will follow our example and throw overboard their frumpishness.”

Independent experts assert that the energy consumption for displaying this image of an energy-saving light bulb is less than 20% compared to an incandescent bulb. And that this image will last at least five times longer too.

BinaryLight Demonstrator

European energy commissioner Andris Pielbalgs delightedly expresses: “Even such a small appearing change can make a big difference!”

Germanys ex-chancellor Helmut Kohl said “This is an excellent example for the innovative strength of Germany and Europe, and I encourage the current legislation to use energy-saving light bulbs for illumination of the data-highways too.”