Musepack Forums  

Go Back   Musepack Forums > Main > General

Reply
 
Thread Tools Search this Thread Display Modes
Old 13 January 2008, 12:24 pm   #21
Seed
Musepack Nanny
 
Seed's Avatar
 
Join Date: Jul 2004
Posts: 168
Default

When it's ready to be released

We aren't going to discuss a specific date. Everyone has to be patient and test every feature of the current beta as much as they can.
Seed is offline   Reply With Quote
Old 22 March 2008, 05:18 pm   #22
slomo
Member
 
Join Date: Mar 2008
Posts: 7
Default

Will libmpcenc be compiled as a shared library and be installed for the release? Or is this still considered unstable and for internal use by mppenc, etc only?
slomo is offline   Reply With Quote
Old 22 March 2008, 05:23 pm   #23
slomo
Member
 
Join Date: Mar 2008
Posts: 7
Default

Quote:
Originally Posted by slomo View Post
Will libmpcenc be compiled as a shared library and be installed for the release? Or is this still considered unstable and for internal use by mppenc, etc only?
Also, mpcgain does not build because configure doesn't check for any installed replaygain/gain_analysis.h header (where should this come from?) or because this header is simply missing from SVN
slomo is offline   Reply With Quote
Old 24 March 2008, 09:25 pm   #24
r2d
Musepack developer
 
Join Date: Sep 2006
Location: Villeurbanne - France
Posts: 36
Default

Quote:
Originally Posted by slomo View Post
Will libmpcenc be compiled as a shared library and be installed for the release? Or is this still considered unstable and for internal use by mppenc, etc only?
libmpcenc / libmpcpsy will not be installed as shared library because there is no clear API, and part of the needed functions to encode to musepack are still in the mpcenc code.

Quote:
Originally Posted by slomo View Post
Also, mpcgain does not build because configure doesn't check for any installed replaygain/gain_analysis.h header (where should this come from?) or because this header is simply missing from SVN
Yes, configure doesn't check for libreplaygain. You need to build libreplaygain from the svn and add the "include" dir in the list of includes.
r2d is offline   Reply With Quote
Old 07 April 2008, 10:59 am   #25
slomo
Member
 
Join Date: Mar 2008
Posts: 7
Default

Quote:
Originally Posted by r2d View Post
libmpcenc / libmpcpsy will not be installed as shared library because there is no clear API, and part of the needed functions to encode to musepack are still in the mpcenc code.
Ok... do you plan to provide a library for encoding at a later stage?

Quote:
Originally Posted by r2d View Post
Yes, configure doesn't check for libreplaygain. You need to build libreplaygain from the svn and add the "include" dir in the list of includes.
Ok, next issue is that mpcchap needs the cuetools source... would be nice if all sources required are in SVN. cuetools doesn't build a library one can link to it seems.
slomo is offline   Reply With Quote
Old 08 April 2008, 09:43 pm   #26
r2d
Musepack developer
 
Join Date: Sep 2006
Location: Villeurbanne - France
Posts: 36
Default

Quote:
Originally Posted by slomo View Post
Ok... do you plan to provide a library for encoding at a later stage?
The plan was mainly to simplify hacking, so people interested in the psymodel can understand the code more easily. As a side effect there may be encoding libraries, but it's not for now I think.


Quote:
Originally Posted by slomo View Post
Ok, next issue is that mpcchap needs the cuetools source... would be nice if all sources required are in SVN. cuetools doesn't build a library one can link to it seems.
Sorry, I added the code since your last post
cuetools doesn't provide a shared library, but there is a static lib in the /lib directory. I'll try to link the svn repository to the cuetools one to be able to checkout everything at once.
r2d is offline   Reply With Quote
Old 09 April 2008, 08:59 am   #27
Antonski
Veteran Member
 
Join Date: Jun 2007
Location: Bulgaria
Posts: 102
Send a message via ICQ to Antonski Send a message via Yahoo to Antonski
Default

May we assume that the "Chapter-Tag Packet" has a beta-status now? Actually, how it is supposed to be used?

Edit: I mean, about chapter-tags, is there an analogy with another format? Are they used and by which application? Just curious.

~

Last edited by Antonski; 09 April 2008 at 09:06 am.
Antonski is offline   Reply With Quote
Old 20 April 2008, 09:13 am   #28
slomo
Member
 
Join Date: Mar 2008
Posts: 7
Default

Quote:
Originally Posted by r2d View Post
The plan was mainly to simplify hacking, so people interested in the psymodel can understand the code more easily. As a side effect there may be encoding libraries, but it's not for now I think.
Ok, if there were encoding libraries I would create a gstreamer encoding plugin


On another issue, is there a bugtracker where one can create bug reports? The trac only allows this for people with an account and there seems to be no way to create one...

Well, currently libmpcdec exports some symbols which probably shouldn't be exported:

Cnk
Cnk_len
Cnk_lost
Res_bit
_Huffman_MakeTree
_Huffman_PrintCodes
__Cc
__Dc
crc32
huff_init_lut
streaminfo_encoder_info
streaminfo_gain
streaminfo_read_header_sv7
streaminfo_read_header_sv8


These should probably get a "mpc_" prefix or should not be exported at all. The most critical one here is "crc32", if you use libmpcdec in an application that also uses zlib (which exports crc32 too, with a different signature) you're unable to decode sv8 files because stuff simply segfaults.

It might make sense to simply use a libtool symbol export regexp here:

libmpcdec_la_LDFLAGS = -export-symbols-regex '^mpc_.*$$'
slomo is offline   Reply With Quote
Old 21 April 2008, 01:48 pm   #29
r2d
Musepack developer
 
Join Date: Sep 2006
Location: Villeurbanne - France
Posts: 36
Default

Quote:
Originally Posted by Antonski View Post
May we assume that the "Chapter-Tag Packet" has a beta-status now? Actually, how it is supposed to be used?

Edit: I mean, about chapter-tags, is there an analogy with another format? Are they used and by which application? Just curious.
~
ATM no player supports it. I suppose they should display each chapter as a track, like cue files. I'll let it with the alpha status until it is implemented in a player.

Quote:
Originally Posted by slomo View Post
Ok, if there were encoding libraries I would create a gstreamer encoding plugin ~
Does the current decoding plugin handles sv8 ?
radscorpion seems to be working on the encoding lib.

Quote:
Originally Posted by slomo View Post
Well, currently libmpcdec exports some symbols which probably shouldn't be exported
This should be much better now. Thanks for pointing this out, I didn't know about the issue.
r2d is offline   Reply With Quote
Old 24 April 2008, 08:39 am   #30
slomo
Member
 
Join Date: Mar 2008
Posts: 7
Default

Quote:
Originally Posted by r2d View Post
Does the current decoding plugin handles sv8 ?.
Yes, I have a pending patch that I'll commit shortly to add support for the new libmpcdec API in the decoder plugin (SV8 files will magically work then ).

Quote:
Originally Posted by r2d View Post
This should be much better now. Thanks for pointing this out, I didn't know about the issue.
Looks good now IMHO


Another issue I found now, is that for example mplayer (and probably xine too) is using mpc_decoder_decode_frame() from the old API. The function still exists with the new API but the mpc_bits_reader type which is needed for this is not exported by any public header file.

It'd also like to use that API in the future for the gstreamer decoding plugin as with the mpc_demux_* API it's not exactly easy to add support for decoding musepack stream inside of container formats like matroska for example.
slomo is offline   Reply With Quote
Old 24 April 2008, 10:17 am   #31
r2d
Musepack developer
 
Join Date: Sep 2006
Location: Villeurbanne - France
Posts: 36
Default

Quote:
Originally Posted by slomo View Post
Yes, I have a pending patch that I'll commit shortly to add support for the new libmpcdec API in the decoder plugin (SV8 files will magically work then ).
That's good

Quote:
Originally Posted by slomo View Post
Another issue I found now, is that for example mplayer (and probably xine too) is using mpc_decoder_decode_frame() from the old API. The function still exists with the new API but the mpc_bits_reader type which is needed for this is not exported by any public header file.

It'd also like to use that API in the future for the gstreamer decoding plugin as with the mpc_demux_* API it's not exactly easy to add support for decoding musepack stream inside of container formats like matroska for example.
I moved mpc_bits_reader definition in mpcdec.h, thanks for your help.

Nicolas
r2d is offline   Reply With Quote
Old 24 April 2008, 10:56 pm   #32
slomo
Member
 
Join Date: Mar 2008
Posts: 7
Default

Quote:
Originally Posted by r2d View Post
That's good
...and committed

Quote:
Originally Posted by r2d View Post
I moved mpc_bits_reader definition in mpcdec.h, thanks for your help.
Great, thanks

Another thing I noticed is, that libreplaygain exports more symbols than what is shown as public API by the header file. Could you add the same visibility stuff as for libmpcdec to libreplaygain? Apart from that it would be nice if libreplaygain would get properly namespaced (i.e. prefixed) symbols. Stuff like AnalyzeSamples is a good candidate for causing conflicts later...
slomo is offline   Reply With Quote
Old 25 April 2008, 02:16 pm   #33
r2d
Musepack developer
 
Join Date: Sep 2006
Location: Villeurbanne - France
Posts: 36
Default

Quote:
Originally Posted by slomo View Post
Another thing I noticed is, that libreplaygain exports more symbols than what is shown as public API by the header file. Could you add the same visibility stuff as for libmpcdec to libreplaygain? Apart from that it would be nice if libreplaygain would get properly namespaced (i.e. prefixed) symbols. Stuff like AnalyzeSamples is a good candidate for causing conflicts later...
Ok, changed that too.
r2d is offline   Reply With Quote
Old 11 May 2008, 06:26 am   #34
xmixahlx
Musepack developer
 
xmixahlx's Avatar
 
Join Date: Nov 2004
Location: seattle, washington usa
Posts: 111
Send a message via ICQ to xmixahlx
Default

i'm breaking out the cuetools lib from upstream, so look for a tarball in a bit, r2d.
__________________
-xmixahlx, the one they call "mike"
http://xmixahlx.com -|- http://rarewares.org
xmixahlx is offline   Reply With Quote
Old 11 May 2008, 08:44 am   #35
xmixahlx
Musepack developer
 
xmixahlx's Avatar
 
Join Date: Nov 2004
Location: seattle, washington usa
Posts: 111
Send a message via ICQ to xmixahlx
Default

from cuetools in svn...

patches for mpcchap:
http://xmixahlx.dyndns.org/dev/cueto...xmixahlx.patch
http://xmixahlx.dyndns.org/dev/cueto...xmixahlx.patch

patch for cuetools:
http://xmixahlx.dyndns.org/dev/cueto...xmixahlx.patch

tarball for cuetools:
http://xmixahlx.dyndns.org/dev/cueto...00.orig.tar.gz

patch for debian:
http://xmixahlx.dyndns.org/dev/cueto...wares1.diff.gz


new debian packages for replaygain, cuetools and musepack are upped to rarewares/debian

r2d, perhaps we should host the cuetools source like replaygain...

also, cuetools from svn includes some important updates from the debian maintainer, so anyone NOT on debian should grab from svn anyways.

slomo, are you the official debian maintainer for sv8 packages?


later
__________________
-xmixahlx, the one they call "mike"
http://xmixahlx.com -|- http://rarewares.org

Last edited by xmixahlx; 11 May 2008 at 09:04 am.
xmixahlx is offline   Reply With Quote
Old 05 June 2008, 11:56 am   #36
slomo
Member
 
Join Date: Mar 2008
Posts: 7
Default

Quote:
Originally Posted by xmixahlx View Post
slomo, are you the official debian maintainer for sv8 packages?
Yes... so in cuetools SVN a shared library is built? That's good, I've disabled mpcchap in the packages for now and will enable them again once the cuetools Debian package provides the library
slomo is offline   Reply With Quote
Old 06 June 2008, 06:25 am   #37
xmixahlx
Musepack developer
 
xmixahlx's Avatar
 
Join Date: Nov 2004
Location: seattle, washington usa
Posts: 111
Send a message via ICQ to xmixahlx
Default

well... i grabbed cuetools from svn, patched, and made my own packages (shared lib + dev)

...and after patching SV8 from svn it builds & works fine.

just grab my patches, etc. from the previous post and it will all make sense.


later
__________________
-xmixahlx, the one they call "mike"
http://xmixahlx.com -|- http://rarewares.org
xmixahlx is offline   Reply With Quote
Old 02 September 2008, 03:34 pm   #38
Antonski
Veteran Member
 
Join Date: Jun 2007
Location: Bulgaria
Posts: 102
Send a message via ICQ to Antonski Send a message via Yahoo to Antonski
Default Latest compilation?

Would somebody compile the binaries from the latest code?
Once I've tried, but my files were significant bigger and slower.
I would like to play a bit with chapter utility, just curious.
Antonski is offline   Reply With Quote
Old 03 September 2008, 03:37 am   #39
Seed
Musepack Nanny
 
Seed's Avatar
 
Join Date: Jul 2004
Posts: 168
Default

There is an archive compiled by the latest GCC. It'll be shared sometime today.
Seed is offline   Reply With Quote
Old 03 September 2008, 09:23 pm   #40
Antonski
Veteran Member
 
Join Date: Jun 2007
Location: Bulgaria
Posts: 102
Send a message via ICQ to Antonski Send a message via Yahoo to Antonski
Default

Great! Would you post the link, please?
Antonski is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 09:58 pm.


Powered by vBulletin® Version 3.8.11 Beta 2
Copyright ©2000 - 2019, vBulletin Solutions Inc.