HydrogenAudio

Lossless Audio Compression => WavPack => Topic started by: krafty on 2011-03-31 19:29:47

Title: Questions to Bryant
Post by: krafty on 2011-03-31 19:29:47
Hi Bryant,

You're my favourite developer... could you address these questions:

1) WavPack uses APEv2 tag format and it comes to the end of file. In some other posts FLAC developer said: "there are disadvantages to tags being at the end which is why it's not done that way in FLAC or vorbis". My question is what are these disavantages and advantages with a tag being at the end OR at the beginning?

2) Is it exceptionally depending on K3B developers for them to support WavPack out of the box, or a plugin could be written? (Aside from being supported with ffmpeg option in compilation).

3) Is it exceptioally depending on Audacity developers for them to support WavPack, too?

4) I've seen Totem crash after playing a WavPack file entirely, what is the cause of this?

5) Can we expect the 1MB tag limitation for binary tag to be overcome in next releases?

6) Can we expect recoding from already encoded WavPack files in next releases?

Thanks!
Title: Questions to Bryant
Post by: benski on 2011-03-31 20:17:22
1) WavPack uses APEv2 tag format and it comes to the end of file. In some other posts FLAC developer said: "there are disadvantages to tags being at the end which is why it's not done that way in FLAC or vorbis". My question is what are these disavantages and advantages with a tag being at the end OR at the beginning?


I'm sure this general topic has been covered many times.  Basically. 

* Tags at the end allow for easier metadata modification.  If the metadata area has to "grow", you don't have to rewrite the entire file.  This isn't too big of a deal for MP3, but with lossless files, the filesize is large enough for the performance impact to be noticeable.

* Tags at the beginning of the file are much easier for streaming scenarios.  Tags at the end of the file require that a seek be made to the end of the file to get the tag length, a subsequent seek to be made to go the start position of the metadata.  This isn't a big deal for local files, but requires three additional HTTP connections to be made in a streaming scenario (seeking in HTTP is accomplished by disconnecting and re-connecting with a new Range Request header).  One initial connection (possibly a HEAD request) to get the content length.  One connection to read the last 4 bytes or however much data must be read to determine tag size, and one last connection to to read the metadata.  followed of course by a connection back to the beginning for playback.
Title: Questions to Bryant
Post by: bryant on 2011-04-02 04:58:56
You're my favourite developer...
Thanks, I'm glad WavPack is working for you! 

Quote
could you address these questions:
Sure...
Title: Questions to Bryant
Post by: krafty on 2011-04-03 01:48:30
Fair enough Bryant, and I agree.

Just wanted to know how to make K3B support WavPack on Fedora 14, because, somehow the compilation now is:

mkdir build

cd build
cmake ..  (I guess this is to replace "configure" options, but you can't configure anything really)
make install

Do we need an update on this post:
http://www.hydrogenaudio.org/forums/index....st&p=504533 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=56150&view=findpost&p=504533)