Help - Search - Members - Calendar
Full Version: early alpha version of xmms-wavpack plugin
Hydrogenaudio Forums > Lossless Audio Compression > WavPack
kuniklo
I've been working on wavpack support for xmms and I think I'm finally ready to release something for testing. If you're interested you can grab pre-compiled plugins for Linux here:

http://www.caddr.com/xmms-wavpack-test.tar.gz

Instructions for installation are in the tarball. This still needs polishing but basic playback and seeking and tag reading seem to be working for me. I've only tested these on Fedora Core 2 but I think they should work on other distros. I'll release source packages for these soon.

Thanks to Lefungus for his xmms-musepack plugin which provided the basis for this plugin.
damaki
Simply great.
rjamorim
Awesome. Thank-you very much
kurtnoise
Thanks kuniklo...wink.gif
tev777
Fedora Core 3 & XMMS 1.2.10:
Playback and tags work fine, but as soon as I touch the seekbar the player quits. I don't care, I wont seek. I've been waiting quite a while for this. Thank you so much!
kuniklo
QUOTE (tev777 @ Jan 13 2005, 06:43 PM)
Fedora Core 3 & XMMS 1.2.10:
Playback and tags work fine, but as soon as I touch the seekbar the player quits. I don't care, I wont seek. I've been waiting quite a while for this. Thank you so much!
*


Sorry about that. I know what's going on there. If you re-download the package I think seeking should be fixed.
tev777
Seeking works now. Thanks again! God, I love this place!
kuniklo
QUOTE (tev777 @ Jan 13 2005, 07:33 PM)
Seeking works now. Thanks again! God, I love this place!
*


Great. Thanks for testing & for the bug report.

I'll try to put together a little more official release of this sometime soon. I need to co-ordinate this with Bryant a bit as it requires the dev version of the wavpack code.
Speek
I was waiting for this. Muchos gracias!

Edit: But I think something is wrong with the CPU usage. When I play a wavpack file with wvunpack piped through aplay the CPU usage is 8%. The same file with xmms uses 36%. CPU is Athlon 800.
kuniklo
QUOTE (Speek @ Jan 13 2005, 10:03 PM)
I was waiting for this. Muchos gracias!

Edit: But I think something is wrong with the CPU usage. When I play a wavpack file with wvunpack piped through aplay the CPU usage is 8%. The same file with xmms uses 36%. CPU is Athlon 800.
*


Hmm. That's strange. It doesn't even register on my machine (dual xeon 3.4gig), but it is extremely fast.

Anyone else noticing usually high load?
emtee
Excellent!
Thanks a lot.
tev777
QUOTE (kuniklo @ Jan 13 2005, 02:25 PM)
QUOTE (Speek @ Jan 13 2005, 10:03 PM)
I was waiting for this. Muchos gracias!

Edit: But I think something is wrong with the CPU usage. When I play a wavpack file with wvunpack piped through aplay the CPU usage is 8%. The same file with xmms uses 36%. CPU is Athlon 800.
*


Hmm. That's strange. It doesn't even register on my machine (dual xeon 3.4gig), but it is extremely fast.

Anyone else noticing usually high load?
*


I'm at work using an Intel Celeron @ 800Mhz and Ubuntu. The CPU usage goes no higher for Wavpack than it does for Vorbis.
tev777
QUOTE (kuniklo @ Jan 13 2005, 02:25 PM)
QUOTE (Speek @ Jan 13 2005, 10:03 PM)
I was waiting for this. Muchos gracias!

Edit: But I think something is wrong with the CPU usage. When I play a wavpack file with wvunpack piped through aplay the CPU usage is 8%. The same file with xmms uses 36%. CPU is Athlon 800.
*


Hmm. That's strange. It doesn't even register on my machine (dual xeon 3.4gig), but it is extremely fast.

Anyone else noticing usually high load?
*


I'm back @ home on my Fedora system and it has the same CPU problem reported by Speek. CPU usage goes up 30%.

---
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel® Pentium® 4 CPU 2.00GHz
stepping : 7
cpu MHz : 1993.592
cache size : 512 KB
---

Edited to add cpuinfo
kuniklo
QUOTE (tev777 @ Jan 15 2005, 01:22 AM)
QUOTE (kuniklo @ Jan 13 2005, 02:25 PM)
QUOTE (Speek @ Jan 13 2005, 10:03 PM)
I was waiting for this. Muchos gracias!

Edit: But I think something is wrong with the CPU usage. When I play a wavpack file with wvunpack piped through aplay the CPU usage is 8%. The same file with xmms uses 36%. CPU is Athlon 800.
*


Hmm. That's strange. It doesn't even register on my machine (dual xeon 3.4gig), but it is extremely fast.

Anyone else noticing usually high load?
*


I'm back @ home on my Fedora system and it has the same CPU problem reported by Speek. CPU usage goes up 30%.

---
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel® Pentium® 4 CPU 2.00GHz
stepping : 7
cpu MHz : 1993.592
cache size : 512 KB
---

Edited to add cpuinfo
*


Strange. David suggested a few possible causes of this problem. I'll see if can track it down.
xmixahlx
thanx kuniklo!

new wavpack packages + xmms-wavpack are at rarewares debian rep now

have you decided on a license? i didn't see any info in SVN.

also, most of the text is for xmms-musepack smile.gif (i.e. Changelog, etc.)

also, it would be nice to have text information for the wavpack package (real changelog, etc.) i only knew it was 4.2b3 by looking at the SVN revision notes


thanx again, and
later
kuniklo
QUOTE (xmixahlx @ Jan 17 2005, 06:10 PM)
thanx kuniklo!

new wavpack packages + xmms-wavpack are at rarewares debian rep now

have you decided on a license? i didn't see any info in SVN.

also, most of the text is for xmms-musepack smile.gif (i.e. Changelog, etc.)

also, it would be nice to have text information for the wavpack package (real changelog, etc.)  i only knew it was 4.2b3 by looking at  the SVN revision notes


thanx again, and
later
*


I need to figure all this stuff out. This plugin basically is the musepack plugin with the decoding parts replaced by wavpack stuff at the moment. I'll probably just release it under the same license as the musepack plugin.
kuniklo
I've uploaded a new version of the plugin at the same url as posted in the original announcement.

This fixes title display in the playlist and I'm hoping will fix the performance issues some people have been experiencing. Could those of you that had issues with the last version please give this one a try?
tev777
QUOTE (kuniklo @ Apr 1 2005, 03:56 PM)
I've uploaded a new version of the plugin at the same url as posted in the original announcement.

This fixes title display in the playlist and I'm hoping will fix the performance issues some people have been experiencing.  Could those of you that had issues with the last version please give this one a try?
*


Thanks! I'm in Key West right now, but I'll check it out as soon as I get home. Thanks for taking the time to work on this!
Speek
Thanks Kuniklo! The performance issues are fixed. The new version uses 10x less CPU power! Old version 25-27%, new version 2.0-2.7%. This is with files compressed with high setting. CPU is Pentium III 866.
kuniklo
QUOTE (Speek @ Apr 3 2005, 07:34 AM)
Thanks Kuniklo! The performance issues are fixed. The new version uses 10x less CPU power! Old version 25-27%, new version 2.0-2.7%. This is with files compressed with high setting. CPU is Pentium III 866.
*


That's great! Thanks for testing. I'm hoping to do a real release of this shortly.
tev777
Fixed on my end as well. Thanks again.
nyarlathotep
Is 24bits/48kHz playback supported?

Trying to play WavPack audio files ripped from DVD produces static here.
Could this be something wrong on my side?
skamp
xmms doesn't support 24bit output, it has nothing to do with the plugin.
nyarlathotep
The same file was decoded to PCM (Wav).
The Wav file can be played using XMMS (1.2.10).

The display shows:
23H kbps (=2300 kbps, 2304 kbps being the actual value)
and
48 kHz

So it seems that 24bits/48kHz PCM (Wav) files can be played.
xmixahlx
i updated xmms-wavpack for rarewares/debian.

...and i've made some changes to kuniklo's last sources and it is on my server here:
http://xmixahlx.dyndns.org/debian/source/x...0.1.orig.tar.gz


later
bryant
QUOTE (xmixahlx @ Jul 14 2007, 13:49) *
i updated xmms-wavpack for rarewares/debian.

...and i've made some changes to kuniklo's last sources and it is on my server here:
http://xmixahlx.dyndns.org/debian/source/x...0.1.orig.tar.gz


This link seems to be dead, so I have put a copy on my site:

http://www.wavpack.com/files/xmms-wavpack_1.0.1.orig.tar.gz

Xmixahlx, I really appreciate you working on this. I am wondering, does it makes any sense to add this to the WavPack sources? For Windows, I have the winamp and Audition plugins there, so there is some precedent. I suspect that we would want some way of conditionally building it because someone who wasn't specifically looking for xmms wouldn't have xmms-dev installed, or could we check for that? As you can see, I'm pretty clueless about this packaging stuff... smile.gif

Thanks again,
David
xmixahlx
it would probably be a good idea to keep it in your source tree (like all the other plugins) but even now this plugin isn't complete so i'd avoid building it with the rest of wavpack on *nix

my server is up again - i was playing around with my router and i'm done now.

and david, i really appreciate your work on wavpack! thanks so much smile.gif


later
bryant
QUOTE (xmixahlx @ Oct 18 2007, 08:21) *
it would probably be a good idea to keep it in your source tree (like all the other plugins) but even now this plugin isn't complete so i'd avoid building it with the rest of wavpack on *nix

Today I installed xmms and xmms-dev and tried to build the plugin in preparation for including it in the WavPack source tree (and possibly adding some stuff) but I couldn't build it. The INSTALL file specifies doing a "configure", but it isn't in there. Are there some missing files, or am I missing something? I thought I had Kuniklo's original sources, but I can't find them either... sad.gif

Thanks!

David
ak
QUOTE (bryant @ Nov 19 2007, 23:06) *
QUOTE (xmixahlx @ Oct 18 2007, 08:21) *

it would probably be a good idea to keep it in your source tree (like all the other plugins) but even now this plugin isn't complete so i'd avoid building it with the rest of wavpack on *nix

Today I installed xmms and xmms-dev and tried to build the plugin in preparation for including it in the WavPack source tree (and possibly adding some stuff) but I couldn't build it. The INSTALL file specifies doing a "configure", but it isn't in there. Are there some missing files, or am I missing something?

It's generated from configure.in with autotools, try `autoreconf -fi'.
Usually people don't include configure & co in cvs/svn repos, as it's just waste of space and bandwidth. They're put it to release tarballs though, as audience is usually wider and you can't expect everybody having autotools installed.
bryant
QUOTE (ak @ Nov 19 2007, 12:56) *
It's generated from configure.in with autotools, try `autoreconf -fi'.
Usually people don't include configure & co in cvs/svn repos, as it's just waste of space and bandwidth. They're put it to release tarballs though, as audience is usually wider and you can't expect everybody having autotools installed.

Thanks a lot, worked like a champ! smile.gif

Well, it worked after I installed g++, but I was able to figure that one out myself...
Mr_Rabid_Teddybear
Cool! It would have been nice if efforts where done to make the xmms-wavpack plugin mature.

Even if it's an old and in many respects not that good a player, xmms is widespread and I think that a fully working xmms plugin is one of the prerequisites for a formats inclusion in the *nix community.
bryant
QUOTE (Mr_Rabid_Teddybear @ Nov 19 2007, 14:41) *
Cool! It would have been nice if efforts where done to make the xmms-wavpack plugin mature.

I agree. The major areas that need improvement are the implementation of replaygain (which is in there but doesn't work) and the handling of bitdepths other than 16. I think I can handle getting those in pretty quickly because I can use code from the new winamp plugin.
bryant
As an update to this topic, I have incorporated xmms-wavpack into the WavPack source tree, made some improvements, and bumped it to 1.0.2. Here are the improvements:
  • play all supported bitdepths
  • edit tags with WavPack library
  • implement Replaygain playback
  • enable visualizations & EQ
  • fix big-endian issue?
I also ran into a few problems with the build environment (not sure if it's just me or not). The first thing is that I have to do a "make clean" every time I change a source file. More troublesome is that when I do a "make dist-bzip2" it doesn't include the .h files in the src directory. I'll play around when I get a chance, but if anybody has an easy fix for these I would appreciate it.

In any event, the code is here:

http://svn.slomosnail.de/wavpack/trunk/xmms/

Thanks in advance for any testing and/or feedback! smile.gif

David
xmixahlx
i'll add this to my list of stuff to do this week smile.gif


later
Mr_Rabid_Teddybear
Compiles, installs and work nice as far as I can see from brief testing, thanks! smile.gif

Does the "Enable Dynamic Bitrate Display" option actually do anything, or is it just a remnant from the Musepack plugin?

New libwavpack-dev dependency should be added to the INSTALL file (and mention of musepack probably removed from same file?).
bryant
QUOTE (xmixahlx @ Dec 16 2007, 23:32) *
i'll add this to my list of stuff to do this week smile.gif

Thanks! smile.gif



QUOTE (Mr_Rabid_Teddybear @ Dec 17 2007, 13:13) *
Compiles, installs and work nice as far as I can see from brief testing, thanks! smile.gif

Does the "Enable Dynamic Bitrate Display" option actually do anything, or is it just a remnant from the Musepack plugin?

Thanks for giving it a try! The "Enable Dynamic Bitrate Display" is just a remnant and doesn't do anything now, but I think it will be pretty easy to turn back on. I also want to add the option I have in the winamp plugin to ignore .wvc files.



QUOTE (Mr_Rabid_Teddybear @ Dec 17 2007, 13:13) *
New libwavpack-dev dependency should be added to the INSTALL file (and mention of musepack probably removed from same file?).

Haha! I guess I never looked in that file, but yes, I'll update that...
xmixahlx
rarewares/debian package is updated & working great smile.gif

thanks david


later
bryant
QUOTE (xmixahlx @ Jan 17 2008, 09:54) *
rarewares/debian package is updated & working great smile.gif

Thanks! smile.gif
Mr_Rabid_Teddybear
I should inform I tried to install the svn source on a Debian stable (Etch) box the other day against it's libraries. It compiled and installed but did not show up in XMMS. Etch uses Wavpack 4.32 libs. I uninstalled those and installed 4.41 from source. Now xmms-wavpack installed as intended, working nice. So the versions of other dependencies (gtk, glib and xmms headers and libs) in Etch seems ok, following that it must be compiling against wavpack 4.32 that makes problems.
Mr_Rabid_Teddybear
XMMS is probably fast fading away but still...

I noticed that OpenBSD have added xmms-wavpack to their ports list. However, the package are marked "no license", and the mantainer was complaining that the tarball downloaded from wavpack.com contains no licensing information. You probably should put a COPYING file of some sort in the tarball...

Regarding both the original xmms-musepack code and the wavpack code are under 3 clause BSD license I have a guess what that license could be, but then it's not up to me and I don't know... wink.gif



bryant
QUOTE (Mr_Rabid_Teddybear @ May 13 2009, 20:10) *
XMMS is probably fast fading away but still...

I noticed that OpenBSD have added xmms-wavpack to their ports list. However, the package are marked "no license", and the mantainer was complaining that the tarball downloaded from wavpack.com contains no licensing information. You probably should put a COPYING file of some sort in the tarball...

Regarding both the original xmms-musepack code and the wavpack code are under 3 clause BSD license I have a guess what that license could be, but then it's not up to me and I don't know... wink.gif

Actually, the copy of the xmms-musepack plugin that I saw was GPL, so I made the xmms-wavpack the same. I had a conversation with someone about this a few months ago and did create the COPYING file and put a mention in the README (or INSTALL, I forget).

However, that’s just in SVN...I will add something to the About display and package it when I release 4.60, which hopefully will not be too long.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.