Skip to main content

Topic: cyanrip CD ripper (Read 1706 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • atomnuker
  • [*]
cyanrip CD ripper
Hi,

I recently wrote a program to rip CDs since there isn't a single decent multiplatform open source one out there.

Here's a link to the git repo: https://github.com/atomnuker/cyanrip

Features
  • Automatic tag lookup from the musicbrainz database
  • Encoded and muxed via FFmpeg (currently supports flac, opus, mp3, tta, wavpack, alac, vorbis and aac)
  • Drive offset compensation, error recovery via cd-paranoia
  • Able to encode to multiple formats simultaneously
  • Able to mux in cover images to mp3 and flac (soon in latest ffmpeg git) files

Has all the features you'd expect a program like this to have, with the addition it'll do musicbrainz lookup. The program generates identical rips to EAC for the CDs tested.
Unlike the gigantic overengineered existing python scripts out there this only depends on 4 common libraries. There is no GUI since there isn't a need for one. It'll compile fine on windows using MinGW according to @RiCON.

  • RiCON
  • [*]
Re: cyanrip CD ripper
Reply #1
Here's a static 64-bit Windows build (VirusTotal scan) for whoever wants to try and test.
It was compiled from cyanrip's commit a20a934, using FFmpeg commit 2336c76b with these configure options, along with patched versions of libdiscid and libmusicbrainz in order to compile statically.

Example usage in Windows:
Code: [Select]
cyanrip -d F: -s 6 -c cover.jpg -o flac,opus
-d is required in Windows since the default /dev/sr0 is meant for Linux.
-s 6 corresponds to +6 drive read offset for my drive. cyanrip doesn't fetch it automatically.
-c cover.jpg will embed the coverart to the file if FFmpeg's muxer supports it (only mp3 for now).
-o flac,opus will rip and encode to a comma-separated list of codecs, along with tagging if the discID was found in Musicbrainz DB.
  • Last Edit: 13 June, 2017, 12:18:00 PM by RiCON

  • 2tec
  • [*][*][*][*][*]
Re: cyanrip CD ripper
Reply #2
Hi, are you considering adding support for Accuraterip?
Quis custodiet ipsos custodes?  ;~)

  • RiCON
  • [*]
Re: cyanrip CD ripper
Reply #3
Accuraterip checksums used to be calculated, but weren't done on the compensated CD data, so they were removed until someone fixed them.
They were readded now, along with EAC-like CRC32 (uses a different table).

Here's another 64-bit build from commit d324219.

  • RiCON
  • [*]
Re: cyanrip CD ripper
Reply #4
Here's another 64-bit build from commit be0380c.

Changes include support for Unicode arguments and base directories in Windows, and never overreading into leadout, which should fix some issues with drives without support for that.
  • Last Edit: 09 July, 2017, 07:55:38 PM by RiCON