Re: external encoding in rubyripper
trying to see if it is possible to rip to tak which only exists as an exe
i have made wine and Takc.exe executable and cobbled this for the "other" external encoder line
Code:
wine Takc -e -pMax %s %d .tak
but then i get this from the commandline when running rrip_cli
i do not particularly understand what it means
do any of you ? are there reasons why it would theoretically be impossible to run an exe through wine to encode or is just something much simpler
Thanx for all insights
Code:
1) Auto rename the output directory
2) Overwrite the existing directory
3) Cancel the rip and eject the disc
Please enter the number of your choice: [1]
/home/shantiq/other/Ashra (1989) Walkin' The Desert#7
/usr/usr/lib/ruby/1.8/rr_lib.rb:1487:in `findExtensionOther': undefined method `[]' for nil:NilClass (NoMethodError)
from /usr/usr/lib/ruby/1.8/rr_lib.rb:1478:in `attemptDirCreation'
from /usr/usr/lib/ruby/1.8/rr_lib.rb:1677:in `postfixDir'
from /usr/usr/lib/ruby/1.8/rr_lib.rb:2603:in `postfixDir'
from /usr/bin/rrip_cli:427:in `dir_exists'
from /usr/bin/rrip_cli:447:in `update'
from /usr/bin/rrip_cli:414:in `prepareRip'
from /usr/bin/rrip_cli:331:in `showFreedbOptions'
from /usr/bin/rrip_cli:305:in `showFreedb'
from /usr/bin/rrip_cli:265:in `handleFreedb'
from /usr/bin/rrip_cli:244:in `get_cd_info'
from /usr/bin/rrip_cli:47:in `initialize'
from /usr/bin/rrip_cli:486:in `new'
from /usr/bin/rrip_cli:486
2 Attachment(s)
Re: external encoding in rubyripper
Yet one more lossless for the collection:KS
=> OptimFrog
Quote:
ofr --encode "%i" --output "%o" .ofr && id3v2 %o --artist %a --album %b --song %t --genre %g --track %n --year %y
Probably best place to play those file is Foobar 1.1 under wine with this plugin
also added here below [put both dll in Foobar components folder]
can also be played in xmms 32-bit as there is a plugin online none for 64-bit as yet
Attachment 217723
Re: external encoding in rubyripper
to add to the list of code for other codecs there is also HE-AAC which allows you to have a very small file of a fairly decent compared sound quality for its size
one can use aacplusenc or neroAacEnc for that task or even libaacplus through ffmpeg
those are the "other" lines
Code:
aacplusenc "%i" "%o" .aac 64000 s
or even
Code:
aacplusenc "%i" "%o" .aac 72000 s
NB: no tagging with aacplusenc
Quote:
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
tagging here you change -q 1 for -q 0.5 up to you
Quote:
ffmpeg -i %i -c:a libaacplus -b:a 64k %o.m4a && AtomicParsley %o.m4a -a %a -b %b -g %g -y %y -k %n --title %t -W
Atomic Parsley required for this last one. It is in repo. Also you will need to add libaacplus to your ffmpeg see here for details
PS to navigate easy to make those codec changes and bypassing the [at times unreliable] GUI
use this
Quote:
mousepad ./config/rubyripper/settings
or if you do not use mousepad
Quote:
gedit ./config/rubyripper/settings
having first made sure the file will, open
Quote:
sudo chown yourname ./config/rubyripper/settings
find the line "othersettings" and change
1 Attachment(s)
Re: external encoding in rubyripper
Quote:
Originally Posted by
shantiq
PS to navigate easy to make those codec changes and bypassing the [at times unreliable] GUI
use this
Quote:
cd .config/rubyripper && sudo mousepad settings
or if you do not use mousepad
Quote:
cd .config/rubyripper && sudo gedit settings
find the line "other" and change
probably should refrain from using sudo to edit user config files, not needed, you should own them. (or you used to..
Re: external encoding in rubyripper
Hi mc4 you mean do this this first
Code:
sudo chown yourname settings
then
Code:
cd .config/rubyripper && mousepad settings
is a better way ?
Re: external encoding in rubyripper
basically, take back ownership or create new settings file(s). then if opening from cli just use for ex.
Code:
mousepad .config/rubyripper/settings
(if your terminal was at something other than default prompt then a simple
cd will return -
cd
mousepad .config/rubyripper/settings
(you could also look at disown so you can close the terminal
mousepad .config/rubyripper/settings & disown
Myself for stuff like this I do often just use Alt+F2, enter simple commands, then they are there in the history & just click on -
Alt+F2
mousepad .config/rubyripper/settings
Re: external encoding in rubyripper
good tip thank you:KS:KS
had completely forgotten the existence of alt+ F2
of course on the last few versions it is not there. has to be brought back
i do not know about others but RR without GUI is usually way smoother
tta and ogg opus with tags rubyripper
In earlier post i had not always shown how to rip with tags trying to correct all this now so rips are fully tagged
●Command Line for ogg with VorbisComments tags:
Quote:
oggenc -q 9 -t "%t" -d "%y" -a "%a" -l "%b" -G "%g" -N "%n" -c "%c" "%i" -o "%o" .ogg
[actually looking again no need for ogg in the Other as it is one of the 3 already available; but i shall leave it here as reference]
●Command Line for tta with id3v2 tags
Quote:
ttaenc -e "%i" -o "%o".tta && id3v2 %o.tta --artist %a --album %b --song %t --genre %g --track %n --year %y
● Command Line for opus [a recent lossy codec]
Quote:
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
Quote:
shorten "%i" "%o".shn && id3v2 %o.shn --artist %a --album %b --song %t --genre %g --track %n --year %y --comment Ripped.with.Rubyripper
also keeping all info on Hydrogenaudio
fdkaac ; fdkaac-encoder ; HE-AAC v2
ok so there is another brilliant encoder [Thank you Doug .. Mc4man] to allow one to obtain all those formats
Quote:
MPEG-4 AAC LC (default)
MPEG-4 HE-AAC (SBR)
MPEG-4 HE-AAC v2 (SBR+PS)
MPEG-4 AAC LD
MPEG-4 AAC ELD
MPEG-2 AAC LC
MPEG-2 HE-AAC (SBR)
MPEG-2 HE-AAC v2 (SBR+PS)
● to get HE-AAC v2 [very small size but great sound] use
Quote:
fdkaac -p 29 -b 38000 --title "%t" --artist "%a" --album "%b" --track "%n" --date "%y" --genre "%g" --comment Ripped.with.Rubyripper %i -o %o.m4a
● for a regular LC 320k
Quote:
fdkaac -b 320000 --title "%t" --artist "%a" --album "%b" --track "%n" --date "%y" --genre "%g" --comment Ripped.with.Rubyripper %i -o %o.m4a
running fdkaac in terminal gives you further settings
Code:
fdkaac
fdkaac 0.2.0
Usage: fdkaac [options] input_file
Options:
-h, --help Print this help message
-p, --profile <n> Profile (audio object type)
2: MPEG-4 AAC LC (default)
5: MPEG-4 HE-AAC (SBR)
29: MPEG-4 HE-AAC v2 (SBR+PS)
23: MPEG-4 AAC LD
39: MPEG-4 AAC ELD
129: MPEG-2 AAC LC
132: MPEG-2 HE-AAC (SBR)
156: MPEG-2 HE-AAC v2 (SBR+PS)
-b, --bitrate <n> Bitrate in bits per seconds (for CBR)
-m, --bitrate-mode <n> Bitrate configuration
0: CBR (default)
1-5: VBR
(VBR mode is not officially supported, and
works only on a certain combination of
parameter settings, sample rate, and
channel configuration)
-w, --bandwidth <n> Frequency bandwidth in Hz (AAC LC only)
-a, --afterburner <n> Afterburner
0: Off
1: On(default)
-L, --lowdelay-sbr Enable ELD-SBR (AAC ELD only)
-s, --sbr-signaling <n> SBR signaling mode
0: Implicit, backward compatible(default)
1: Explicit SBR and implicit PS
2: Explicit hierarchical signaling
-f, --transport-format <n> Transport format
0: RAW (default, muxed into M4A)
1: ADIF
2: ADTS
6: LATM MCP=1
7: LATM MCP=0
10: LOAS/LATM (LATM within LOAS)
-C, --adts-crc-check Add CRC protection on ADTS header
-h, --header-period <n> StreamMuxConfig/PCE repetition period in
transport layer
-o <filename> Output filename
-G, --gapless-mode <n> Encoder delay signaling for gapless playback
0: iTunSMPB (default)
1: ISO standard (edts + sgpd)
2: Both
--ignorelength Ignore length of WAV header
-S, --silent Don't print progress messages
Options for raw (headerless) input:
-R, --raw Treat input as raw (by default WAV is
assumed)
--raw-channels <n> Number of channels (default: 2)
--raw-rate <n> Sample rate (default: 44100)
--raw-format <spec> Sample format, default is "S16L".
Spec is as follows:
1st char: S(igned)|U(nsigned)|F(loat)
2nd part: bits per channel
Last char: L(ittle)|B(ig)
Last char can be omitted, in which case L is
assumed. Spec is case insensitive, therefore
"u16b" is same as "U16B".
Tagging options:
--title <string>
--artist <string>
--album <string>
--genre <string>
--date <string>
--composer <string>
--grouping <string>
--comment <string>
--album-artist <string>
--track <number[/total]>
--disk <number[/total]>
--tempo <n>
--tag <fcc>:<value> Set iTunes predefined tag with four char code.
--tag-from-file <fcc>:<filename>
Same as above, but value is read from file.
--long-tag <name>:<value> Set arbitrary tag as iTunes custom metadata.
--tag-from-json <filename[?dot_notation]>
Read tags from JSON. By default, tags are
assumed to be direct children of the root
object(dictionary).
Optionally, position of the dictionary
that contains tags can be specified with
dotted notation.
Example:
--tag-from-json /path/to/json?format.tags