www.makemkv.com

MakeMKV support forum
It is currently Tue Sep 02, 2014 4:43 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Sun Oct 28, 2012 8:06 pm 
Offline

Joined: Thu Oct 04, 2012 5:56 pm
Posts: 11
When ripping an HD-DVD, Dolby TrueHD tracks are copied as-is instead of being converted to FLAC.

If I open the resulting MKV file with MakeMKV, I can then convert the TrueHD track to FLAC and save the file again.


Top
 Profile  
 
PostPosted: Sun Oct 28, 2012 9:12 pm 
Offline

Joined: Sat Aug 20, 2011 6:54 pm
Posts: 185
I've already raised this with Mike and sent him some test files so he can fix it.

Meantime, if you look in the MakeMKV directory and find the profile files, you can create a custom one as a workaround which forces everything to FLAC and select that particular profile for HD-DVDs, then it'll work. Currently it's failing to recognise the track as TrueHD, so isn't applying the FLAC conversion, but if you put a catch-all rule in then it'll work fine.


Top
 Profile  
 
PostPosted: Sun Oct 28, 2012 9:59 pm 
Offline

Joined: Thu Oct 04, 2012 5:56 pm
Posts: 11
Could you send me an example?

I wouldn't mind finding a workaround that leaves DDplus untouched.


Top
 Profile  
 
PostPosted: Mon Oct 29, 2012 1:22 am 
Offline

Joined: Sat Aug 20, 2011 6:54 pm
Posts: 185
In the MakeMKV program folder create a new file named something like hddvdflac.mmcp.xml, containing the following:
Code:
<?xml version="1.0" encoding="utf-8"?>
<profile>
    <!-- profile name - Default -->
    <name lang="eng">HDDVD->FLAC</name>

    <!-- Common MKV flags -->
    <mkvSettings
        ignoreForcedSubtitlesFlag="true"
        useISO639Type2T="false"
    />

    <!-- Settings overridable in preferences -->
    <profileSettings
        app_DefaultSelectionString="-sel:all,+sel:(favlang|nolang),+sel:lossless,-sel:(havemulti|havelossless),-sel:mvcvideo,=100:all,-10:favlang"
    />

    <!-- Output formats currently supported by MakeMKV -->
    <outputSettings name="copy" outputFormat="directCopy">
        <description lang="eng">Copy track as is</description>
        <description lang="ger">Track 1:1 kopieren</description>
    </outputSettings>

    <outputSettings name="lpcm" outputFormat="LPCM-raw">
        <description lang="eng">Save as raw LPCM</description>
        <description lang="ger">Als RAW LPCM speichern</description>
    </outputSettings>

    <outputSettings name="wavex" outputFormat="LPCM-wavex">
        <description lang="eng">Save as LPCM in WAV container</description>
        <description lang="ger">Als LPCM im WAV-Container speichern</description>
    </outputSettings>

    <outputSettings name="flac-best" outputFormat="FLAC">
        <description lang="eng">Save as FLAC (best compression)</description>
        <description lang="ger">Als FLAC speichern (höchste Komprimierungsstufe)</description>
        <extraArgs>-compression_level 12</extraArgs>
    </outputSettings>

    <outputSettings name="flac-fast" outputFormat="FLAC">
        <description lang="eng">Save as FLAC (fast compression)</description>
        <extraArgs>-compression_level 5</extraArgs>
    </outputSettings>

    <!-- Default rule - convert to FLAC -->
    <trackSettings input="default">
        <output outputSettingsName="flac-fast"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

    <!-- Keep DD+ as is -->
    <trackSettings input="DDPLUS-stereo">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

    <!-- Save multi-channel LPCM as FLAC -->
    <trackSettings input="DDPLUS-multi">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,+sel:true">
        </output>
    </trackSettings>

</profile>

What this does is set the default rule to convert to FLAC, whereas the default rule is usually to leave the track as is. Then it adds two rules to catch DD+ tracks and leave them alone instead.

I've never built a rule to catch DD+ before so I've had to assume that the tracks will be identified as DDPLUS-stereo or DDPLUS-multi, so you'll have to just try it and see whether it says it's going to convert it or leave it alone.


Top
 Profile  
 
PostPosted: Mon Oct 29, 2012 2:04 am 
Offline

Joined: Thu Oct 04, 2012 5:56 pm
Posts: 11
In order for this to work, we must also tell MakeMKV to let video and subtitle tracks passthrough.

I'm in the process of getting a working profile, I'll post soon.


Top
 Profile  
 
PostPosted: Mon Oct 29, 2012 2:54 am 
Offline

Joined: Thu Oct 04, 2012 5:56 pm
Posts: 11
Code:
<?xml version="1.0" encoding="utf-8"?>
<profile>
    <!-- profile name - Default -->
    <name lang="eng">HD-DVD FLAC</name>

    <!-- Common MKV flags -->
    <mkvSettings
        ignoreForcedSubtitlesFlag="true"
        useISO639Type2T="false"
    />

    <!-- Settings overridable in preferences -->
    <profileSettings
        app_DefaultSelectionString="-sel:all,+sel:(favlang|nolang),+sel:lossless,-sel:(havemulti|havelossless),-sel:mvcvideo,=100:all,-10:favlang"
    />

    <!-- Output formats currently supported by MakeMKV -->
    <outputSettings name="copy" outputFormat="directCopy">
        <description lang="eng">Copy track as is</description>
        <description lang="ger">Track 1:1 kopieren</description>
    </outputSettings>

    <outputSettings name="lpcm" outputFormat="LPCM-raw">
        <description lang="eng">Save as raw LPCM</description>
        <description lang="ger">Als RAW LPCM speichern</description>
    </outputSettings>

    <outputSettings name="wavex" outputFormat="LPCM-wavex">
        <description lang="eng">Save as LPCM in WAV container</description>
        <description lang="ger">Als LPCM im WAV-Container speichern</description>
    </outputSettings>

    <outputSettings name="flac-best" outputFormat="FLAC">
        <description lang="eng">Save as FLAC (best compression)</description>
        <description lang="ger">Als FLAC speichern (höchste Komprimierungsstufe)</description>
        <extraArgs>-compression_level 12</extraArgs>
    </outputSettings>

    <outputSettings name="flac-fast" outputFormat="FLAC">
        <description lang="eng">Save as FLAC (fast compression)</description>
        <extraArgs>-compression_level 5</extraArgs>
    </outputSettings>

    <!-- Default rule - copy as is -->
    <trackSettings input="default">
        <output outputSettingsName="flac-best"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

    <!-- Keep DD+ as is -->
    <trackSettings input="EAC3-stereo">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="EAC3-multi">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,+sel:true">
        </output>
    </trackSettings>

    <!-- Keep AC3 as is -->
    <trackSettings input="AC3-stereo">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="AC3-multi">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,+sel:true">
        </output>
    </trackSettings>

    <!-- Keep DTS as is -->
    <trackSettings input="DTS-stereo">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="DTS-multi">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,+sel:true">
        </output>
    </trackSettings>

    <!-- Keep FLAC as is -->
    <trackSettings input="FLAC-stereo">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="FLAC-multi">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString,+sel:true">
        </output>
    </trackSettings>

    <!-- Keep MP3 as is -->
    <trackSettings input="MP3">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

    <!-- Keep Video as is -->
    <trackSettings input="Mpeg1">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="Mpeg2">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="Mpeg4">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="VC1">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

    <!-- Keep Subtitles as is -->
    <trackSettings input="VOBSUB">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="VOBSUB-forced">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="VOBSUBHD">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="VOBSUBHD-forced">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="PGS">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>
    <trackSettings input="PGS-forced">
        <output outputSettingsName="copy"
                defaultSelection="$app_DefaultSelectionString">
        </output>
    </trackSettings>

</profile>


Top
 Profile  
 
PostPosted: Mon Nov 26, 2012 1:38 am 
Offline

Joined: Sat Sep 29, 2012 11:37 pm
Posts: 16
PatHawks,
I get the following error when using your profile:
Profile parsing error: brc-flac.mmcp.xml:35:53 - not well-formed (invalid token)
Profile parsing error: malformed XML


What should I do to fix this error?

I was going to try this profile to rip Criterion blu-rays while converting their LPCM audio to FLAC.

Thanks.


Top
 Profile  
 
PostPosted: Mon Nov 26, 2012 1:47 am 
Offline

Joined: Thu Oct 04, 2012 5:56 pm
Posts: 11
You shouldn't need to use this profile if you're just trying to rip a Blu-ray, the built in FLAC profile will convert LPCM to FLAC just fine. :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group