HydrogenAudio

Lossless Audio Compression => FLAC => Topic started by: joeljkp on 2004-07-12 13:20:59

Title: Linux ogg-flac player?
Post by: joeljkp on 2004-07-12 13:20:59
I have a set of ogg-flac files that I've ripped from a cd (with .ogg extension), but it appears that the standard XMMS flac plugin doesn't support them. What should I use on Linux to play these files (and, possibly, tag them)?

Thanks in advance.
Title: Linux ogg-flac player?
Post by: jcoalson on 2004-07-13 01:01:53
the current XMMS plugin does not support Ogg FLAC.

however, I have just recently checked in the new decoder layers necessary to do seeking in Ogg FLAC, so the XMMS plugin may be upgraded soon.  I don't know how to solve the file extension problem (Ogg FLAC uses .ogg just like Ogg Vorbis).

Josh
Title: Linux ogg-flac player?
Post by: QuantumKnot on 2004-07-13 01:22:06
Quote
the current XMMS plugin does not support Ogg FLAC.

however, I have just recently checked in the new decoder layers necessary to do seeking in Ogg FLAC, so the XMMS plugin may be upgraded soon.  I don't know how to solve the file extension problem (Ogg FLAC uses .ogg just like Ogg Vorbis).

Josh
[a href="index.php?act=findpost&pid=225420"][{POST_SNAPBACK}][/a]


ooh boy, looks like another problem case for a single extension (.ogg).  How does XMMS determine which plugin to use for an audio file?  Is it by extension or by content?
Title: Linux ogg-flac player?
Post by: kjoonlee on 2004-07-13 03:16:01
Quote
the current XMMS plugin does not support Ogg FLAC.

however, I have just recently checked in the new decoder layers necessary to do seeking in Ogg FLAC, so the XMMS plugin may be upgraded soon.  I don't know how to solve the file extension problem (Ogg FLAC uses .ogg just like Ogg Vorbis).

Josh
[a href="index.php?act=findpost&pid=225420"][{POST_SNAPBACK}][/a]

Great! Has the bug been fixed where all Ogg FLAC files had a serial number of 0?  Thank you for your work.
Title: Linux ogg-flac player?
Post by: filR on 2004-07-13 06:33:18
Quote
ooh boy, looks like another problem case for a single extension (.ogg).  How does XMMS determine which plugin to use for an audio file?  Is it by extension or by content?
[a href="index.php?act=findpost&pid=225428"][{POST_SNAPBACK}][/a]


luckily *unix* does not rely on file extentions to determine what file type a file has.
this can easily be proven with the "file" utility.

Code: [Select]
phil..(1996) Crash> file Dave\ Matthews\ Band\ -\ 01\ -\ So\ Much\ to\ Say.ogg 
Dave Matthews Band - 01 - So Much to Say.ogg: Ogg data, Vorbis audio, stereo, 44100 Hz, ~192000 bps, created by: Xiph.Org libVorbis I (post-1.0 CVS)

phil..(1996) Crash> cp Dave\ Matthews\ Band\ -\ 01\ -\ So\ Much\ to\ Say.ogg bla

phil..(1996) Crash> file bla
bla: Ogg data, Vorbis audio, stereo, 44100 Hz, ~192000 bps, created by: Xiph.Org libVorbis I (post-1.0 CVS)


--
cheers,
phil
Title: Linux ogg-flac player?
Post by: jcoalson on 2004-07-13 19:20:10
Quote
Great! Has the bug been fixed where all Ogg FLAC files had a serial number of 0?

not yet, but it will be in the next release.

Quote
Quote
ooh boy, looks like another problem case for a single extension (.ogg).  How does XMMS determine which plugin to use for an audio file?  Is it by extension or by content?

luckily *unix* does not rely on file extentions to determine what file type a file has.
this can easily be proven with the "file" utility.


yes, but I think XMMS still depends on file extension (not sure though).  the holy grail is an 'Ogg' plugin that can handle multiple contained formats.

Josh
Title: Linux ogg-flac player?
Post by: dev0 on 2004-07-13 19:25:50
The holy grail would be to abandon XMMS and its outdated PlugIn API and concentrate on XMMS2 and/or GStreamer.
Title: Linux ogg-flac player?
Post by: jcoalson on 2004-07-13 23:04:16
Quote
The holy grail would be to abandon XMMS and its outdated PlugIn API and concentrate on XMMS2 and/or GStreamer.
[a href="index.php?act=findpost&pid=225639"][{POST_SNAPBACK}][/a]

maybe so... FLAC is already supported in GStreamer, maybe after I do the next release they will have all they need for Ogg FLAC support too.

Josh
Title: Linux ogg-flac player?
Post by: kjoonlee on 2004-07-14 02:08:11
Quote
Quote
The holy grail would be to abandon XMMS and its outdated PlugIn API and concentrate on XMMS2 and/or GStreamer.
[a href="index.php?act=findpost&pid=225639"][{POST_SNAPBACK}][/a]

maybe so... FLAC is already supported in GStreamer, maybe after I do the next release they will have all they need for Ogg FLAC support too.

Josh
[a href="index.php?act=findpost&pid=225694"][{POST_SNAPBACK}][/a]

It would be nice if there were ways for a decoder plugin to call another decoder plugin if it can't decode the input by itself. I don't know the internals, but foobar2000 seems (from the outside, at least) to attempt opening *.ogg files with either the Vorbis, FLAC, or speex plugin.
Title: Linux ogg-flac player?
Post by: QuantumKnot on 2004-07-14 05:32:11
Quote
Quote
Great! Has the bug been fixed where all Ogg FLAC files had a serial number of 0?

not yet, but it will be in the next release.

Quote
Quote
ooh boy, looks like another problem case for a single extension (.ogg).  How does XMMS determine which plugin to use for an audio file?  Is it by extension or by content?

luckily *unix* does not rely on file extentions to determine what file type a file has.
this can easily be proven with the "file" utility.


yes, but I think XMMS still depends on file extension (not sure though).  the holy grail is an 'Ogg' plugin that can handle multiple contained formats.

Josh
[a href="index.php?act=findpost&pid=225636"][{POST_SNAPBACK}][/a]


The mp3 plugin in XMMS has an option for content, extension or content and extension. So perhaps XMMS tries opening the file with each plugin to see which one works? lol  Sounds rather clumsy.
Title: Linux ogg-flac player?
Post by: cabbagerat on 2004-07-14 08:50:35
Quote
It would be nice if there were ways for a decoder plugin to call another decoder plugin if it can't decode the input by itself.
[a href="index.php?act=findpost&pid=225750"][{POST_SNAPBACK}][/a]

This is one of the problems that GStreamer solves. It's like intelligent audio plumbing - you set up a pipeline consisting of a file reader, a demuxer, an automatic plugin chooser and then a sink. The sink could be a sound device or a pipeline that encodes into another format then writes to file. It's a very good architecture, but is not quite perfect yet.

I haven't looked at XMMS2, but it might be moving in the same direction. They might have been overtaken completely by GStreamer and it's pretty front ends (like Rhythmbox).