Musepack Forums  

Go Back   Musepack Forums > Main > Tech

Reply
 
Thread Tools Search this Thread Display Modes
Old 06 December 2005, 11:51 am   #1
burning shadow
Member
 
Join Date: Dec 2005
Location: St.Petersburg, Russia
Posts: 4
Default Stream checksum

Most quality ripping standards require 'MD5 locking' of files. Personally I think it is very bad idea because modifing tags, calculating RG values, etc, modifies file checksum. Then there is no use of it at all. My idea is to add stream checksum feature which would be written to MPC header and couldn't be modified. This would give a possibility to implement fast checking for broken streams (instead of checking each frame) and remove the need of useless MD5 file locking.
burning shadow is offline   Reply With Quote
Old 06 December 2005, 06:22 pm   #2
Shy
Admin
 
Shy's Avatar
 
Join Date: Jul 2004
Posts: 372
Default

Changing the header in that way will break compatibility. However, someone could code a little tool that writes the stream's MD5 checksum to an APEv2 tag, and compares the stream's checksum to the checksum in the tag.
Shy is offline   Reply With Quote
Old 07 December 2005, 08:42 am   #3
burning shadow
Member
 
Join Date: Dec 2005
Location: St.Petersburg, Russia
Posts: 4
Default

Good idea. I think it should be included in codec package though. And it would be perfectly if it would be performed by codec itself during encoding process.
burning shadow is offline   Reply With Quote
Old 06 October 2007, 11:40 pm   #4
burning shadow
Member
 
Join Date: Dec 2005
Location: St.Petersburg, Russia
Posts: 4
Default

By the way, since new stream version is on it's way to release, maybe my wish could be reviewed?
burning shadow is offline   Reply With Quote
Old 08 October 2007, 12:35 pm   #5
r2d
Musepack developer
 
Join Date: Sep 2006
Location: Villeurbanne - France
Posts: 36
Default

Quote:
Originally Posted by burning shadow View Post
By the way, since new stream version is on it's way to release, maybe my wish could be reviewed?
As you can see in the sv8 spec (http://trac.musepack.net/trac/wiki/S...SecurityPacket) no decision has been made on this issue. If a security feature is implemented, I prefer error correcting codes.
r2d is offline   Reply With Quote
Old 08 October 2007, 05:05 pm   #6
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 think an md5 packet of the audio stream is a good idea... hell, perhaps you could have both md5 and error codes...

an md5 and par2 with every musepack file
__________________
-xmixahlx, the one they call "mike"
http://xmixahlx.com -|- http://rarewares.org
xmixahlx 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 10:16 am.


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