daily pastebin goal
56%
SHARE
TWEET

Untitled

a guest Sep 15th, 2013 338 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. What is morituri?
  3.  
  4. morituri is a CD ripper aiming for accuracy over speed. Its features are modeled to compare with Exact Audio Copy on Windows. For a rationale for the features of morituri, see The Art of the Rip. morituri was created to address the gaps in existing GNU/Linux software, and is currently being evaluated as an official GNU/Linux ripper for what.cd.
  5.  
  6. Important note
  7.  
  8. Morituri is not yet an official ripper and the log file should not be uploaded in the torrent upload page (which expects officially approved EAC/XLD logs). Even though the logchecker scores it as 99%, it is not a valid log at all, would be considered as a no log. You can check the log in the Logchecker, and make sure it is 99% log, but not upload them in the torrent upload page.
  9.  
  10. Features
  11.  
  12.     support for MusicBrainz for metadata lookup
  13.     support for AccurateRip verification
  14.     detects sample read offset of drives
  15.     performs test and copy rip
  16.     detects and rips Hidden Track One Audio (HTOA)
  17.     templates for file and directory naming
  18.     support for lossless encoding and lossy encoding or re-encoding of images
  19.     tagging using GStreamer, including embedding MusicBrainz IDs
  20.     retagging of images
  21.     for now, only a command-line client (rip) is shipped
  22.  
  23.  
  24.  
  25. Known Issues
  26.  
  27.     morituri will exit or may appear to crash if you try to rip a CD that is not in the MusicBrainz database. If this happens, you will have to create a MusicBrainz account, add the disc to the database on their site, and then re-attempt the rip. Alternatively, you may use the --unknown flag to the rip command, which will proceed without metadata
  28.     morituri does not like some USB CD-ROM drives. Internal drives are preferred, when possible.
  29.     Many users with libcdio 0.83 have experienced problems with pycdio >=0.18. Either upgrade libcdio to 0.90 or downgrade pycdio to 0.17.
  30.     If your drive does not support lead out overread and has a sufficiently large sample offset, you will need to patch cdparanoia. See below.
  31.     morituri currently does not ignore HTOA marked as 'SILENCE' in the TOC. This will cause rips with silent HTOA to fail in the logchecker.
  32.  
  33.  
  34.  
  35. Dependencies
  36.  
  37.     cdparanoia, for the actual ripping
  38.     cdrdao, for session, TOC, pregap, and ISRC extraction
  39.     GStreamer and its python bindings, for encoding
  40.     python musicbrainz2, for metadata lookup
  41.     python-cddb
  42.     pycdio, for drive identification
  43.     git-core, to fetch logger plugin
  44.  
  45.  
  46.  
  47. Setup
  48.  
  49. Prerequisites
  50.  
  51. Downgrade pycdio 0.17: Show
  52.  
  53. Install Morituri
  54.  
  55. If your package manager has the latest version available, you should use it in lieu of downloading and installing by hand. Otherwise:
  56.  
  57. Install morituri manually: Show
  58.  
  59. Logger plugin
  60.  
  61. To create What.CD-compatible logs, you will need to obtain and install the What.CD logger in the plugins folder:
  62.  
  63.     mkdir -p /tmp/github
  64.     cd /tmp/github
  65.     git clone git://github.com/supermanvelo/morituri-whatcd.git
  66.     cd morituri-whatcd
  67.     python2 setup.py bdist_egg
  68.  
  69.  
  70. Copy the plugin to your plugin directory:
  71.  
  72.     mkdir -p $HOME/.morituri/plugins
  73.     cp dist/morituri_*egg $HOME/.morituri/plugins
  74.  
  75.  
  76. Verify that it gets recognized:
  77.  
  78.     rip cd rip --help
  79.  
  80.  
  81. You should see whatcd as a possible logger.
  82.  
  83. Collect drive statistics
  84.  
  85. First, find your drive's offset if you do not already know it. This step only needs to be done the first time you rip. If you use an incorrect offset, you will not get perfect rips (or 100% logs, so this step is important)! Load a CD, but be sure to select a CD present in the AccurateRip database. Otherwise morituri will try every possible offset before giving up. Then type:
  86.  
  87.     rip offset find
  88.  
  89.  
  90. This will take a few minutes. When finished, it will (hopefully) display your drive's offset.
  91. Next, you should determine if cdparanoia is capable of defeating the audio cache on your CD-Rom. Again, this step only needs to be done once. To do this, type:
  92.  
  93.     rip drive analyze
  94.  
  95.  
  96. If cdparanoia can defeat audio cache on your drive, morituri will be configured to do this.
  97.  
  98. Ripping
  99.  
  100. After you've done these things, you can get ripping! To rip a CD to FLAC type:
  101.  
  102.     rip cd rip --logger whatcd
  103.  
  104.  
  105. Now, sit back an relax while morituri rips your CD!
  106.  
  107. If morituri finds errors on your disc, it will terminate the rip after 5 tries. If this happens, you can attempt to clean the CD and start the rip over—when you do, it will pick up where it left off (e.g. if the rip fails on track 7 out of 10 and you run the "rip" command again with the same CD in your drive later, it will start over on track 7).
  108.  
  109. If this happens even with clean discs, you may need to patch cdparanoia as described below.
  110.  
  111. Developers
  112.  
  113. Clone morituri from git:
  114.  
  115.     git clone https://github.com/thomasvs/morituri.git
  116.  
  117.  
  118. Note that unless you need the development branch or intend to contribute code to morituri, you will not need to do this.
  119.  
  120. Distributions
  121.  
  122.     Arch Linux (0.2.2)
  123.     Arch Linux AUR (git)
  124.     Fedora 19, 18, 17 (via apestaart) (0.2.2)
  125.     Debian squeeze (oldstable) (0.1.1)
  126.     Debian jessie (testing) (0.2.0)
  127.     Debian sid (unstable) (0.2.0)
  128.     Ubuntu 12.04 LTS (precise) (0.1.2)
  129.     Ubuntu 12.10 (quantal) (0.1.2)
  130.     Ubuntu 13.04 (raring) (0.2.0)
  131.     Linux Mint 12 (lisa) (0.1.2)
  132.     Mandriva (0.1.1)
  133.  
  134.  
  135.  
  136. Arch Linux
  137.  
  138. python2-pycdio is listed as an optional dependency of both the official morituri package, as well as the morituri-git AUR package. Without this package, morituri will not remember your drive offset or whether your drive can defeat its audio cache. You can install it with:
  139.  
  140.     pacman -S python2-pycdio
  141.  
  142.  
  143. If you are using morituri-git, you will also need to install gstreamer0.10-base-plugins, which is also listed as an optional dependency for morituri-git:
  144.  
  145.     pacman -S gstreamer0.10-base-plugins
  146.  
  147.  
  148. More Info: Show
  149.  
  150. Gentoo
  151.  
  152. There is an UNSUPPORTED live ebuild available for Gentoo users, https://gist.github.com/guymann/5040396
  153. Currently USE=cdio is disabled by default since pycdio doesn't work with libcdio-0.90, see https://savannah.gnu.org/bugs/?38185
  154.  
  155. Patching cdparanoia
  156.  
  157. Certain drives that do not support lead-out overread will consistently fail when trying to rip the last track of a CD with a sufficiently large (presumed to be >= 588) offset. If this happens, you will have to patch cdparanoia.
  158.  
  159. If you are using Arch Linux, you can install the AUR package cdparanoia-overread, which will replace cdparanoia and work as expected. Otherwise:
  160.  
  161. First, uninstall cdparanoia with your package manager. You may have to force its removal if it is required as a dependency for other packages on your system. (For this reason, rolling your own package is the cleanest solution.)
  162.  
  163. Patch and install cdparanoia from the latest official release tarball:
  164.  
  165.     wget http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-10.2.src.tgz -O- | tar -xvzf -
  166.     cd cdparanoia-III-10.2
  167.     wget https://aur.archlinux.org/packages/cd/cdparanoia-overread/cdparanoia-overread.tar.gz -O- | tar -xvzf - cdparanoia-overread/overread.patch -O | patch -p1
  168.     ./configure --prefix=/usr --mandir=/usr/share/man
  169.     make
  170.     sudo make install
  171.  
  172.  
  173.  
  174. Now what?
  175.  
  176. morituri logs don't score 100% on the log checker just yet, but we hope that they will be soon. What.CD is currently evaluating morituri, and we need your help!
  177. If you'd like to see a supported GNU/Linux ripper that can generate 100% logs please:
  178.  
  179.     Check out this thread: forums.php?action=viewthread&threadid=163034
  180.     Join us on IRC in #morituri
  181.     Rip some CDs!
  182.     Share your log files
  183.     Contribute documentation
  184.     Fix mistakes you find on this wiki page
  185.     Send Ananke a rippy!
RAW Paste Data
Top