Is there a library that decodes any file format ? I need a lib to decode ogg-vorbis (of course) and also wavs, mp3s, flac... Using several different libs is not a good solution. I don't like to use a lot of different APIs to do the same thing with different file formats. -- Giuliano.
Giuliano Pochini wrote:> Is there a library that decodes any file format ? I need a > lib to decode ogg-vorbis (of course) and also wavs, mp3s, > flac... Using several different libs is not a good > solution. I don't like to use a lot of different APIs > to do the same thing with different file formats.You could try libavcodec from the ffmpeg project: http://ffmpeg.sourceforge.net/ You will still need to install the vorbis and flac libraries, but libavcodec should give you the common programming interface you're looking for. Peter Harris
On Wed, 2004-06-09 at 14:40, Giuliano Pochini wrote:> Is there a library that decodes any file format ? I need a > lib to decode ogg-vorbis (of course) and also wavs, mp3s, > flac... Using several different libs is not a good > solution. I don't like to use a lot of different APIs > to do the same thing with different file formats.GStreamer - http://gstreamer.freedesktop.org/ Thomas Dave/Dina : future TV today ! - http://www.davedina.org/ <-*- thomas (dot) apestaart (dot) org -*-> "Don't worry, Joey, it's unisex." "Maybe you need sex, I just had some a couple of days ago !" "No, no, U-N-I-sex !" "Well, I ain't gonna say no to that !" <-*- thomas (at) apestaart (dot) org -*-> URGent, best radio on the net - 24/7 ! - http://urgent.fm/
<1087491873.3157.0.camel@otto.amantes> Message-ID: <20040620123106.00f8bdd3.pochini@shiny.it> On Thu, 17 Jun 2004 19:04:34 +0200 Thomas Vander Stichele <thomas@apestaart.org> wrote:> On Wed, 2004-06-09 at 14:40, Giuliano Pochini wrote: > > Is there a library that decodes any file format ? I need a > > lib to decode ogg-vorbis (of course) and also wavs, mp3s, > > flac... Using several different libs is not a good > > solution. I don't like to use a lot of different APIs > > to do the same thing with different file formats. > > GStreamer - http://gstreamer.freedesktop.org/This one seems a good project. It's a lot more complex than what I really need, but it's quite simple to use. The design is very good. -- Giuliano.