Transcoding

With [991] we have a simple transcoder for audio files.

Simple in terms that we can't seek in the transcoded stream yet.

To activate it you need either use -o transcoding:yes on the command-line or enable it in the config file like this <transcoding>yes</transcoding>.

At the moment only the FSStore will send out a resource entry where it offers a transcoded version of ogg audio files. This will be extended to the other MediaServers and to other media formats too.

The transcoder is tested currently against the PS3, Sony Bravia TVs and XBox 360, so far it seems to work.

Transcoding is done with a GStreamer pipeline and a custom sink that writes to an http request. So theoretically we should be able to process anything GStreamer can handle.

Test invocation:

bin/coherence -o transcoding:yes --plugin=backend:FSStore,content:/path/to/some/ogg-files

Useful links: