changes in userpresets.xml

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
blumi
Posts: 22
Joined: Tue Jan 17, 2012 9:44 pm

changes in userpresets.xml

Post by blumi »

Hi,
I have changed to Handbrake 0.9.9 and I miss something like this line in my userpresets.xml

<Query> -f mkv --crop 0:0:0:0 --strict-anamorphic -e x264 -q 21 --vfr -a 1 -E faac -B 160 -6 dpl2 -R Auto -D 0 --gain=0 --subtitle 2,1 --markers="C:\Users\xxx\AppData\Local\Temp\Sg1 01-5-5-chapters.csv" -x ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 --verbose=1</Query>

With this line I could manage very easy and effective my presets for movies.
Now there seems to be a new format and I tried to make a new preset for a movie with two audio streams and two subtitles.
All is saved fine as a new preset, but when I try to use this preset the second audio and subtitle is ignored and the same like the first.
In the preset is the first set to german audio and the second to english for example.

Any ideas what can I change to get this to work?

Code: Select all

 <Preset>
    <Category>User Presets</Category>
    <Description>AC3 DE & EN - SUB DE & EN</Description>
    <IsBuildIn>false</IsBuildIn>
    <IsDefault>false</IsDefault>
    <Name>HP RF22 2xAC3 PT 2xSub</Name>
    <PictureSettingsMode>None</PictureSettingsMode>
    <UseDeinterlace>false</UseDeinterlace>
    <Task>
      <Source>G:\FullDisc\THE_BOOK_OF_ELI</Source>
      <Title>22</Title>
      <Angle>1</Angle>
      <PointToPointMode>Chapters</PointToPointMode>
      <StartPoint>1</StartPoint>
      <EndPoint>14</EndPoint>
      <Destination>C:\Users\xxx\Desktop\The Book Of Eli-22.mkv</Destination>
      <OutputFormat>Mkv</OutputFormat>
      <LargeFile>false</LargeFile>
      <OptimizeMP4>false</OptimizeMP4>
      <IPod5GSupport>false</IPod5GSupport>
      <Width>0</Width>
      <Height>0</Height>
      <MaxWidth xsi:nil="true" />
      <MaxHeight xsi:nil="true" />
      <Cropping>
        <Top>0</Top>
        <Bottom>0</Bottom>
        <Left>0</Left>
        <Right>0</Right>
      </Cropping>
      <HasCropping>true</HasCropping>
      <Anamorphic>Strict</Anamorphic>
      <DisplayWidth xsi:nil="true" />
      <KeepDisplayAspect>false</KeepDisplayAspect>
      <PixelAspectX>0</PixelAspectX>
      <PixelAspectY>0</PixelAspectY>
      <Modulus>16</Modulus>
      <Deinterlace>Off</Deinterlace>
      <Decomb>Off</Decomb>
      <Detelecine>Off</Detelecine>
      <Denoise>Off</Denoise>
      <Deblock>0</Deblock>
      <Grayscale>false</Grayscale>
      <VideoEncodeRateType>ConstantQuality</VideoEncodeRateType>
      <VideoEncoder>X264</VideoEncoder>
      <FramerateMode>VFR</FramerateMode>
      <Quality>22</Quality>
      <VideoBitrate xsi:nil="true" />
      <TwoPass>false</TwoPass>
      <TurboFirstPass>false</TurboFirstPass>
      <Framerate xsi:nil="true" />
      <AudioTracks>
        <AudioTrack>
          <Bitrate>32</Bitrate>
          <DRC>0</DRC>
          <Encoder>Ac3Passthrough</Encoder>
          <Gain>0</Gain>
          <MixDown>Auto</MixDown>
          <SampleRate>0</SampleRate>
          <SampleRateDisplayValue>Auto</SampleRateDisplayValue>
          <ScannedTrack>
            <TrackNumber>1</TrackNumber>
            <Language>Deutsch</Language>
            <LanguageCode>deu</LanguageCode>
            <Format>AC3) (5.1 ch</Format>
            <SampleRate>48000</SampleRate>
            <Bitrate>448000</Bitrate>
          </ScannedTrack>
          <TrackName />
        </AudioTrack>
        <AudioTrack>
          <Bitrate>32</Bitrate>
          <DRC>0</DRC>
          <Encoder>Ac3Passthrough</Encoder>
          <Gain>0</Gain>
          <MixDown>Auto</MixDown>
          <SampleRate>0</SampleRate>
          <SampleRateDisplayValue>Auto</SampleRateDisplayValue>
          <ScannedTrack>
            <TrackNumber>2</TrackNumber>
            <Language>English</Language>
            <LanguageCode>eng</LanguageCode>
            <Format>AC3) (5.1 ch</Format>
            <SampleRate>48000</SampleRate>
            <Bitrate>448000</Bitrate>
          </ScannedTrack>
          <TrackName />
        </AudioTrack>
      </AudioTracks>
      <AllowedPassthruOptions>
        <AudioAllowAACPass>true</AudioAllowAACPass>
        <AudioAllowAC3Pass>true</AudioAllowAC3Pass>
        <AudioAllowDTSHDPass>true</AudioAllowDTSHDPass>
        <AudioAllowDTSPass>true</AudioAllowDTSPass>
        <AudioAllowMP3Pass>true</AudioAllowMP3Pass>
        <AudioEncoderFallback>Ac3</AudioEncoderFallback>
      </AllowedPassthruOptions>
      <SubtitleTracks>
        <SubtitleTrack>
          <Burned>false</Burned>
          <Default>false</Default>
          <Forced>false</Forced>
          <SourceTrack>
            <TrackNumber>1</TrackNumber>
            <Language>Deutsch</Language>
            <LanguageCode>iso639-2: deu</LanguageCode>
            <SubtitleType>VobSub</SubtitleType>
          </SourceTrack>
          <SrtOffset>0</SrtOffset>
          <SubtitleType>VobSub</SubtitleType>
        </SubtitleTrack>
        <SubtitleTrack>
          <Burned>false</Burned>
          <Default>false</Default>
          <Forced>false</Forced>
          <SourceTrack>
            <TrackNumber>2</TrackNumber>
            <Language>English</Language>
            <LanguageCode>Closed Caption) (iso639-2: eng</LanguageCode>
            <SubtitleType>VobSub</SubtitleType>
          </SourceTrack>
          <SrtOffset>0</SrtOffset>
          <SubtitleType>VobSub</SubtitleType>
        </SubtitleTrack>
      </SubtitleTracks>
      <IncludeChapterMarkers>true</IncludeChapterMarkers>
      <ChapterNames>
        <ChapterMarker>
          <ChapterNumber>1</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 1</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>2</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 2</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>3</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 3</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>4</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 4</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>5</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 5</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>6</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 6</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>7</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 7</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>8</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 8</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>9</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 9</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>10</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 10</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>11</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 11</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>12</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 12</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>13</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 13</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>14</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 14</ChapterName>
        </ChapterMarker>
      </ChapterNames>
      <AdvancedEncoderOptions>b-adapt=2:rc-lookahead=50</AdvancedEncoderOptions>
      <X264Preset>Medium</X264Preset>
      <H264Profile>None</H264Profile>
      <H264Level>Auto</H264Level>
      <X264Tune>None</X264Tune>
      <FastDecode>false</FastDecode>
      <ExtraAdvancedArguments />
      <PreviewStartAt xsi:nil="true" />
      <PreviewDuration xsi:nil="true" />
      <IsPreviewEncode>false</IsPreviewEncode>
      <PreviewEncodeDuration>0</PreviewEncodeDuration>
      <ShowAdvancedTab>false</ShowAdvancedTab>
    </Task>
    <UsePictureFilters>true</UsePictureFilters>
  </Preset>
Last edited by Anonymous on Sat Jul 13, 2013 10:07 am, edited 1 time in total.
Reason: Logs must be placed in between [code] [/code] blocks
User avatar
s55
HandBrake Team
Posts: 10357
Joined: Sun Dec 24, 2006 1:05 pm

Re: changes in userpresets.xml

Post by s55 »

Create the preset in the GUI. If you mess around with it, your almost certainly going to run into problems.
blumi
Posts: 22
Joined: Tue Jan 17, 2012 9:44 pm

Re: changes in userpresets.xml

Post by blumi »

I have created and saved the preset in the GUI.
When I load another DVD structure and load the saved preset the second audio stream ist still the same like the first one and in the preset they are different.
blumi
Posts: 22
Joined: Tue Jan 17, 2012 9:44 pm

Re: changes in userpresets.xml

Post by blumi »

I did a lot of tests with the presets and the options for audio and subtitle in Handbrake.

The presets don't work correctly with the version 0.9.9, sorry.

Things which worked fine in 0.9.8 won't work now with 0.9.9.
Just want to make a preset with two different audio tracks and two different subtitles, very simple but Handbrake ignores the saved preset settings.
Always have twice the same audio track, the second language selection from the preset is ignored.

Is there a nightly out there which has fixed this problem?
User avatar
s55
HandBrake Team
Posts: 10357
Joined: Sun Dec 24, 2006 1:05 pm

Re: changes in userpresets.xml

Post by s55 »

The selected audio tracks and Subtitles are not part of the presets. Never have been.

There is auto-selection behavior and addition behavior controllable via options, but that's it.
blumi
Posts: 22
Joined: Tue Jan 17, 2012 9:44 pm

Re: changes in userpresets.xml

Post by blumi »

Maybe they are not part of the presets, but in version 0.9.8 I could control them exactly with the settings in the presets. ;-)
The settings for audio and subtitle in the options of handbrake are nice, but I don't get it to work to select one or the first audio and subtitle of the default language and add an additional audio track and a subtitle.

How to handle this?
Post Reply