[campcaster-support] flac in 1.4
  • Greetings Campcaster Friends,

    What needs to be done to enable flac support in v1.4 ...

    is it close to being ready?

    thanks
    Ben
  • 2 Comments sorted by
  • Hi Ben,

    Version 1.4 will use the gstreamer version installed on the system, so
    playing any format should just involve installing the required
    gstreamer plugin. Except...

    1. There are a few places in the code where we explicitly check the
    format and refuse all except ogg/vorbis and mp3. These will be easy
    to remove.

    2. In the C++ part of the code, we use Taglib to extract metadata from
    files (and determine the length of the audio). This code may need to
    be tweaked, but should not be hard because Taglib does support Flac.

    3. The PHP part of the code uses getid3 to get the metadata. This
    code needs to be checked -- may need some work, but probably not much.
    Getid3 supports Flac, too.

    4. Nebojsa's Gstreamer-SMIL player code may need some changes, but probably not.

    So, the bottom line: it needs some work, but not more than a couple
    days. Who will do those couple days' work is another question.

    Regards,
    Ferenc


    On Tue, Nov 25, 2008 at 2:37 AM, wrote:
    > Greetings Campcaster Friends,
    >
    > What needs to be done to enable flac support in v1.4 ...
    >
    > is it close to being ready?
    >
    > thanks
    > Ben
  • Hi to all,

    Did you know there are TagLib Classes written for PHP as well these
    day's. So we can move on with only one meta-lib in Campcaster.

    http://www.phpclasses.org/browse/package/503.html

    Does this have what we need? How difficult is it to integrate it in the
    PHP part's? How much time do we need to spend on it? Is it worth the
    time spending. And last but not least, who is willing for volunteering?


    Thanks,

    Frans van Berckel

    On Tue, 2008-11-25 at 22:37 +0100, Ferenc Gerlits wrote:
    > Hi Ben,
    >
    > Version 1.4 will use the gstreamer version installed on the system, so
    > playing any format should just involve installing the required
    > gstreamer plugin. Except...
    >
    > 1. There are a few places in the code where we explicitly check the
    > format and refuse all except ogg/vorbis and mp3. These will be easy
    > to remove.
    >
    > 2. In the C++ part of the code, we use Taglib to extract metadata from
    > files (and determine the length of the audio). This code may need to
    > be tweaked, but should not be hard because Taglib does support Flac.
    >
    > 3. The PHP part of the code uses getid3 to get the metadata. This
    > code needs to be checked -- may need some work, but probably not much.
    > Getid3 supports Flac, too.
    >
    > 4. Nebojsa's Gstreamer-SMIL player code may need some changes, but probably not.
    >
    > So, the bottom line: it needs some work, but not more than a couple
    > days. Who will do those couple days' work is another question.
    >
    > Regards,
    > Ferenc
    >
    >
    > On Tue, Nov 25, 2008 at 2:37 AM, wrote:
    > > Greetings Campcaster Friends,
    > >
    > > What needs to be done to enable flac support in v1.4 ...
    > >
    > > is it close to being ready?
    > >
    > > thanks
    > > Ben
    >