IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
eac-crc: A Linux command-line script to compute the CRCs from EAC LOGs
leo-bogert
post Nov 4 2012, 18:05
Post #1





Group: Members
Posts: 44
Joined: 27-October 12
Member No.: 104130



With thanks to skamp and pablogm123 for telling me how the computation works.

https://github.com/leo-bogert/eac-crc
Go to the top of the page
+Quote Post
leo-bogert
post Nov 28 2012, 20:41
Post #2





Group: Members
Posts: 44
Joined: 27-October 12
Member No.: 104130



Version 1.1 availablel now. Bugfix release, please upgrade.

Changelog:
  • Bugfix: Do not print a crc of "00000000" when there is a problem with the input file (it doesn't exist, is damaged, etc.). Instead, print an error message and exit with non-zero exit code.
  • Check for number of parameters and print syntax if it is not equal to 1.
Go to the top of the page
+Quote Post
leo-bogert
post May 30 2013, 18:34
Post #3





Group: Members
Posts: 44
Joined: 27-October 12
Member No.: 104130



Version 1.2 has been available for some time. Bugfix release, please upgrade.

Changelog:
  • Bugfix: Don't output CRC if shncat/rhash had non-success exit status
  • Add "--version" parameter

Go to the top of the page
+Quote Post
skamp
post May 30 2013, 18:47
Post #4





Group: Developer
Posts: 1450
Joined: 4-May 04
From: France
Member No.: 13875



FYI, you could use the more widespread SoX instead of shncat: "sox file.wav -t raw -". I mean, people are more likely to have SoX installed, than shntool.
It has the added benefit of supporting non-CDDA WAV files (though I guess you don't care about that, in this particular instance). Just a thought.

This post has been edited by skamp: May 30 2013, 18:48


--------------------
See my profile for measurements, tools and recommendations.
Go to the top of the page
+Quote Post
leo-bogert
post May 30 2013, 19:08
Post #5





Group: Members
Posts: 44
Joined: 27-October 12
Member No.: 104130



QUOTE (skamp @ May 30 2013, 19:47) *
FYI, you could use the more widespread SoX instead of shncat: "sox file.wav -t raw -". I mean, people are more likely to have SoX installed, than shntool.
It has the added benefit of supporting non-CDDA WAV files (though I guess you don't care about that, in this particular instance). Just a thought.

eac-crc is a dependancy of my tool perfect-flac-encode. During the development of PFE, eac-crc in this particular version has been tested with over 220 CD images and no issues have appeared. This encourages me to not change it anymore. Also, perfect-flac-encode needs shntool for splitting WAV images according to Cuesheets, so if eac-crc was changed to use SoX, another dependancy of PFE would be introduced. Further, as of Ubuntu 12.10, SoX is not installed by default, so something has to be installed anyway on my target OS. But thanks for your suggestion!
Go to the top of the page
+Quote Post
skamp
post May 30 2013, 19:13
Post #6





Group: Developer
Posts: 1450
Joined: 4-May 04
From: France
Member No.: 13875



QUOTE (leo-bogert @ May 30 2013, 20:08) *
Also, perfect-flac-encode needs shntool for splitting WAV images according to Cuesheets, so if eac-crc was changed to use SoX, another dependancy of PFE would be introduced.


I see, that makes sense. Never mind smile.gif


--------------------
See my profile for measurements, tools and recommendations.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2014 - 17:39