FLAC Quality selection????

Discussion of advanced MakeMKV functionality, expert mode, conversion profiles
Message
Author
kmitalian
Posts: 1
Joined: Thu Jun 05, 2014 8:21 am

FLAC Quality selection????

#1 Post by kmitalian » Thu Jun 05, 2014 8:24 am

Hey guys,

I'm loving MakeMKV in particular using the FLAC option since I have a Raspberry Pi and it outputs it in PCM for me to get the best sound!!!.

question, is there a way i can change or alter the Quality of the FLAC that's made or is it set at it's best????

Thanks.

ndjamena
Posts: 830
Joined: Mon Jan 07, 2013 12:23 am

Re: FLAC Quality selection????

#2 Post by ndjamena » Thu Jun 05, 2014 8:59 am

If you go into the Conversion profile there are two settings for FLAC "flac-fast" and "flac-best". It's set to use "flac-fast' by default. I've set mine to "flac-best" which I assume is better.

Code: Select all

    <!-- Save DTS-HD as FLAC -->
    <trackSettings input="DTSHDMA-stereo">
        <output outputSettingsName="copy" 
                defaultSelection="$app_DefaultSelectionString">
        </output>
        <output outputSettingsName="flac-best"
                defaultSelection="$app_DefaultSelectionString,+sel:true">
        </output>
    </trackSettings>
...and repeat with surround MA and TrueHD. I also set VobSubs and PGS to "copyzlib".

Romansh
Posts: 873
Joined: Sat Jan 22, 2011 7:09 pm

Re: FLAC Quality selection????

#3 Post by Romansh » Fri Jun 06, 2014 1:00 pm

kmitalian wrote:question, is there a way i can change or alter the Quality of the FLAC that's made or is it set at it's best????
FLAC is lossless, so you can't alter the quality - only the compression efficiency. Using flac-best instead of flac-fast will save you a few bits, though on most streams, no more than a few percent (of the audio stream itself, not overall).

ndjamena
Posts: 830
Joined: Mon Jan 07, 2013 12:23 am

Re: FLAC Quality selection????

#4 Post by ndjamena » Sat Jun 07, 2014 12:21 am

"Quality of FLAC"...

Hmmm.

trumpet205
Posts: 55
Joined: Thu May 29, 2014 5:30 am

Re: FLAC Quality selection????

#5 Post by trumpet205 » Thu Jun 19, 2014 8:35 pm

kmitalian wrote:Hey guys,

I'm loving MakeMKV in particular using the FLAC option since I have a Raspberry Pi and it outputs it in PCM for me to get the best sound!!!.

question, is there a way i can change or alter the Quality of the FLAC that's made or is it set at it's best????

Thanks.
So many things wrong with your statement.

FLAC is a lossless audio compression. Its sound quality is the same as Dolby TrueHD and DTS-HD MA found on Blu-ray.

And because it is lossless, no settings will affect its sound quality.

tommyla
Posts: 8
Joined: Thu Jun 28, 2012 8:47 pm

Re: FLAC Quality selection????

#6 Post by tommyla » Sat Dec 06, 2014 3:59 pm

i think he mean FLAC Compression Level
http://z-issue.com/wp/flac-compression- ... omparison/
FLAC can be thought of a zip/7z like compression

WhiteG37
Posts: 9
Joined: Mon Jun 09, 2014 11:39 am

Re: FLAC Quality selection????

#7 Post by WhiteG37 » Fri Jul 14, 2017 5:04 pm

kmitalian wrote:Hey guys,

I'm loving MakeMKV in particular using the FLAC option since I have a Raspberry Pi and it outputs it in PCM for me to get the best sound!!!.

question, is there a way i can change or alter the Quality of the FLAC that's made or is it set at it's best????

Thanks.
Newbie to MKV and do not see where to access PROFILE in order to set output to FLAC rather than MKV.

How does one access PROFILE?

Woodstock
Posts: 10323
Joined: Sun Jul 24, 2011 11:21 pm

Re: FLAC Quality selection????

#8 Post by Woodstock » Fri Jul 14, 2017 10:50 pm

Preferences->General, make sure "Expert mode" is checked, and a number of new menus will become available to you.

WhiteG37
Posts: 9
Joined: Mon Jun 09, 2014 11:39 am

Re: FLAC Quality selection????

#9 Post by WhiteG37 » Sun Jul 16, 2017 4:05 pm

Woodstock wrote:Preferences->General, make sure "Expert mode" is checked, and a number of new menus will become available to you.
Sorry, Woodstock, for the post on 2 forums. Not sure where I'd get a reply.

I did find where to select FLAC. Thanks for that.

Trying to get audio from 2 BDs:
Neil Young - Psychedelic Pill
Tom Petty & Heartbreakers - Damn The Torpedoes

Since I had numerous "MEDIUM ERROR" messages when trying to rip the discs with MakeMKV, I searched on the error and found the post about copying contents fo disc to another drive which I did.

Now, when I go to BDMV folder and click open, almost immediately MKV comes back (with both discs) and says...

"The volume key is unknown for this disc - video can't be decrypted.
Failed to open disc."

I will have to say that the 4 screenshots on the MKV site suggest that this process is much simpler than it actually is.

BluFix
Posts: 13
Joined: Tue Aug 17, 2010 1:17 pm

Re: FLAC Quality selection????

#10 Post by BluFix » Thu Dec 13, 2018 5:52 pm

Hello everyone, I'll revive this since there've been some changes I couldn't figure out.

The flac.mmcp.xml file is now inside appdata.tar. What I did: extracted appdata.tar, edited flac.mmcp.xml accordingly (flac-fast to flac-best, where applicable), recompressed all extracted files as appdata.tar and put it back into MakeMKV's folder where it was, replacing the original appdata.tar.

However, it doesn't seem to like that since I will only get the Default profile. All the others (FLAC etc.) are unavailable. There's probably another way to do this... but what is it?

Thank you.

Woodstock
Posts: 10323
Joined: Sun Jul 24, 2011 11:21 pm

Re: FLAC Quality selection????

#11 Post by Woodstock » Thu Dec 13, 2018 6:53 pm

If you change a default profile, you should save it as a file in the MakeMKV DATA directory. MakeMKV considers anything in the program directory as "fair game" for deletion/replacement during updates, but the data directory is left alone.

Profiles are, of course, only available with Expert mode turned on, and they're only read when MakeMKV initializes, so you at least have to exit the program to get them read on the next start-up. Watch for any error messages in the log window when MakeMKV starts; if you have syntax error in your edited profile, it won't be available as a selection.

BluFix
Posts: 13
Joined: Tue Aug 17, 2010 1:17 pm

Re: FLAC Quality selection????

#12 Post by BluFix » Mon Dec 17, 2018 10:20 pm

Thanks, I finally figured it out. Not sure though why "flac-fast" remains the default, the minimal CPU overhead of "flac-best" shouldn't be a problem in 99% of cases today.

Reiver
Posts: 23
Joined: Wed Jul 26, 2017 8:45 am

Re: FLAC Quality selection????

#13 Post by Reiver » Mon Dec 17, 2018 11:39 pm

Just to note that for FLAC encoding using FFmpeg, which MakeMKV does, the compression level should really be set to maximum of 10 not the current 12 for flac-best. The FFmpeg FLAC compression levels 11 and 12 are not a FLAC subset meaning potential streaming and hardware decoding issues (some do exist). The official FLAC encoder only does compression levels 1-8 and are all FLAC subsets.

EDIT: And FFmpeg at 10 isn't a better compression than official FLAC at 8, just different increments.

About repacking the appdata.tar with a fixed flac.mmcp.xml, the --index-abcdef file ordering in the tar and non-standard way the makemkvcon binary reads the tar seems to jigger the loading hence the lost profiles. Hex editing works instead as extracting to your own profile might miss any future changes to the flac.mmcp.xml.

BluFix
Posts: 13
Joined: Tue Aug 17, 2010 1:17 pm

Re: FLAC Quality selection????

#14 Post by BluFix » Tue Dec 18, 2018 12:32 am

Thanks for the helpful info Reiver. I made the change from 12 to 10 in my .xml profile and it did apply to my test output. Hex editing the appdata.tar is way over my head though...

(update: I did it with HxD, not really that difficult)

K@mpfH@mster
Posts: 13
Joined: Sun Jan 18, 2015 9:18 am

Re: FLAC Quality selection????

#15 Post by K@mpfH@mster » Thu Aug 22, 2019 2:39 pm

Hey guys, I have searched everything, but I cant find a solution. I am using the newest version and would like to use FLAC profile, but with highest possible compression. Cant find an option anywhere.

Post Reply