HydrogenAudio

CD-R and Audio Hardware => CD Hardware/Software => Topic started by: shantiq on 2013-01-22 11:08:04

Title: Rubyripper [Linux]: A handy comprehensive synopsis of command-line ins
Post by: shantiq on 2013-01-22 11:08:04
[font= "Century Gothic"]


In Linux we have Rubyripper (http://linuxappfinder.com/package/rubyripper) to try and emulate the mighty EAC.
Apparently it is not quite as good as EAC; as although it does rip twice the two rips are not matched with the same level of accuracy as they are in EAC. Sample of log at bottom of page
I do not understand all the detail here; if anyone knows precisely what the differences are please share that info; i would love to know...
I have also placed similar info (http://www.hydrogenaudio.org/forums/index.php?showtopic=98556) for EAC under Wine here [since it works fine on Linux too] 




TIPS TO USE RR
===========


In my experience of using RR [on Ubuntu]i have found that it can be a little unresponsive from the GUI and responds excelently from command line
So i suggest 
Code: [Select]
rrip_gui
from command line to set your settings

Then to shut down the gui

And use from terminal  with 
Code: [Select]
rrip_cli


That way has always been smooth for me on Ubuntu....  it may be different on other distros.

●  To change your Other command line it is alternatively also handy to go straight to the settings page

again in Ubuntu [modify for your distro]   
Code: [Select]
gedit  .config/rubyripper/settings
brings up the page; find the Other line and replace with one of those below


======================


You will need to do this to each of the added codecs to make them executable

Code: [Select]
sudo mv nameofcodec /usr/bin


and then make it executable

Code: [Select]
cd /usr/bin


Code: [Select]
sudo chmod +x nameofcodec



PS  I do not link the codecs' pages here as I trust all of you will be able to find them through a search engine..

======================



THE COMMAND-LINES [FROM lossless to lossy]


●shorten [no tagging option]


Code: [Select]
shorten  "%i"  "%o".shn



●Alac through ffmpeg


Code: [Select]
ffmpeg -i %i -acodec alac "%o".m4a && neroAacTag %o.m4a -meta:artist=%a -meta:album=%b -meta:genre=%g -meta:year=%y -meta:track="%n" -meta:title="%t"



●wavpack


Code: [Select]
wavpack -w "Artist=%a" -w "Title=%t" -w "Album=%b" -w "Year=%y" -w "Track=%n" -w "Genre=%g" -hhm %i -o "%o.wv"



●True audio tta


Code: [Select]
ttaenc -e  "%i" -o "%o".tta   && id3v2 %o.tta --artist %a --album %b --song %t --genre %g --track %n  --year %y



●ape with tags id3v2

Code: [Select]
mac "%i" "%o".ape -c5000 && id3v2 %o.ape --artist %a --album %b --song %t --genre %g --track %n --year %y


●also with tags apetag [you will need to find and add apetag first]

Code: [Select]
mac "%i" "%o".ape -c5000 && apetag -i %o.ape -m overwrite -p trackname=%t -p Artist=%a -p Album=%b -p Year=%y -p Track=%n -p Codec=%f


●mp3hd

Code: [Select]
mp3hdEncoder -br 320000 -if "%i" -of "%o".mp3 - -Title "%t" -Artist "%a" -Album "%b" -Track "%n" -Year "%y" -Genre "%g"




ALSO IMPORTANT for mp3hdEncoder
MAke sure you have Lame installed; the encoding relies on it for the lossy part and make it executable
ALSO make sure you go into the terminal enter mp3hdEncoder and ACCEPT the agreement



●ogg vorbis  [although this one is available without using the Other i leave it here for reference]
 
Code: [Select]
oggenc  -q 9 -t "%t" -d "%y" -a "%a" -l "%b" -G "%g" -N "%n" -c "%c"  "%i" -o "%o" .ogg



●musepack
 
Code: [Select]
mpcenc --quality 10.00 --artist "%a" --title "%t" --album "%b" --genre "%g" --year "%y" -if "%i" "%o" .mpc


●aac/m4a with neroAacEnc [320k]

Code: [Select]
neroAacEnc -cbr 320000 -if %i -of %o.m4a && neroAacTag %o.m4a -meta:artist=%a -meta:album=%b -meta:genre=%g -meta:year=%y -meta:track=%n -meta:title=%t



●HE-AACv2   

Code: [Select]
neroAacEnc -hev2 -q 1 -if %i -of %o.m4a && neroAacTag %o.m4a -meta:artist=%a -meta:album=%b -meta:genre=%g -meta:year=%y -meta:track=%n -meta:title=%t

 
 
 
 
=========================================== 


sample of log


Quote
This log is created by Rubyripper, version 0.6.2
Website: http://code.google.com/p/rubyripper (http://code.google.com/p/rubyripper)

Cdrom player used to rip:
_NEC DVD_RW ND-3550A 1.52
Cdrom offset used: 0

Ripper used: cdparanoia
Matches required for all chunks: 2
Matches required for erroneous chunks: 2

Codec(s) used:
-other   -> oggenc  -q 9 -t "%t" -d "%y" -a "%a" -l "%b" -G "%g" -N "%n" -c "%c"  "%i" -o "%o"

CDDB INFO

Artist   = Neu!
Album   = Neu! [Remastered 2001]
Year   = 1972
Genre   = Krautrock
Tracks   = 6 (6 selected)

01 - Hallogallo
02 - Sonderangebot
03 - Weissensee
04 - Im Glück
05 - Negativland
06 - Lieber Honig

ADVANCED TOC ANALYSIS (with cdrdao)
...please be patient, this may take a while


STATUS

Starting to rip track 1, trial #1 (77 seconds)
Starting to rip track 1, trial #2 (76 seconds)
Analyzing files for mismatching chunks (1 second(s))
Every chunk matched 2 times
MD5 sum: 2f95086ba943776c45cd4076b5b73f67

Starting to rip track 2, trial #1 (31 seconds)
Starting to rip track 2, trial #2 (31 seconds)
Analyzing files for mismatching chunks (1 second(s))
Every chunk matched 2 times
MD5 sum: 93d656f76ea1689dbd7e407d20b031bb

Starting to rip track 3, trial #1 (40 seconds)
Starting to rip track 3, trial #2 (39 seconds)
Analyzing files for mismatching chunks (0 second(s))
Every chunk matched 2 times
MD5 sum: 0d18b41932ca5448de2abae650db8ae4

Starting to rip track 4, trial #1 (38 seconds)
Starting to rip track 4, trial #2 (38 seconds)
Analyzing files for mismatching chunks (0 second(s))
Every chunk matched 2 times
MD5 sum: f07ff029af0b20dc27582d0f8ccfbaaa

Starting to rip track 5, trial #1 (49 seconds)
Starting to rip track 5, trial #2 (48 seconds)
Analyzing files for mismatching chunks (1 second(s))
Every chunk matched 2 times
MD5 sum: f58f1746c46683596c56810bc4937ea5

Starting to rip track 6, trial #1 (33 seconds)
Starting to rip track 6, trial #2 (34 seconds)
Analyzing files for mismatching chunks (1 second(s))
Every chunk matched 2 times
MD5 sum: c95725686781116c0a93824625d5a431


RIPPING SUMMARY

All chunks were tried to match at least 2 times.
None of the tracks gave any problems





[/font]
Title: Rubyripper [Linux]: A handy comprehensive synopsis of command-line ins
Post by: shantiq on 2013-01-23 15:50:22
a couple more




● Command Line for opus (http://opus-codec.org/)[a recent lossy codec]


Code: [Select]
 opusenc --bitrate 128 "%i" "%o".opus && id3v2 "%o".opus --artist "%a" --album "%b" --song "%t" --genre "%g" --track "%n" --year "%y"



● shorten also can be tagged with id3

Code: [Select]
 shorten "%i" "%o".shn && id3v2 %o.shn --artist %a --album %b --song %t --genre %g --track %n --year %y