HydrogenAudio

Lossless Audio Compression => FLAC => Topic started by: Sundr0wn on 2019-02-08 23:52:25

Title: Optimise command line options in EAC and add album replay gain
Post by: Sundr0wn on 2019-02-08 23:52:25
Good Day

I've been playing around with EAC today and am trying to figure out how to best set up my command line.
Now i would like to add Album replay gain specifically to my rips. I know i can do that by adding --replay-gain but in the description on the FLAC documentation it says it adds both the track and album replay gain, and i couldnt find any forum discussions about it that are more or less recent so i'd be very happy if someone could help me out here.
Which kind of replay gain gets added when i add the command line --replay-gain and how can i make sure it is the album replay gain?

Also on a side note, i've noticed that even on compression level 8 my file sizes still seem slightly larger then some of the tests i found online with tracks of similar length.  Does having to much unnecessary stuff in your command line increase the file size? Cause i havent changed the default one much yet:

 -8 -e -p -V -T "ARTIST=%artist%" -T "TITLE=%title%" -T "ALBUM=%albumtitle%" -T "DATE=%year%" -T "TRACKNUMBER=%tracknr%" -T "GENRE=%genre%" -T "COMMENT=%comment%" -T "BAND=%albuminterpret%" -T "ALBUMARTIST=%albuminterpret%" -T "COMPOSER=%composer%" %haslyrics%--tag-from-file=LYRICS="%lyricsfile%"%haslyrics% -T "DISCNUMBER=%cdnumber%" -T "TOTALDISCS=%totalcds%" -T "TOTALTRACKS=%numtracks%" %hascover%--picture="%coverfile%"%hascover% %source% -o %dest%

(I've only just added -e & -p, havent ripped anything with them yet)
How would i remove unnecessary command lines if they do increase filesize even with no info given?

And is it normal for it to compress anything, even longer tracks in a matter of seconds on compression level 8, some of those online test showed compression taking way longer on higher levels. I do run an 8 core Ryzen 7 so it might be that?

Enough questions for now :P
Any help is highly appreciated!
Title: Re: Optimise command line options in EAC and add album replay gain
Post by: Apesbrain on 2019-02-09 12:13:24
There is no reason to compress beyond the FLAC default (-5), but it shouldn't hurt.  The whole front of your commandline (-8 -e -p -V) is unnecessary.  Also, the last part (-o %dest%) can be removed if using current version of EAC.

I'm pretty sure that the only RG tags you can add this way is "Track Gain".  EAC lacks the ability to collectively scan a group of files post-rip; if you also want "Album Gain" (and who doesn't), you need to dump the FLAC files into foobar2000 and do it there.

For me, almost any CD rip involves EAC, Mp3tag, and foobar2000.  Just no way around using all three.
Title: Re: Optimise command line options in EAC and add album replay gain
Post by: Sundr0wn on 2019-02-09 14:04:58
I figured even if it only makes a very very minor difference compressing at level 8, over my entire collection it is gonna be noticeable.

What's the -V do? I just left it there cause i didnt know if i needed it.
Is -ep already integrated in level 8 then? I've read something like that but it was very unclear. Otherwise i dont mind the extra time used for barely any improvement at all here, i realise these are very minor options.

Thanks for clearing up the replaygain too, i think i understand this one now. Thought i could do it without extra software if im ripping all my cds anyway.