]> granicus.if.org Git - handbrake/commitdiff
MacGui: Initial x264 presets implementation.
authordynaflash <dynaflashtech@gmail.com>
Tue, 1 Jan 2013 18:38:36 +0000 (18:38 +0000)
committerdynaflash <dynaflashtech@gmail.com>
Tue, 1 Jan 2013 18:38:36 +0000 (18:38 +0000)
- Note: HB Built-ins are not updated as needs more testing
- Backwards compatible afaik for older presets including custom.
- Queue Item editing function needs to be updated yet.
- Preset import/ export will probably need work as well especially since some kvp's seem to still be up in the air.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5126 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/Controller.h
macosx/Controller.m
macosx/English.lproj/MainMenu.xib
macosx/English.lproj/OutputPanel.xib
macosx/HBQueueController.mm

index 5c8ddf34a0dd253914d3dc29d99ce5d54fa835ae..dc5d3619895d953944aec3321040eb8cc5b6cd51 100644 (file)
@@ -59,6 +59,24 @@ BOOL                        fIsDragging;
     /* Picture Preview */
     PreviewController            * fPreviewController;
     
+    /* x264 Presets Box */
+    IBOutlet NSButton            * fx264UseAdvancedOptionsCheck;
+    IBOutlet NSBox               * fX264PresetsBox;
+    IBOutlet NSSlider            * fX264PresetsSlider;
+    IBOutlet NSTextField         * fX264PresetSliderLabel;
+    IBOutlet NSTextField         * fX264PresetSelectedTextField;
+    IBOutlet NSPopUpButton       * fX264TunePopUp;
+    IBOutlet NSTextField         * fX264TunePopUpLabel;
+    IBOutlet NSPopUpButton       * fX264ProfilePopUp;
+    IBOutlet NSTextField         * fX264ProfilePopUpLabel;
+    IBOutlet NSPopUpButton       * fX264LevelPopUp;
+    IBOutlet NSTextField         * fX264LevelPopUpLabel;
+    IBOutlet NSButton            * fX264FastDecodeCheck;
+    IBOutlet NSTextField         * fDisplayX264PresetsAdditonalOptionsTextField;
+    IBOutlet NSTextField         * fDisplayX264PresetsAdditonalOptionsLabel;
+    // Text Field to show the expanded opts from unparse()
+    IBOutlet NSTextField         * fDisplayX264PresetsUnparseTextField;
+    
     /* Advanced options tab */
     HBAdvancedController         * fAdvancedOptions;
        IBOutlet NSBox               * fAdvancedView;
@@ -282,6 +300,11 @@ BOOL                        fIsDragging;
 
 - (void)     updateUI: (NSTimer *) timer;
 - (void)     enableUI: (bool) enable;
+- (IBAction) enableX264PresetWidgets: (id) sender;
+- (IBAction) setupX264PresetsWidgets: (id) sender;
+- (IBAction) x264PresetsSetJobVariables: (id) sender;
+- (IBAction) x264PresetsChangedDisplayExpandedOptions: (id) sender;
+
 - (IBAction) encodeStartStopPopUpChanged: (id) sender;
 
 
@@ -455,5 +478,10 @@ BOOL                        fIsDragging;
 - (BOOL)performDragOperation:(id <NSDraggingInfo>)sender;
 
 - (void) updateDockIcon:(double)progress withETA:(NSString*)etaStr;
+
+// x264 Presets methods
+- (IBAction) x264PresetsSliderChanged: (id) sender;
+
+
 @end
 
index e93bd8e54a14a3b8457c1008b84e387d01afab34..f1c7d9395e4474c5a2c1556b6af7c0fb8f21a7b7 100644 (file)
@@ -678,6 +678,8 @@ static NSString *        ChooseSourceIdentifier             = @"Choose Source It
     [fVidEncoderPopUp removeAllItems];
     [fVidEncoderPopUp addItemWithTitle: @"FFmpeg"];
     
+    /* Setup our x264 presets widgets */
+    [self setupX264PresetsWidgets: nil];
     
     /* Video quality */
        [fVidBitrateField    setIntValue: 1000];
@@ -752,9 +754,12 @@ static NSString *        ChooseSourceIdentifier             = @"Choose Source It
         fCreateChapterMarkers,fVidTurboPassCheck,fDstMp4LargeFileCheck,fSubForcedCheck,fPresetsOutlineView,
         fDstMp4HttpOptFileCheck,fDstMp4iPodFileCheck,fVidQualityRFField,fVidQualityRFLabel,
         fEncodeStartStopPopUp,fSrcTimeStartEncodingField,fSrcTimeEndEncodingField,fSrcFrameStartEncodingField,
-        fSrcFrameEndEncodingField, fLoadChaptersButton, fSaveChaptersButton, fFramerateMatrix
+        fSrcFrameEndEncodingField, fLoadChaptersButton, fSaveChaptersButton, fFramerateMatrix,
+        fX264PresetsSlider,fX264PresetSliderLabel,fX264PresetSelectedTextField,fX264TunePopUp,fX264TunePopUpLabel,
+        fX264ProfilePopUp,fX264ProfilePopUpLabel,fX264LevelPopUp,fX264LevelPopUpLabel,fX264FastDecodeCheck,
+        fDisplayX264PresetsAdditonalOptionsTextField,fDisplayX264PresetsAdditonalOptionsLabel,fx264UseAdvancedOptionsCheck
+        
     };
-    
     for( unsigned i = 0;
         i < sizeof( controls ) / sizeof( NSControl * ); i++ )
     {
@@ -771,6 +776,7 @@ static NSString *        ChooseSourceIdentifier             = @"Choose Source It
         [controls[i] setEnabled: b];
         
     }
+   
     
        if (b) 
     {
@@ -789,6 +795,7 @@ static NSString *        ChooseSourceIdentifier             = @"Choose Source It
     
     [self videoMatrixChanged:nil];
     [fAdvancedOptions enableUI:b];
+    [self enableX264PresetWidgets:nil];
 }
 
 
@@ -2525,8 +2532,45 @@ fWorkingCount = 0;
     /* Codecs */
        /* Video encoder */
        [queueFileJob setObject:[fVidEncoderPopUp titleOfSelectedItem] forKey:@"VideoEncoder"];
-       /* x264 Option String */
+       
+    /* x264 Preset, Tune, Profile, and Levels */
+    if (![fx264UseAdvancedOptionsCheck state])
+    {
+        // Set the x264 Preset
+        [queueFileJob setObject:[NSString stringWithFormat:@"%@", [fX264PresetSelectedTextField stringValue]] forKey:@"x264Preset"];
+        
+        if ([fX264TunePopUp indexOfSelectedItem] != 0)
+        {            // we check to see if fastdecode is checked and if so we append it to the tune as so...
+            if ([fX264FastDecodeCheck state] == NSOnState)
+            {
+                [queueFileJob setObject:[NSString stringWithFormat:@"%@,%@", [fX264TunePopUp titleOfSelectedItem], @"fastdecode"] forKey:@"x264Tune"];
+                
+                
+            }
+            else
+            {
+                [queueFileJob setObject:[NSString stringWithFormat:@"%@", [fX264TunePopUp titleOfSelectedItem]] forKey:@"x264Tune"];
+                
+            }
+        }
+    } 
+    
+    // Make sure we are not ignoring the setting, for Profile its "auto" but index 0
+    if ([fX264ProfilePopUp indexOfSelectedItem] != 0)
+    {
+        [queueFileJob setObject:[NSString stringWithFormat:@"%@", [fX264ProfilePopUp titleOfSelectedItem]] forKey:@"h264Profile"];
+    }
+    // Make sure we are not ignoring the setting, for Level its "auto" but index 0
+    if ([fX264LevelPopUp indexOfSelectedItem] != 0)
+    {
+        [queueFileJob setObject:[NSString stringWithFormat:@"%@", [fX264LevelPopUp titleOfSelectedItem]] forKey:@"h264Level"];
+    }
+    [queueFileJob setObject:[NSString stringWithFormat:@"%@", [fDisplayX264PresetsAdditonalOptionsTextField stringValue]] forKey:@"x264AdditionalOptions"];
+    /* END x264 Preset, Tune, Profile, and Levels */
+    
+    /* x264 Advanced Option String */
        [queueFileJob setObject:[fAdvancedOptions optionsString] forKey:@"x264Option"];
+    
     /* FFmpeg (lavc) Option String */
     [queueFileJob setObject:[fAdvancedOptions optionsStringLavc] forKey:@"lavcOption"];
 
@@ -3226,10 +3270,21 @@ fWorkingCount = 0;
     {
                
                /* Below Sends x264 options to the core library if x264 is selected*/
-               /* Lets use this as per Nyx, Thanks Nyx! */
-               /* For previews we ignore the turbo option for the first pass of two since we only use 1 pass */
                job->fastfirstpass = 0;
-               hb_job_set_advanced_opts(job, [[fAdvancedOptions optionsString] UTF8String] );
+        
+        // we are none on the x264 preset slider so use the advanced options panel
+        //if ([fX264PresetsSlider intValue] == 0)
+        if ([fx264UseAdvancedOptionsCheck state])
+        {
+            hb_job_set_advanced_opts(job, [[fAdvancedOptions optionsString] UTF8String] );
+        }
+        else
+        {
+            // we are using x264 presets
+            // so we set the presets, and tune etc according to the widgets
+            [self x264PresetsSetJobVariables:nil];
+            
+        }
     }
     else if( job->vcodec & HB_VCODEC_FFMPEG_MASK )
     {
@@ -3721,7 +3776,22 @@ bool one_burned = FALSE;
                {
                        job->fastfirstpass = 0;
                }
-        hb_job_set_advanced_opts( job, [[queueToApply objectForKey:@"x264Option"] UTF8String] );
+        
+        /* Here we pass the x264 preset, profile, tune, level to libhb or the advanced string */
+        // First make sure we are not on the first tickmark for preset which does not use x264 presets
+        if([queueToApply objectForKey:@"x264Preset"])
+        {
+            hb_job_set_x264_preset(job, [[queueToApply objectForKey:@"x264Preset"]UTF8String] );
+            // Note we do not have to append fast decode here to tune because it was already done in preparing the queue file item
+            hb_job_set_x264_tune (job, [[queueToApply objectForKey:@"x264Tune"]UTF8String] );
+            hb_job_set_x264_profile(job, [[queueToApply objectForKey:@"x264Profile"]UTF8String] );
+            hb_job_set_x264_level(job, [[queueToApply objectForKey:@"x264Level"]UTF8String] );
+            hb_job_set_advanced_opts( job, [[queueToApply objectForKey:@"x264AdditionalOptions"] UTF8String] );
+        }
+        else
+        {
+            hb_job_set_advanced_opts( job, [[queueToApply objectForKey:@"x264Option"] UTF8String] );
+        }
     }
     else if( job->vcodec & HB_VCODEC_FFMPEG_MASK )
     {
@@ -4905,15 +4975,20 @@ the user is using "Custom" settings by determining the sender*/
     int videoEncoder = [[fVidEncoderPopUp selectedItem] tag];
     
     [fAdvancedOptions setHidden:YES];
-    /* If we are using x264 then show the x264 advanced panel */
+    /* If we are using x264 then show the x264 advanced panel and the x264 presets box */
     if (videoEncoder == HB_VCODEC_X264)
     {
         [fAdvancedOptions setHidden:NO];
+        
+        // show the x264 presets box
+        [fX264PresetsBox setHidden:NO];
+                
         [self autoSetM4vExtension: sender];
     }
     else // we are FFmpeg (lavc) or Theora
     {
         [fAdvancedOptions setHidden:YES];
+        [fX264PresetsBox setHidden:YES];
         
         // We Are Lavc
         if ([[fVidEncoderPopUp selectedItem] tag] & HB_VCODEC_FFMPEG_MASK)
@@ -4922,7 +4997,7 @@ the user is using "Custom" settings by determining the sender*/
         }
         else /// We are Theora
         {
-          [fAdvancedOptions setLavcOptsEnabled:NO];  
+            [fAdvancedOptions setLavcOptsEnabled:NO];  
         }
     }
 
@@ -5085,6 +5160,7 @@ the user is using "Custom" settings by determining the sender*/
 
 - (IBAction) qualitySliderChanged: (id) sender
 {
+    
     /* Our constant quality slider is in a range based
      * on each encoders qp/rf values. The range depends
      * on the encoder. Also, the range is inverse of quality
@@ -5118,6 +5194,7 @@ the user is using "Custom" settings by determining the sender*/
     [self customSettingUsed: sender];
 }
 
+
 - (void) controlTextDidChange: (NSNotification *) notification
 {
     [self calculateBitrate:nil];
@@ -5151,6 +5228,249 @@ the user is using "Custom" settings by determining the sender*/
        
 }
 
+#pragma mark -
+#pragma mark - Video x264 Presets
+
+- (IBAction) setupX264PresetsWidgets: (id) sender
+{
+    //now we populate the x264 opts widgets via hb_x264_presets(), 
+    //hb_x264_tunes(), hb_x264_profiles(), hb_h264_levels()
+    
+    const char * const* x264_presets = hb_x264_presets();
+    
+    // Presets Slider
+    
+    [fX264PresetsSlider setMinValue:0.0];
+    
+    int i;
+    int presetsCount = 0;
+    for (i = 0; x264_presets[i] != NULL; i++)
+    { 
+        presetsCount++;
+    }
+    float presetsSliderMaxvalue = i;
+    [fX264PresetsSlider setMaxValue: presetsSliderMaxvalue - 1 ];
+    
+    [fX264PresetsSlider setNumberOfTickMarks: i];
+    
+    // Tune popup
+    [fX264TunePopUp removeAllItems];
+    // we add a dummy "none" label to the tune popup
+    [fX264TunePopUp addItemWithTitle: @"none"];
+    const char * const* x264_tunes = hb_x264_tunes();
+    for (int i = 0; x264_tunes[i] != NULL; i++)
+    { 
+        // we filter out the "fastdecode" x264 tune as we add it appended to the rest of the tunes
+        // via our fastdecode checkbox
+        if (![[NSString stringWithFormat: @"%s",x264_tunes[i]] isEqualToString: @"fastdecode"])
+        {
+            [fX264TunePopUp addItemWithTitle: [NSString stringWithFormat: @"%s",x264_tunes[i]]];
+        }
+    }
+    
+    // Fast Decode checkbox is by default off fwiw.
+    [fX264FastDecodeCheck setState: NSOffState];
+    
+    // Profile popup
+    [fX264ProfilePopUp removeAllItems];
+    // we add a dummy "auto" to the profile popup
+    [fX264ProfilePopUp addItemWithTitle: @"auto"];
+    const char * const* x264_profiles = hb_x264_profiles();
+    for (int i = 0; x264_profiles[i] != NULL; i++)
+    { 
+        [fX264ProfilePopUp addItemWithTitle: [NSString stringWithFormat: @"%s",x264_profiles[i]]];
+    }
+    
+    // Level popup
+    [fX264LevelPopUp removeAllItems];
+    // we add a dummy "auto" to the level popup
+    [fX264LevelPopUp addItemWithTitle: @"auto"];
+    const char * const* x264_levels = hb_h264_levels();
+    for (int i = 0; x264_levels[i] != NULL; i++)
+    { 
+        [fX264LevelPopUp addItemWithTitle: [NSString stringWithFormat: @"%s",x264_levels[i]]];
+    }
+    
+    // set clear the additional options
+    [fDisplayX264PresetsAdditonalOptionsTextField setStringValue:@""];
+    
+    // Call x264PresetsSliderChanged to set the slider values
+    [self x264PresetsSliderChanged: sender];
+    
+}
+
+- (IBAction) enableX264PresetWidgets: (id) sender
+{
+    bool b;
+    // we are advanced opts panel ...
+    if ([fx264UseAdvancedOptionsCheck state] == NSOnState)
+    {
+        b = 0; 
+        [fAdvancedOptions enableUI:YES];
+    }
+    else
+    {
+        b = 1;
+        [fAdvancedOptions enableUI:NO];
+    }
+    
+    NSControl * controls[] =
+    {
+        fX264TunePopUp,
+        fX264TunePopUpLabel,
+        fX264ProfilePopUp,
+        fX264ProfilePopUpLabel,
+        fX264LevelPopUp,
+        fX264LevelPopUpLabel,
+        fX264FastDecodeCheck,
+        fDisplayX264PresetsAdditonalOptionsTextField,
+        fDisplayX264PresetsAdditonalOptionsLabel,fX264PresetsSlider,
+        fX264PresetsSlider,fX264PresetSliderLabel,fX264PresetSelectedTextField,
+        fDisplayX264PresetsUnparseTextField
+    };
+    
+    for( unsigned i = 0;
+        i < sizeof( controls ) / sizeof( NSControl * ); i++ )
+    {
+        if( [[controls[i] className] isEqualToString: @"NSTextField"] )
+        {
+            NSTextField * tf = (NSTextField *) controls[i];
+            if( ![tf isBezeled] )
+            {
+                [tf setTextColor: b ? [NSColor controlTextColor] :
+                 [NSColor disabledControlTextColor]];
+                continue;
+            }
+        }
+        [controls[i] setEnabled: b];
+        
+    }
+}
+
+
+- (IBAction) x264PresetsSliderChanged: (id) sender
+{ 
+    
+    // Walk the array of x264 presets and insert the name of the preset
+    // at each of the stops in fX264PresetSelectedTextField for display.
+    int chosenX264PresetIndex = [fX264PresetsSlider intValue];
+    const char * const* x264_presets = hb_x264_presets();
+    for (int i = 0; x264_presets[i] != NULL; i++)
+    {
+        if (chosenX264PresetIndex == i)
+        {
+            [fX264PresetSelectedTextField setStringValue: [NSString stringWithFormat: @"%s",x264_presets[i]]];
+        }
+    }
+    
+    [self x264PresetsChangedDisplayExpandedOptions:nil]; 
+    
+}
+
+/* This is called everytime a x264 widget in the video tab is changed to 
+   display the expanded options in a text field via outlet fDisplayX264PresetsUnparseTextField
+ */
+- (IBAction) x264PresetsChangedDisplayExpandedOptions: (id) sender
+
+{ 
+    
+    // first we clear whatever is in fDisplayX264PresetsUnparseTextField
+    [fDisplayX264PresetsUnparseTextField setStringValue:@""];
+    
+    // try to get our unparse from the widgets
+    
+   /* char * hb_x264_param_unparse(const char *x264_preset,  
+                                 const char *x264_tune,
+                                 const char *x264_encopts,
+                                 const char *x264_profile,
+                                 const char *h264_level,
+                                 int width,
+                                 int height);
+    */
+    
+    /* We need to create a wrapper to take care of appending fastdecode to tune if Fast Decode is checked */
+    NSString * preset = [fX264PresetSelectedTextField stringValue];
+    NSString * tune = [fX264TunePopUp titleOfSelectedItem];
+    NSString * profile = [fX264ProfilePopUp titleOfSelectedItem];
+    NSString * level = [fX264LevelPopUp titleOfSelectedItem];
+    //Parse out default labels from the popups
+    if ([fX264TunePopUp indexOfSelectedItem] == 0)
+    {
+        if ([fX264FastDecodeCheck state] == NSOnState)
+        {
+            tune = @"fastdecode";
+        }
+        else
+        {
+            tune = NULL;
+        }
+    }
+    else
+    {
+        if ([fX264FastDecodeCheck state] == NSOnState)
+        {
+            tune = [tune stringByAppendingString:@",fastdecode"];  
+        }
+    }
+    
+    if ([fX264ProfilePopUp indexOfSelectedItem] == 0)
+    {
+        profile = NULL;  
+    }
+    
+    if ([fX264LevelPopUp indexOfSelectedItem] == 0)
+    {
+        level = NULL;  
+    }
+    
+    /* note we feed hb_x264_param_unparse for now bogus width and height value as per Rodeo, here we use 1280 x 720 */
+    char *unparsed_string = hb_x264_param_unparse([[fX264PresetSelectedTextField stringValue] UTF8String], [tune UTF8String], [[fDisplayX264PresetsAdditonalOptionsTextField stringValue] UTF8String], [profile UTF8String], [level UTF8String], 1280, 720);
+    
+    [fDisplayX264PresetsUnparseTextField setStringValue: [NSString stringWithFormat:@"x264 Unparse: %s", unparsed_string]];
+    
+}
+
+
+- (IBAction) x264PresetsSetJobVariables: (id) sender
+
+{
+
+        hb_list_t  * list  = hb_get_titles( fHandle );
+        hb_title_t * title = (hb_title_t *) hb_list_item( list,
+                                                         [fSrcTitlePopUp indexOfSelectedItem] );
+        hb_job_t * job = title->job;
+        
+        hb_job_set_x264_preset(job, [[fX264PresetSelectedTextField stringValue]UTF8String] );
+        
+        // Make sure we are not ignoring the setting, for Tune its "none" but index 0
+        if ([fX264TunePopUp indexOfSelectedItem] != 0)
+        {
+            // we check to see if fastdecode is checked and if so we append it to the tune as so...
+            if ([fX264FastDecodeCheck state] == NSOnState)
+            {
+                hb_job_set_x264_tune (job,  [[NSString stringWithFormat:@"%@,%@", [fX264TunePopUp titleOfSelectedItem], @"fastdecode"] UTF8String] );
+                
+            }
+            else
+            {
+                hb_job_set_x264_tune (job, [[fX264TunePopUp titleOfSelectedItem]UTF8String] );   
+            }
+        }
+        // Make sure we are not ignoring the setting, for Profile its "auto" but index 0
+        if ([fX264ProfilePopUp indexOfSelectedItem] != 0)
+        {
+            hb_job_set_x264_profile(job, [[fX264ProfilePopUp titleOfSelectedItem]UTF8String] );
+        }
+        // Make sure we are not ignoring the setting, for Level its "auto" but index 0
+        if ([fX264LevelPopUp indexOfSelectedItem] != 0)
+        {
+            hb_job_set_x264_level(job, [[fX264LevelPopUp titleOfSelectedItem]UTF8String] );
+        }
+        
+        hb_job_set_advanced_opts(job, [[fDisplayX264PresetsAdditonalOptionsTextField stringValue] UTF8String] );
+        
+}
+
 #pragma mark -
 #pragma mark - Picture
 
@@ -5818,15 +6138,109 @@ return YES;
         /* Video encoder */
         [fVidEncoderPopUp selectItemWithTitle:[chosenPreset objectForKey:@"VideoEncoder"]];
         [self videoEncoderPopUpChanged:nil];
-        /* We set the advanced opt string here if applicable*/
-        if ([chosenPreset objectForKey:@"x264Option"])
-        {
-            [fAdvancedOptions setOptions:[chosenPreset objectForKey:@"x264Option"]];
-        }
-        else
+        
+        if ([[chosenPreset objectForKey:@"VideoEncoder"] isEqualToString:@"H.264 (x264)"])
         {
-            [fAdvancedOptions setOptions:@""];   
+            /* First we see if we are using the x264 presets in the video tab
+             We check to see if there is not a x264UseAdvancedOptions key which will tell
+             us not to use the advanced opts tab, but then we also want to check for a x264Preset
+             key as that would rule out a vestigial custom hb preset as well (since an older pre-x264Preset
+             in HB would not have this key and then go back to using the Advanced Panel).
+             */
+            if (![chosenPreset objectForKey:@"x264UseAdvancedOptions"] && [chosenPreset objectForKey:@"x264Preset"])
+            {
+                /* Set the fx264UseAdvancedOptionsCheck */
+                [fx264UseAdvancedOptionsCheck setState: NSOffState];
+                [self setupX264PresetsWidgets: nil];
+                [self enableX264PresetWidgets: nil];
+                
+                /* Set the x264 preset slider */
+                
+                const char * const* x264_presets = hb_x264_presets();
+                for (int i = 0; x264_presets[i] != NULL; i++)
+                {
+                    if ([[chosenPreset objectForKey:@"x264Preset"] isEqualToString: [NSString stringWithFormat: @"%s",x264_presets[i]]])
+                    {
+                        [fX264PresetsSlider setFloatValue: i];
+                        [self x264PresetsSliderChanged:nil];
+                    }
+                }
+                
+                /* x264 tune */
+                if (![[chosenPreset objectForKey:@"x264Tune"] isEqualToString: @""])
+                {
+                    [fX264TunePopUp selectItemWithTitle:[chosenPreset objectForKey:@"x264Tune"]];
+                }
+                else
+                {
+                    /* if the preset does not specify use index 0 */
+                    [fX264TunePopUp selectItemAtIndex:0];
+                }
+                
+                /* Fast Decode checkbox*/
+                if ([chosenPreset objectForKey:@"x264FastDecode"])
+                {
+                    [fX264FastDecodeCheck setState: [[chosenPreset objectForKey:@"x264FastDecode"] intValue]];
+                }
+                else
+                {
+                    [fX264FastDecodeCheck setState: NSOffState];   
+                }
+                
+                /* x264 Profile */
+                if (![[chosenPreset objectForKey:@"h264Profile"] isEqualToString: @""])
+                {
+                    [fX264ProfilePopUp selectItemWithTitle:[chosenPreset objectForKey:@"h264Profile"]];
+                }
+                else
+                {
+                    /* if the preset does not specify use index 0 */
+                    [fX264ProfilePopUp selectItemAtIndex:0];   
+                }
+                
+                /* x264 Level */
+                if (![[chosenPreset objectForKey:@"h264Level"] isEqualToString: @""])
+                {
+                    [fX264LevelPopUp selectItemWithTitle:[chosenPreset objectForKey:@"h264Level"]];
+                }
+                else
+                {
+                    [fX264LevelPopUp selectItemAtIndex:0];   
+                }
+                
+                /* We set the advanced opt string here if applicable*/
+                if ([chosenPreset objectForKey:@"x264Option"])
+                {
+                    [fDisplayX264PresetsAdditonalOptionsTextField setStringValue:[chosenPreset objectForKey:@"x264Option"]];
+                }
+                else
+                {
+                    [fDisplayX264PresetsAdditonalOptionsTextField setStringValue:@""];   
+                }
+                
+            [self x264PresetsChangedDisplayExpandedOptions:nil];
+            }
+            else
+            {
+                /* we are advanced panel so we reset all of the x264 widgets */
+                /* Set the slider to float 0.0 which will trigger the advanced panel */
+                [fx264UseAdvancedOptionsCheck setState: NSOnState];
+                [self setupX264PresetsWidgets: nil];
+                [self enableX264PresetWidgets: nil];
+                
+                /* We set the advanced opt string here if applicable*/
+                if ([chosenPreset objectForKey:@"x264Option"])
+                {
+                    [fAdvancedOptions setOptions:[chosenPreset objectForKey:@"x264Option"]];
+                }
+                else
+                {
+                    [fAdvancedOptions setOptions:@""];   
+                }
+            }
+            
         }
+        
         if ([chosenPreset objectForKey:@"lavcOption"])
         {
             [fAdvancedOptions setLavcOptions:[chosenPreset objectForKey:@"lavcOption"]];
@@ -6425,8 +6839,54 @@ return YES;
         /* Codecs */
         /* Video encoder */
         [preset setObject:[fVidEncoderPopUp titleOfSelectedItem] forKey:@"VideoEncoder"];
-        /* x264 Option String */
-        [preset setObject:[fAdvancedOptions optionsString] forKey:@"x264Option"];
+        /* x264 Options, this will either be advanced panel or the video tabs x264 presets panel with modded option string */
+        
+        // first lets check the extra left mark which is our custom/none setting in which case we use the advanced panel.
+        // Otherwise we use the x264 presets in the video tab.
+        if ([fX264PresetsSlider intValue] == 0)
+        {
+            /* x264 Advanced Panel Option String */
+            [preset setObject:[fAdvancedOptions optionsString] forKey:@"x264Option"];
+        }
+        else
+        {
+            /* if we are not using the full advanced panel custom string then we go to the video panel x264 presets
+             tab.
+             */
+            
+            // First we get the x264 preset:
+            // Set the x264 Preset
+            [preset setObject:[fX264PresetSelectedTextField stringValue] forKey:@"x264Preset"];
+            
+            // Set tune but observe the fast decode checkbox to append fastdecode to the tune:
+            
+            // NOTE TO ME, Check for utf8 string Here though we should be sanitizing it in -presetSelected !!!!!!!!!!
+            if ([fX264TunePopUp indexOfSelectedItem] != 0)
+            {            // we check to see if fastdecode is checked and if so we append it to the tune as so...
+                [preset setObject: [fX264TunePopUp titleOfSelectedItem] forKey:@"x264Tune"];
+                
+                // Now check to see if we are using Fast Decode  ...
+                [preset setObject: [NSNumber numberWithInt:[fX264FastDecodeCheck state]] forKey:@"x264FastDecode"];
+            }
+            
+            // Make sure we are not ignoring the setting, for Profile its "auto" but index 0
+            if ([fX264ProfilePopUp indexOfSelectedItem] != 0)
+            {
+                [preset setObject:[fX264ProfilePopUp titleOfSelectedItem] forKey:@"x264Profile"];
+            }
+            
+            // Make sure we are not ignoring the setting, for Level its "auto" but index 0
+            if ([fX264LevelPopUp indexOfSelectedItem] != 0)
+            {
+                [preset setObject:[fX264LevelPopUp titleOfSelectedItem] forKey:@"x264Level"];
+            } 
+            
+            // we set the x264Option advanced option key to string from fDisplayX264PresetsAdditonalOptionsTextField
+            
+            [preset setObject:[fDisplayX264PresetsAdditonalOptionsTextField stringValue] forKey:@"x264Option"];
+            
+        }
+
         /* FFmpeg (lavc) Option String */
         [preset setObject:[fAdvancedOptions optionsStringLavc] forKey:@"lavcOption"];
         
index 7ab1be7d34f3947717a4c8fad629fea59a5556ed..3fb52afdf648be6a150747a01a2b3eb22f219e47 100644 (file)
@@ -2,10 +2,10 @@
 <archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
        <data>
                <int key="IBDocument.SystemTarget">1050</int>
-               <string key="IBDocument.SystemVersion">11C74</string>
+               <string key="IBDocument.SystemVersion">11G63</string>
                <string key="IBDocument.InterfaceBuilderVersion">1938</string>
-               <string key="IBDocument.AppKitVersion">1138.23</string>
-               <string key="IBDocument.HIToolboxVersion">567.00</string>
+               <string key="IBDocument.AppKitVersion">1138.51</string>
+               <string key="IBDocument.HIToolboxVersion">569.00</string>
                <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
                        <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
                        <string key="NS.object.0">1938</string>
                                                        <string key="NSFrame">{{18, -26}, {930, 20}}</string>
                                                        <reference key="NSSuperview" ref="168918359"/>
                                                        <reference key="NSWindow"/>
+                                                       <reference key="NSNextKeyView"/>
                                                        <int key="NSpiFlags">16396</int>
                                                        <double key="NSMaxValue">100</double>
                                                </object>
                                                        <string key="NSFrame">{{13, 28}, {940, 343}}</string>
                                                        <reference key="NSSuperview" ref="168918359"/>
                                                        <reference key="NSWindow"/>
+                                                       <reference key="NSNextKeyView" ref="1053078401"/>
                                                        <object class="NSMutableArray" key="NSTabViewItems">
                                                                <bool key="EncodedWithXMLCoder">YES</bool>
                                                                <object class="NSTabViewItem" id="107038816">
                                                                        <string key="NSIdentifier">1</string>
                                                                        <object class="NSView" key="NSView" id="1053078401">
-                                                                               <nil key="NSNextResponder"/>
+                                                                               <reference key="NSNextResponder" ref="712502892"/>
                                                                                <int key="NSvFlags">256</int>
                                                                                <object class="NSMutableArray" key="NSSubviews">
                                                                                        <bool key="EncodedWithXMLCoder">YES</bool>
                                                                                        <object class="NSTextField" id="521019277">
                                                                                                <reference key="NSNextResponder" ref="1053078401"/>
                                                                                                <int key="NSvFlags">256</int>
-                                                                                               <string key="NSFrame">{{14, 205}, {94, 19}}</string>
+                                                                                               <string key="NSFrame">{{14, 247}, {94, 19}}</string>
                                                                                                <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="888819828"/>
                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                <object class="NSTextFieldCell" key="NSCell" id="200565868">
                                                                                                        <int key="NSCellFlags">67239424</int>
                                                                                        <object class="NSTextField" id="783405221">
                                                                                                <reference key="NSNextResponder" ref="1053078401"/>
                                                                                                <int key="NSvFlags">256</int>
-                                                                                               <string key="NSFrame">{{170, 166}, {84, 19}}</string>
+                                                                                               <string key="NSFrame">{{170, 209}, {84, 19}}</string>
                                                                                                <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="1000247853"/>
                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                <object class="NSTextFieldCell" key="NSCell" id="351953267">
                                                                                                        <int key="NSCellFlags">-1804468671</int>
                                                                                        <object class="NSSlider" id="239657287">
                                                                                                <reference key="NSNextResponder" ref="1053078401"/>
                                                                                                <int key="NSvFlags">256</int>
-                                                                                               <string key="NSFrame">{{281, 186}, {622, 16}}</string>
+                                                                                               <string key="NSFrame">{{281, 229}, {622, 16}}</string>
                                                                                                <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="783405221"/>
                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                <object class="NSSliderCell" key="NSCell" id="160453387">
                                                                                                        <int key="NSCellFlags">67501824</int>
                                                                                        <object class="NSTextField" id="987137669">
                                                                                                <reference key="NSNextResponder" ref="1053078401"/>
                                                                                                <int key="NSvFlags">256</int>
-                                                                                               <string key="NSFrame">{{14, 63}, {892, 14}}</string>
+                                                                                               <string key="NSFrame">{{14, 30}, {892, 14}}</string>
                                                                                                <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="690364175"/>
                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                <object class="NSTextFieldCell" key="NSCell" id="537000521">
                                                                                                        <int key="NSCellFlags">67239424</int>
                                                                                        <object class="NSTextField" id="690304958">
                                                                                                <reference key="NSNextResponder" ref="1053078401"/>
                                                                                                <int key="NSvFlags">256</int>
-                                                                                               <string key="NSFrame">{{192, 188}, {65, 14}}</string>
+                                                                                               <string key="NSFrame">{{192, 231}, {65, 14}}</string>
                                                                                                <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="239657287"/>
                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                <object class="NSTextFieldCell" key="NSCell" id="923732752">
                                                                                                        <int key="NSCellFlags">67239424</int>
                                                                                        <object class="NSTextField" id="323705695">
                                                                                                <reference key="NSNextResponder" ref="1053078401"/>
                                                                                                <int key="NSvFlags">256</int>
-                                                                                               <string key="NSFrame">{{167, 188}, {28, 14}}</string>
+                                                                                               <string key="NSFrame">{{167, 231}, {28, 14}}</string>
                                                                                                <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="690304958"/>
                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                <object class="NSTextFieldCell" key="NSCell" id="936221726">
                                                                                                        <int key="NSCellFlags">67239424</int>
                                                                                        <object class="NSTextField" id="690364175">
                                                                                                <reference key="NSNextResponder" ref="1053078401"/>
                                                                                                <int key="NSvFlags">256</int>
-                                                                                               <string key="NSFrame">{{14, 45}, {892, 14}}</string>
+                                                                                               <string key="NSFrame">{{14, 15}, {892, 14}}</string>
                                                                                                <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="503933842"/>
                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                <object class="NSTextFieldCell" key="NSCell" id="508148739">
                                                                                                        <int key="NSCellFlags">67239424</int>
                                                                                        <object class="NSTextField" id="503933842">
                                                                                                <reference key="NSNextResponder" ref="1053078401"/>
                                                                                                <int key="NSvFlags">256</int>
-                                                                                               <string key="NSFrame">{{14, 17}, {892, 14}}</string>
+                                                                                               <string key="NSFrame">{{14, 2}, {892, 14}}</string>
                                                                                                <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="794651271"/>
                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                <object class="NSTextFieldCell" key="NSCell" id="109092334">
                                                                                                        <int key="NSCellFlags">67239424</int>
                                                                                        <object class="NSPopUpButton" id="222980245">
                                                                                                <reference key="NSNextResponder" ref="1053078401"/>
                                                                                                <int key="NSvFlags">256</int>
-                                                                                               <string key="NSFrame">{{372, 254}, {158, 22}}</string>
+                                                                                               <string key="NSFrame">{{372, 272}, {158, 22}}</string>
                                                                                                <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="521019277"/>
                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                <object class="NSPopUpButtonCell" key="NSCell" id="343952154">
                                                                                                        <int key="NSCellFlags">-2076049856</int>
                                                                                        <object class="NSButton" id="1000247853">
                                                                                                <reference key="NSNextResponder" ref="1053078401"/>
                                                                                                <int key="NSvFlags">256</int>
-                                                                                               <string key="NSFrame">{{279, 166}, {124, 18}}</string>
+                                                                                               <string key="NSFrame">{{279, 209}, {124, 18}}</string>
                                                                                                <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="447003158"/>
                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                <object class="NSButtonCell" key="NSCell" id="860863090">
                                                                                                        <int key="NSCellFlags">67239424</int>
                                                                                        <object class="NSButton" id="447003158">
                                                                                                <reference key="NSNextResponder" ref="1053078401"/>
                                                                                                <int key="NSvFlags">256</int>
-                                                                                               <string key="NSFrame">{{416, 167}, {107, 16}}</string>
+                                                                                               <string key="NSFrame">{{416, 210}, {107, 16}}</string>
                                                                                                <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="954159030"/>
                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                <object class="NSButtonCell" key="NSCell" id="1070893195">
                                                                                                        <int key="NSCellFlags">67239424</int>
                                                                                        <object class="NSPopUpButton" id="12330413">
                                                                                                <reference key="NSNextResponder" ref="1053078401"/>
                                                                                                <int key="NSvFlags">256</int>
-                                                                                               <string key="NSFrame">{{98, 254}, {149, 22}}</string>
+                                                                                               <string key="NSFrame">{{98, 272}, {149, 22}}</string>
                                                                                                <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="463960465"/>
                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                <object class="NSPopUpButtonCell" key="NSCell" id="1018849574">
                                                                                                        <int key="NSCellFlags">-2076049856</int>
                                                                                        <object class="NSTextField" id="463960465">
                                                                                                <reference key="NSNextResponder" ref="1053078401"/>
                                                                                                <int key="NSvFlags">256</int>
-                                                                                               <string key="NSFrame">{{278, 256}, {92, 17}}</string>
+                                                                                               <string key="NSFrame">{{278, 274}, {92, 17}}</string>
                                                                                                <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="222980245"/>
                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                <object class="NSTextFieldCell" key="NSCell" id="509250281">
                                                                                                        <int key="NSCellFlags">67239424</int>
                                                                                        <object class="NSTextField" id="1064150725">
                                                                                                <reference key="NSNextResponder" ref="1053078401"/>
                                                                                                <int key="NSvFlags">256</int>
-                                                                                               <string key="NSFrame">{{14, 256}, {79, 17}}</string>
+                                                                                               <string key="NSFrame">{{14, 274}, {79, 17}}</string>
                                                                                                <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="12330413"/>
                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                <object class="NSTextFieldCell" key="NSCell" id="451922400">
                                                                                                        <int key="NSCellFlags">67239424</int>
                                                                                        <object class="NSMatrix" id="1036976683">
                                                                                                <reference key="NSNextResponder" ref="1053078401"/>
                                                                                                <int key="NSvFlags">268</int>
-                                                                                               <string key="NSFrame">{{17, 166}, {145, 38}}</string>
+                                                                                               <string key="NSFrame">{{17, 209}, {145, 38}}</string>
                                                                                                <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="323705695"/>
                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                <int key="NSNumRows">2</int>
                                                                                                <int key="NSNumCols">1</int>
@@ -752,8 +784,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                        <object class="NSMatrix" id="888819828">
                                                                                                <reference key="NSNextResponder" ref="1053078401"/>
                                                                                                <int key="NSvFlags">268</int>
-                                                                                               <string key="NSFrame">{{540, 237}, {157, 38}}</string>
+                                                                                               <string key="NSFrame">{{540, 255}, {157, 38}}</string>
                                                                                                <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="1036976683"/>
                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                <int key="NSNumRows">2</int>
                                                                                                <int key="NSNumCols">1</int>
@@ -941,8 +975,487 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                <reference key="NSCellBackgroundColor" ref="809784795"/>
                                                                                                <reference key="NSFont" ref="273283760"/>
                                                                                        </object>
+                                                                                       <object class="NSBox" id="954159030">
+                                                                                               <reference key="NSNextResponder" ref="1053078401"/>
+                                                                                               <int key="NSvFlags">12</int>
+                                                                                               <object class="NSMutableArray" key="NSSubviews">
+                                                                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                                                                       <object class="NSView" id="443817184">
+                                                                                                               <reference key="NSNextResponder" ref="954159030"/>
+                                                                                                               <int key="NSvFlags">274</int>
+                                                                                                               <object class="NSMutableArray" key="NSSubviews">
+                                                                                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                                                                                       <object class="NSSlider" id="480823072">
+                                                                                                                               <reference key="NSNextResponder" ref="443817184"/>
+                                                                                                                               <int key="NSvFlags">268</int>
+                                                                                                                               <string key="NSFrame">{{212, 105}, {660, 16}}</string>
+                                                                                                                               <reference key="NSSuperview" ref="443817184"/>
+                                                                                                                               <reference key="NSWindow"/>
+                                                                                                                               <reference key="NSNextKeyView" ref="1031662534"/>
+                                                                                                                               <string key="NSReuseIdentifierKey">_NS:779</string>
+                                                                                                                               <bool key="NSEnabled">YES</bool>
+                                                                                                                               <object class="NSSliderCell" key="NSCell" id="690637620">
+                                                                                                                                       <int key="NSCellFlags">-2079981824</int>
+                                                                                                                                       <int key="NSCellFlags2">262144</int>
+                                                                                                                                       <string key="NSContents"/>
+                                                                                                                                       <string key="NSCellIdentifier">_NS:779</string>
+                                                                                                                                       <reference key="NSControlView" ref="480823072"/>
+                                                                                                                                       <double key="NSMaxValue">5</double>
+                                                                                                                                       <double key="NSMinValue">0.0</double>
+                                                                                                                                       <double key="NSValue">0.0</double>
+                                                                                                                                       <double key="NSAltIncValue">0.0</double>
+                                                                                                                                       <int key="NSNumberOfTickMarks">2</int>
+                                                                                                                                       <int key="NSTickMarkPosition">1</int>
+                                                                                                                                       <bool key="NSAllowsTickMarkValuesOnly">YES</bool>
+                                                                                                                                       <bool key="NSVertical">NO</bool>
+                                                                                                                               </object>
+                                                                                                                       </object>
+                                                                                                                       <object class="NSTextField" id="139432403">
+                                                                                                                               <reference key="NSNextResponder" ref="443817184"/>
+                                                                                                                               <int key="NSvFlags">256</int>
+                                                                                                                               <string key="NSFrame">{{15, 107}, {79, 13}}</string>
+                                                                                                                               <reference key="NSSuperview" ref="443817184"/>
+                                                                                                                               <reference key="NSWindow"/>
+                                                                                                                               <reference key="NSNextKeyView" ref="527737261"/>
+                                                                                                                               <bool key="NSEnabled">YES</bool>
+                                                                                                                               <object class="NSTextFieldCell" key="NSCell" id="367754591">
+                                                                                                                                       <int key="NSCellFlags">67239424</int>
+                                                                                                                                       <int key="NSCellFlags2">71303168</int>
+                                                                                                                                       <string key="NSContents">x264 Preset:</string>
+                                                                                                                                       <reference key="NSSupport" ref="26"/>
+                                                                                                                                       <reference key="NSControlView" ref="139432403"/>
+                                                                                                                                       <reference key="NSBackgroundColor" ref="242973447"/>
+                                                                                                                                       <reference key="NSTextColor" ref="701609070"/>
+                                                                                                                               </object>
+                                                                                                                       </object>
+                                                                                                                       <object class="NSTextField" id="1031662534">
+                                                                                                                               <reference key="NSNextResponder" ref="443817184"/>
+                                                                                                                               <int key="NSvFlags">256</int>
+                                                                                                                               <string key="NSFrame">{{15, 86}, {79, 13}}</string>
+                                                                                                                               <reference key="NSSuperview" ref="443817184"/>
+                                                                                                                               <reference key="NSWindow"/>
+                                                                                                                               <reference key="NSNextKeyView" ref="610425389"/>
+                                                                                                                               <bool key="NSEnabled">YES</bool>
+                                                                                                                               <object class="NSTextFieldCell" key="NSCell" id="444043003">
+                                                                                                                                       <int key="NSCellFlags">67239424</int>
+                                                                                                                                       <int key="NSCellFlags2">71303168</int>
+                                                                                                                                       <string key="NSContents">x264 Tune:</string>
+                                                                                                                                       <reference key="NSSupport" ref="26"/>
+                                                                                                                                       <reference key="NSControlView" ref="1031662534"/>
+                                                                                                                                       <reference key="NSBackgroundColor" ref="242973447"/>
+                                                                                                                                       <reference key="NSTextColor" ref="701609070"/>
+                                                                                                                               </object>
+                                                                                                                       </object>
+                                                                                                                       <object class="NSTextField" id="102651997">
+                                                                                                                               <reference key="NSNextResponder" ref="443817184"/>
+                                                                                                                               <int key="NSvFlags">256</int>
+                                                                                                                               <string key="NSFrame">{{15, 65}, {79, 13}}</string>
+                                                                                                                               <reference key="NSSuperview" ref="443817184"/>
+                                                                                                                               <reference key="NSWindow"/>
+                                                                                                                               <reference key="NSNextKeyView" ref="112458239"/>
+                                                                                                                               <bool key="NSEnabled">YES</bool>
+                                                                                                                               <object class="NSTextFieldCell" key="NSCell" id="858212432">
+                                                                                                                                       <int key="NSCellFlags">67239424</int>
+                                                                                                                                       <int key="NSCellFlags2">71303168</int>
+                                                                                                                                       <string key="NSContents">x264 Profile:</string>
+                                                                                                                                       <reference key="NSSupport" ref="26"/>
+                                                                                                                                       <reference key="NSControlView" ref="102651997"/>
+                                                                                                                                       <reference key="NSBackgroundColor" ref="242973447"/>
+                                                                                                                                       <reference key="NSTextColor" ref="701609070"/>
+                                                                                                                               </object>
+                                                                                                                       </object>
+                                                                                                                       <object class="NSTextField" id="8023338">
+                                                                                                                               <reference key="NSNextResponder" ref="443817184"/>
+                                                                                                                               <int key="NSvFlags">256</int>
+                                                                                                                               <string key="NSFrame">{{15, 43}, {79, 13}}</string>
+                                                                                                                               <reference key="NSSuperview" ref="443817184"/>
+                                                                                                                               <reference key="NSWindow"/>
+                                                                                                                               <reference key="NSNextKeyView" ref="144142005"/>
+                                                                                                                               <bool key="NSEnabled">YES</bool>
+                                                                                                                               <object class="NSTextFieldCell" key="NSCell" id="248169798">
+                                                                                                                                       <int key="NSCellFlags">67239424</int>
+                                                                                                                                       <int key="NSCellFlags2">71303168</int>
+                                                                                                                                       <string key="NSContents">x264 Level:</string>
+                                                                                                                                       <reference key="NSSupport" ref="26"/>
+                                                                                                                                       <reference key="NSControlView" ref="8023338"/>
+                                                                                                                                       <reference key="NSBackgroundColor" ref="242973447"/>
+                                                                                                                                       <reference key="NSTextColor" ref="701609070"/>
+                                                                                                                               </object>
+                                                                                                                       </object>
+                                                                                                                       <object class="NSPopUpButton" id="610425389">
+                                                                                                                               <reference key="NSNextResponder" ref="443817184"/>
+                                                                                                                               <int key="NSvFlags">268</int>
+                                                                                                                               <string key="NSFrame">{{98, 84}, {126, 15}}</string>
+                                                                                                                               <reference key="NSSuperview" ref="443817184"/>
+                                                                                                                               <reference key="NSWindow"/>
+                                                                                                                               <reference key="NSNextKeyView" ref="884471415"/>
+                                                                                                                               <string key="NSReuseIdentifierKey">_NS:868</string>
+                                                                                                                               <bool key="NSEnabled">YES</bool>
+                                                                                                                               <object class="NSPopUpButtonCell" key="NSCell" id="1050851477">
+                                                                                                                                       <int key="NSCellFlags">-2076049856</int>
+                                                                                                                                       <int key="NSCellFlags2">264192</int>
+                                                                                                                                       <reference key="NSSupport" ref="22"/>
+                                                                                                                                       <string key="NSCellIdentifier">_NS:868</string>
+                                                                                                                                       <reference key="NSControlView" ref="610425389"/>
+                                                                                                                                       <int key="NSButtonFlags">109199615</int>
+                                                                                                                                       <int key="NSButtonFlags2">129</int>
+                                                                                                                                       <string key="NSAlternateContents"/>
+                                                                                                                                       <string key="NSKeyEquivalent"/>
+                                                                                                                                       <int key="NSPeriodicDelay">400</int>
+                                                                                                                                       <int key="NSPeriodicInterval">75</int>
+                                                                                                                                       <object class="NSMenuItem" key="NSMenuItem" id="791223578">
+                                                                                                                                               <reference key="NSMenu" ref="353982019"/>
+                                                                                                                                               <string key="NSTitle">Item 1</string>
+                                                                                                                                               <string key="NSKeyEquiv"/>
+                                                                                                                                               <int key="NSKeyEquivModMask">1048576</int>
+                                                                                                                                               <int key="NSMnemonicLoc">2147483647</int>
+                                                                                                                                               <int key="NSState">1</int>
+                                                                                                                                               <reference key="NSOnImage" ref="447995298"/>
+                                                                                                                                               <reference key="NSMixedImage" ref="760317610"/>
+                                                                                                                                               <string key="NSAction">_popUpItemAction:</string>
+                                                                                                                                               <reference key="NSTarget" ref="1050851477"/>
+                                                                                                                                       </object>
+                                                                                                                                       <bool key="NSMenuItemRespectAlignment">YES</bool>
+                                                                                                                                       <object class="NSMenu" key="NSMenu" id="353982019">
+                                                                                                                                               <string key="NSTitle">OtherViews</string>
+                                                                                                                                               <object class="NSMutableArray" key="NSMenuItems">
+                                                                                                                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                                                                                                                       <reference ref="791223578"/>
+                                                                                                                                                       <object class="NSMenuItem" id="645526467">
+                                                                                                                                                               <reference key="NSMenu" ref="353982019"/>
+                                                                                                                                                               <string key="NSTitle">Item 2</string>
+                                                                                                                                                               <string key="NSKeyEquiv"/>
+                                                                                                                                                               <int key="NSKeyEquivModMask">1048576</int>
+                                                                                                                                                               <int key="NSMnemonicLoc">2147483647</int>
+                                                                                                                                                               <reference key="NSOnImage" ref="447995298"/>
+                                                                                                                                                               <reference key="NSMixedImage" ref="760317610"/>
+                                                                                                                                                               <string key="NSAction">_popUpItemAction:</string>
+                                                                                                                                                               <reference key="NSTarget" ref="1050851477"/>
+                                                                                                                                                       </object>
+                                                                                                                                                       <object class="NSMenuItem" id="1035566125">
+                                                                                                                                                               <reference key="NSMenu" ref="353982019"/>
+                                                                                                                                                               <string key="NSTitle">Item 3</string>
+                                                                                                                                                               <string key="NSKeyEquiv"/>
+                                                                                                                                                               <int key="NSKeyEquivModMask">1048576</int>
+                                                                                                                                                               <int key="NSMnemonicLoc">2147483647</int>
+                                                                                                                                                               <reference key="NSOnImage" ref="447995298"/>
+                                                                                                                                                               <reference key="NSMixedImage" ref="760317610"/>
+                                                                                                                                                               <string key="NSAction">_popUpItemAction:</string>
+                                                                                                                                                               <reference key="NSTarget" ref="1050851477"/>
+                                                                                                                                                       </object>
+                                                                                                                                               </object>
+                                                                                                                                               <reference key="NSMenuFont" ref="273283760"/>
+                                                                                                                                       </object>
+                                                                                                                                       <int key="NSPreferredEdge">3</int>
+                                                                                                                                       <bool key="NSUsesItemFromMenu">YES</bool>
+                                                                                                                                       <bool key="NSAltersState">YES</bool>
+                                                                                                                                       <int key="NSArrowPosition">1</int>
+                                                                                                                               </object>
+                                                                                                                       </object>
+                                                                                                                       <object class="NSPopUpButton" id="112458239">
+                                                                                                                               <reference key="NSNextResponder" ref="443817184"/>
+                                                                                                                               <int key="NSvFlags">268</int>
+                                                                                                                               <string key="NSFrame">{{98, 63}, {126, 15}}</string>
+                                                                                                                               <reference key="NSSuperview" ref="443817184"/>
+                                                                                                                               <reference key="NSWindow"/>
+                                                                                                                               <reference key="NSNextKeyView" ref="796460997"/>
+                                                                                                                               <string key="NSReuseIdentifierKey">_NS:868</string>
+                                                                                                                               <bool key="NSEnabled">YES</bool>
+                                                                                                                               <object class="NSPopUpButtonCell" key="NSCell" id="1012707648">
+                                                                                                                                       <int key="NSCellFlags">-2076049856</int>
+                                                                                                                                       <int key="NSCellFlags2">264192</int>
+                                                                                                                                       <reference key="NSSupport" ref="22"/>
+                                                                                                                                       <string key="NSCellIdentifier">_NS:868</string>
+                                                                                                                                       <reference key="NSControlView" ref="112458239"/>
+                                                                                                                                       <int key="NSButtonFlags">109199615</int>
+                                                                                                                                       <int key="NSButtonFlags2">129</int>
+                                                                                                                                       <string key="NSAlternateContents"/>
+                                                                                                                                       <string key="NSKeyEquivalent"/>
+                                                                                                                                       <int key="NSPeriodicDelay">400</int>
+                                                                                                                                       <int key="NSPeriodicInterval">75</int>
+                                                                                                                                       <object class="NSMenuItem" key="NSMenuItem" id="56675133">
+                                                                                                                                               <reference key="NSMenu" ref="349551230"/>
+                                                                                                                                               <string key="NSTitle">Item 1</string>
+                                                                                                                                               <string key="NSKeyEquiv"/>
+                                                                                                                                               <int key="NSKeyEquivModMask">1048576</int>
+                                                                                                                                               <int key="NSMnemonicLoc">2147483647</int>
+                                                                                                                                               <int key="NSState">1</int>
+                                                                                                                                               <reference key="NSOnImage" ref="447995298"/>
+                                                                                                                                               <reference key="NSMixedImage" ref="760317610"/>
+                                                                                                                                               <string key="NSAction">_popUpItemAction:</string>
+                                                                                                                                               <reference key="NSTarget" ref="1012707648"/>
+                                                                                                                                       </object>
+                                                                                                                                       <bool key="NSMenuItemRespectAlignment">YES</bool>
+                                                                                                                                       <object class="NSMenu" key="NSMenu" id="349551230">
+                                                                                                                                               <string key="NSTitle">OtherViews</string>
+                                                                                                                                               <object class="NSMutableArray" key="NSMenuItems">
+                                                                                                                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                                                                                                                       <reference ref="56675133"/>
+                                                                                                                                                       <object class="NSMenuItem" id="603447176">
+                                                                                                                                                               <reference key="NSMenu" ref="349551230"/>
+                                                                                                                                                               <string key="NSTitle">Item 2</string>
+                                                                                                                                                               <string key="NSKeyEquiv"/>
+                                                                                                                                                               <int key="NSKeyEquivModMask">1048576</int>
+                                                                                                                                                               <int key="NSMnemonicLoc">2147483647</int>
+                                                                                                                                                               <reference key="NSOnImage" ref="447995298"/>
+                                                                                                                                                               <reference key="NSMixedImage" ref="760317610"/>
+                                                                                                                                                               <string key="NSAction">_popUpItemAction:</string>
+                                                                                                                                                               <reference key="NSTarget" ref="1012707648"/>
+                                                                                                                                                       </object>
+                                                                                                                                                       <object class="NSMenuItem" id="691985983">
+                                                                                                                                                               <reference key="NSMenu" ref="349551230"/>
+                                                                                                                                                               <string key="NSTitle">Item 3</string>
+                                                                                                                                                               <string key="NSKeyEquiv"/>
+                                                                                                                                                               <int key="NSKeyEquivModMask">1048576</int>
+                                                                                                                                                               <int key="NSMnemonicLoc">2147483647</int>
+                                                                                                                                                               <reference key="NSOnImage" ref="447995298"/>
+                                                                                                                                                               <reference key="NSMixedImage" ref="760317610"/>
+                                                                                                                                                               <string key="NSAction">_popUpItemAction:</string>
+                                                                                                                                                               <reference key="NSTarget" ref="1012707648"/>
+                                                                                                                                                       </object>
+                                                                                                                                               </object>
+                                                                                                                                               <reference key="NSMenuFont" ref="273283760"/>
+                                                                                                                                       </object>
+                                                                                                                                       <int key="NSPreferredEdge">3</int>
+                                                                                                                                       <bool key="NSUsesItemFromMenu">YES</bool>
+                                                                                                                                       <bool key="NSAltersState">YES</bool>
+                                                                                                                                       <int key="NSArrowPosition">1</int>
+                                                                                                                               </object>
+                                                                                                                       </object>
+                                                                                                                       <object class="NSPopUpButton" id="144142005">
+                                                                                                                               <reference key="NSNextResponder" ref="443817184"/>
+                                                                                                                               <int key="NSvFlags">268</int>
+                                                                                                                               <string key="NSFrame">{{98, 41}, {126, 15}}</string>
+                                                                                                                               <reference key="NSSuperview" ref="443817184"/>
+                                                                                                                               <reference key="NSWindow"/>
+                                                                                                                               <reference key="NSNextKeyView" ref="487526549"/>
+                                                                                                                               <string key="NSReuseIdentifierKey">_NS:868</string>
+                                                                                                                               <bool key="NSEnabled">YES</bool>
+                                                                                                                               <object class="NSPopUpButtonCell" key="NSCell" id="379682863">
+                                                                                                                                       <int key="NSCellFlags">-2076049856</int>
+                                                                                                                                       <int key="NSCellFlags2">264192</int>
+                                                                                                                                       <reference key="NSSupport" ref="22"/>
+                                                                                                                                       <string key="NSCellIdentifier">_NS:868</string>
+                                                                                                                                       <reference key="NSControlView" ref="144142005"/>
+                                                                                                                                       <int key="NSButtonFlags">109199615</int>
+                                                                                                                                       <int key="NSButtonFlags2">129</int>
+                                                                                                                                       <string key="NSAlternateContents"/>
+                                                                                                                                       <string key="NSKeyEquivalent"/>
+                                                                                                                                       <int key="NSPeriodicDelay">400</int>
+                                                                                                                                       <int key="NSPeriodicInterval">75</int>
+                                                                                                                                       <object class="NSMenuItem" key="NSMenuItem" id="658841842">
+                                                                                                                                               <reference key="NSMenu" ref="957749846"/>
+                                                                                                                                               <string key="NSTitle">Item 1</string>
+                                                                                                                                               <string key="NSKeyEquiv"/>
+                                                                                                                                               <int key="NSKeyEquivModMask">1048576</int>
+                                                                                                                                               <int key="NSMnemonicLoc">2147483647</int>
+                                                                                                                                               <int key="NSState">1</int>
+                                                                                                                                               <reference key="NSOnImage" ref="447995298"/>
+                                                                                                                                               <reference key="NSMixedImage" ref="760317610"/>
+                                                                                                                                               <string key="NSAction">_popUpItemAction:</string>
+                                                                                                                                               <reference key="NSTarget" ref="379682863"/>
+                                                                                                                                       </object>
+                                                                                                                                       <bool key="NSMenuItemRespectAlignment">YES</bool>
+                                                                                                                                       <object class="NSMenu" key="NSMenu" id="957749846">
+                                                                                                                                               <string key="NSTitle">OtherViews</string>
+                                                                                                                                               <object class="NSMutableArray" key="NSMenuItems">
+                                                                                                                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                                                                                                                       <reference ref="658841842"/>
+                                                                                                                                                       <object class="NSMenuItem" id="442645374">
+                                                                                                                                                               <reference key="NSMenu" ref="957749846"/>
+                                                                                                                                                               <string key="NSTitle">Item 2</string>
+                                                                                                                                                               <string key="NSKeyEquiv"/>
+                                                                                                                                                               <int key="NSKeyEquivModMask">1048576</int>
+                                                                                                                                                               <int key="NSMnemonicLoc">2147483647</int>
+                                                                                                                                                               <reference key="NSOnImage" ref="447995298"/>
+                                                                                                                                                               <reference key="NSMixedImage" ref="760317610"/>
+                                                                                                                                                               <string key="NSAction">_popUpItemAction:</string>
+                                                                                                                                                               <reference key="NSTarget" ref="379682863"/>
+                                                                                                                                                       </object>
+                                                                                                                                                       <object class="NSMenuItem" id="831415388">
+                                                                                                                                                               <reference key="NSMenu" ref="957749846"/>
+                                                                                                                                                               <string key="NSTitle">Item 3</string>
+                                                                                                                                                               <string key="NSKeyEquiv"/>
+                                                                                                                                                               <int key="NSKeyEquivModMask">1048576</int>
+                                                                                                                                                               <int key="NSMnemonicLoc">2147483647</int>
+                                                                                                                                                               <reference key="NSOnImage" ref="447995298"/>
+                                                                                                                                                               <reference key="NSMixedImage" ref="760317610"/>
+                                                                                                                                                               <string key="NSAction">_popUpItemAction:</string>
+                                                                                                                                                               <reference key="NSTarget" ref="379682863"/>
+                                                                                                                                                       </object>
+                                                                                                                                               </object>
+                                                                                                                                               <reference key="NSMenuFont" ref="273283760"/>
+                                                                                                                                       </object>
+                                                                                                                                       <int key="NSPreferredEdge">3</int>
+                                                                                                                                       <bool key="NSUsesItemFromMenu">YES</bool>
+                                                                                                                                       <bool key="NSAltersState">YES</bool>
+                                                                                                                                       <int key="NSArrowPosition">1</int>
+                                                                                                                               </object>
+                                                                                                                       </object>
+                                                                                                                       <object class="NSButton" id="884471415">
+                                                                                                                               <reference key="NSNextResponder" ref="443817184"/>
+                                                                                                                               <int key="NSvFlags">268</int>
+                                                                                                                               <string key="NSFrame">{{240, 84}, {108, 18}}</string>
+                                                                                                                               <reference key="NSSuperview" ref="443817184"/>
+                                                                                                                               <reference key="NSWindow"/>
+                                                                                                                               <reference key="NSNextKeyView" ref="102651997"/>
+                                                                                                                               <string key="NSReuseIdentifierKey">_NS:771</string>
+                                                                                                                               <bool key="NSEnabled">YES</bool>
+                                                                                                                               <object class="NSButtonCell" key="NSCell" id="140128742">
+                                                                                                                                       <int key="NSCellFlags">67239424</int>
+                                                                                                                                       <int key="NSCellFlags2">131072</int>
+                                                                                                                                       <string key="NSContents">Fast Decode</string>
+                                                                                                                                       <reference key="NSSupport" ref="26"/>
+                                                                                                                                       <string key="NSCellIdentifier">_NS:771</string>
+                                                                                                                                       <reference key="NSControlView" ref="884471415"/>
+                                                                                                                                       <int key="NSButtonFlags">1211912703</int>
+                                                                                                                                       <int key="NSButtonFlags2">2</int>
+                                                                                                                                       <reference key="NSNormalImage" ref="887198214"/>
+                                                                                                                                       <reference key="NSAlternateImage" ref="624832340"/>
+                                                                                                                                       <string key="NSAlternateContents"/>
+                                                                                                                                       <string key="NSKeyEquivalent"/>
+                                                                                                                                       <int key="NSPeriodicDelay">200</int>
+                                                                                                                                       <int key="NSPeriodicInterval">25</int>
+                                                                                                                               </object>
+                                                                                                                       </object>
+                                                                                                                       <object class="NSTextField" id="796460997">
+                                                                                                                               <reference key="NSNextResponder" ref="443817184"/>
+                                                                                                                               <int key="NSvFlags">256</int>
+                                                                                                                               <string key="NSFrame">{{240, 65}, {110, 13}}</string>
+                                                                                                                               <reference key="NSSuperview" ref="443817184"/>
+                                                                                                                               <reference key="NSWindow"/>
+                                                                                                                               <reference key="NSNextKeyView" ref="8023338"/>
+                                                                                                                               <bool key="NSEnabled">YES</bool>
+                                                                                                                               <object class="NSTextFieldCell" key="NSCell" id="934066385">
+                                                                                                                                       <int key="NSCellFlags">67239424</int>
+                                                                                                                                       <int key="NSCellFlags2">71303168</int>
+                                                                                                                                       <string key="NSContents">Additional Options:</string>
+                                                                                                                                       <reference key="NSSupport" ref="26"/>
+                                                                                                                                       <reference key="NSControlView" ref="796460997"/>
+                                                                                                                                       <reference key="NSBackgroundColor" ref="242973447"/>
+                                                                                                                                       <reference key="NSTextColor" ref="701609070"/>
+                                                                                                                               </object>
+                                                                                                                       </object>
+                                                                                                                       <object class="NSTextField" id="487526549">
+                                                                                                                               <reference key="NSNextResponder" ref="443817184"/>
+                                                                                                                               <int key="NSvFlags">268</int>
+                                                                                                                               <string key="NSFrame">{{355, 43}, {517, 36}}</string>
+                                                                                                                               <reference key="NSSuperview" ref="443817184"/>
+                                                                                                                               <reference key="NSWindow"/>
+                                                                                                                               <reference key="NSNextKeyView" ref="349581420"/>
+                                                                                                                               <string key="NSReuseIdentifierKey">_NS:354</string>
+                                                                                                                               <string key="NSAntiCompressionPriority">{250, 750}</string>
+                                                                                                                               <bool key="NSEnabled">YES</bool>
+                                                                                                                               <object class="NSTextFieldCell" key="NSCell" id="284269747">
+                                                                                                                                       <int key="NSCellFlags">-1805517311</int>
+                                                                                                                                       <int key="NSCellFlags2">272760832</int>
+                                                                                                                                       <string key="NSContents"/>
+                                                                                                                                       <reference key="NSSupport" ref="26"/>
+                                                                                                                                       <string key="NSCellIdentifier">_NS:354</string>
+                                                                                                                                       <reference key="NSControlView" ref="487526549"/>
+                                                                                                                                       <bool key="NSDrawsBackground">YES</bool>
+                                                                                                                                       <reference key="NSBackgroundColor" ref="138233214"/>
+                                                                                                                                       <reference key="NSTextColor" ref="378140636"/>
+                                                                                                                               </object>
+                                                                                                                       </object>
+                                                                                                                       <object class="NSTextField" id="527737261">
+                                                                                                                               <reference key="NSNextResponder" ref="443817184"/>
+                                                                                                                               <int key="NSvFlags">256</int>
+                                                                                                                               <string key="NSFrame">{{96, 107}, {95, 13}}</string>
+                                                                                                                               <reference key="NSSuperview" ref="443817184"/>
+                                                                                                                               <reference key="NSWindow"/>
+                                                                                                                               <reference key="NSNextKeyView" ref="480823072"/>
+                                                                                                                               <bool key="NSEnabled">YES</bool>
+                                                                                                                               <object class="NSTextFieldCell" key="NSCell" id="513519725">
+                                                                                                                                       <int key="NSCellFlags">67239424</int>
+                                                                                                                                       <int key="NSCellFlags2">138412032</int>
+                                                                                                                                       <string key="NSContents"/>
+                                                                                                                                       <reference key="NSSupport" ref="26"/>
+                                                                                                                                       <reference key="NSControlView" ref="527737261"/>
+                                                                                                                                       <reference key="NSBackgroundColor" ref="242973447"/>
+                                                                                                                                       <reference key="NSTextColor" ref="701609070"/>
+                                                                                                                               </object>
+                                                                                                                       </object>
+                                                                                                                       <object class="NSButton" id="902460295">
+                                                                                                                               <reference key="NSNextResponder" ref="443817184"/>
+                                                                                                                               <int key="NSvFlags">268</int>
+                                                                                                                               <string key="NSFrame">{{20, 127}, {209, 18}}</string>
+                                                                                                                               <reference key="NSSuperview" ref="443817184"/>
+                                                                                                                               <reference key="NSWindow"/>
+                                                                                                                               <reference key="NSNextKeyView" ref="139432403"/>
+                                                                                                                               <string key="NSReuseIdentifierKey">_NS:771</string>
+                                                                                                                               <bool key="NSEnabled">YES</bool>
+                                                                                                                               <object class="NSButtonCell" key="NSCell" id="191360965">
+                                                                                                                                       <int key="NSCellFlags">67239424</int>
+                                                                                                                                       <int key="NSCellFlags2">131072</int>
+                                                                                                                                       <string key="NSContents">Use x264 Advanced Options Panel</string>
+                                                                                                                                       <reference key="NSSupport" ref="26"/>
+                                                                                                                                       <string key="NSCellIdentifier">_NS:771</string>
+                                                                                                                                       <reference key="NSControlView" ref="902460295"/>
+                                                                                                                                       <int key="NSButtonFlags">1211912703</int>
+                                                                                                                                       <int key="NSButtonFlags2">2</int>
+                                                                                                                                       <reference key="NSNormalImage" ref="887198214"/>
+                                                                                                                                       <reference key="NSAlternateImage" ref="624832340"/>
+                                                                                                                                       <string key="NSAlternateContents"/>
+                                                                                                                                       <string key="NSKeyEquivalent"/>
+                                                                                                                                       <int key="NSPeriodicDelay">200</int>
+                                                                                                                                       <int key="NSPeriodicInterval">25</int>
+                                                                                                                               </object>
+                                                                                                                       </object>
+                                                                                                                       <object class="NSTextField" id="349581420">
+                                                                                                                               <reference key="NSNextResponder" ref="443817184"/>
+                                                                                                                               <int key="NSvFlags">256</int>
+                                                                                                                               <string key="NSFrame">{{22, 6}, {853, 29}}</string>
+                                                                                                                               <reference key="NSSuperview" ref="443817184"/>
+                                                                                                                               <reference key="NSWindow"/>
+                                                                                                                               <reference key="NSNextKeyView" ref="987137669"/>
+                                                                                                                               <bool key="NSEnabled">YES</bool>
+                                                                                                                               <object class="NSTextFieldCell" key="NSCell" id="812860538">
+                                                                                                                                       <int key="NSCellFlags">67239424</int>
+                                                                                                                                       <int key="NSCellFlags2">4194304</int>
+                                                                                                                                       <string key="NSContents">x264 Unparse:</string>
+                                                                                                                                       <reference key="NSSupport" ref="26"/>
+                                                                                                                                       <reference key="NSControlView" ref="349581420"/>
+                                                                                                                                       <reference key="NSBackgroundColor" ref="242973447"/>
+                                                                                                                                       <reference key="NSTextColor" ref="701609070"/>
+                                                                                                                               </object>
+                                                                                                                       </object>
+                                                                                                               </object>
+                                                                                                               <string key="NSFrame">{{1, 1}, {890, 155}}</string>
+                                                                                                               <reference key="NSSuperview" ref="954159030"/>
+                                                                                                               <reference key="NSWindow"/>
+                                                                                                               <reference key="NSNextKeyView" ref="902460295"/>
+                                                                                                               <string key="NSReuseIdentifierKey">_NS:21</string>
+                                                                                                       </object>
+                                                                                               </object>
+                                                                                               <string key="NSFrame">{{14, 46}, {892, 157}}</string>
+                                                                                               <reference key="NSSuperview" ref="1053078401"/>
+                                                                                               <reference key="NSWindow"/>
+                                                                                               <reference key="NSNextKeyView" ref="443817184"/>
+                                                                                               <string key="NSReuseIdentifierKey">_NS:18</string>
+                                                                                               <string key="NSOffsets">{0, 0}</string>
+                                                                                               <object class="NSTextFieldCell" key="NSTitleCell">
+                                                                                                       <int key="NSCellFlags">67239424</int>
+                                                                                                       <int key="NSCellFlags2">0</int>
+                                                                                                       <string key="NSContents">x264 Presets</string>
+                                                                                                       <reference key="NSSupport" ref="26"/>
+                                                                                                       <reference key="NSBackgroundColor" ref="138233214"/>
+                                                                                                       <object class="NSColor" key="NSTextColor">
+                                                                                                               <int key="NSColorSpace">3</int>
+                                                                                                               <bytes key="NSWhite">MCAwLjgwMDAwMDAxMTkAA</bytes>
+                                                                                                       </object>
+                                                                                               </object>
+                                                                                               <reference key="NSContentView" ref="443817184"/>
+                                                                                               <int key="NSBorderType">1</int>
+                                                                                               <int key="NSBoxType">0</int>
+                                                                                               <int key="NSTitlePosition">0</int>
+                                                                                               <bool key="NSTransparent">NO</bool>
+                                                                                       </object>
                                                                                </object>
                                                                                <string key="NSFrame">{{10, 25}, {920, 305}}</string>
+                                                                               <reference key="NSSuperview" ref="712502892"/>
+                                                                               <reference key="NSWindow"/>
+                                                                               <reference key="NSNextKeyView" ref="1064150725"/>
                                                                        </object>
                                                                        <string key="NSLabel">Video</string>
                                                                        <reference key="NSColor" ref="242973447"/>
@@ -951,7 +1464,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                <object class="NSTabViewItem" id="157300012">
                                                                        <string key="NSIdentifier">2</string>
                                                                        <object class="NSView" key="NSView" id="738554558">
-                                                                               <reference key="NSNextResponder" ref="712502892"/>
+                                                                               <nil key="NSNextResponder"/>
                                                                                <int key="NSvFlags">256</int>
                                                                                <object class="NSMutableArray" key="NSSubviews">
                                                                                        <bool key="EncodedWithXMLCoder">YES</bool>
@@ -975,7 +1488,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                                                <int key="NSvFlags">256</int>
                                                                                                                                                <string key="NSFrameSize">{884, 236}</string>
                                                                                                                                                <reference key="NSSuperview" ref="528259747"/>
-                                                                                                                                               <reference key="NSWindow"/>
                                                                                                                                                <reference key="NSNextKeyView" ref="496546489"/>
                                                                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                                                                <object class="NSTableHeaderView" key="NSHeaderView" id="146611085">
@@ -983,7 +1495,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                                                        <int key="NSvFlags">256</int>
                                                                                                                                                        <string key="NSFrameSize">{884, 17}</string>
                                                                                                                                                        <reference key="NSSuperview" ref="230332532"/>
-                                                                                                                                                       <reference key="NSWindow"/>
                                                                                                                                                        <reference key="NSNextKeyView" ref="528259747"/>
                                                                                                                                                        <reference key="NSTableView" ref="792464451"/>
                                                                                                                                                </object>
@@ -992,7 +1503,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                                                        <int key="NSvFlags">-2147483392</int>
                                                                                                                                                        <string key="NSFrame">{{-26, 0}, {16, 17}}</string>
                                                                                                                                                        <reference key="NSSuperview" ref="933946879"/>
-                                                                                                                                                       <reference key="NSWindow"/>
                                                                                                                                                        <reference key="NSNextKeyView" ref="230332532"/>
                                                                                                                                                </object>
                                                                                                                                                <object class="NSMutableArray" key="NSTableColumns">
@@ -1439,7 +1949,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                                </object>
                                                                                                                                <string key="NSFrame">{{1, 17}, {884, 236}}</string>
                                                                                                                                <reference key="NSSuperview" ref="933946879"/>
-                                                                                                                               <reference key="NSWindow"/>
                                                                                                                                <reference key="NSNextKeyView" ref="792464451"/>
                                                                                                                                <reference key="NSDocView" ref="792464451"/>
                                                                                                                                <reference key="NSBGColor" ref="355843302"/>
@@ -1450,7 +1959,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                                <int key="NSvFlags">-2147483392</int>
                                                                                                                                <string key="NSFrame">{{-100, -100}, {15, 206}}</string>
                                                                                                                                <reference key="NSSuperview" ref="933946879"/>
-                                                                                                                               <reference key="NSWindow"/>
                                                                                                                                <reference key="NSNextKeyView" ref="821562152"/>
                                                                                                                                <reference key="NSTarget" ref="933946879"/>
                                                                                                                                <string key="NSAction">_doScroller:</string>
@@ -1462,7 +1970,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                                <int key="NSvFlags">-2147483392</int>
                                                                                                                                <string key="NSFrame">{{-100, -100}, {685, 15}}</string>
                                                                                                                                <reference key="NSSuperview" ref="933946879"/>
-                                                                                                                               <reference key="NSWindow"/>
                                                                                                                                <reference key="NSNextKeyView" ref="727606062"/>
                                                                                                                                <int key="NSsFlags">1</int>
                                                                                                                                <reference key="NSTarget" ref="933946879"/>
@@ -1478,7 +1985,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                                </object>
                                                                                                                                <string key="NSFrame">{{1, 0}, {884, 17}}</string>
                                                                                                                                <reference key="NSSuperview" ref="933946879"/>
-                                                                                                                               <reference key="NSWindow"/>
                                                                                                                                <reference key="NSNextKeyView" ref="146611085"/>
                                                                                                                                <reference key="NSDocView" ref="146611085"/>
                                                                                                                                <reference key="NSBGColor" ref="355843302"/>
@@ -1488,14 +1994,12 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                </object>
                                                                                                                <string key="NSFrame">{{17, 17}, {886, 254}}</string>
                                                                                                                <reference key="NSSuperview" ref="577274772"/>
-                                                                                                               <reference key="NSWindow"/>
                                                                                                                <reference key="NSNextKeyView" ref="528259747"/>
                                                                                                                <int key="NSsFlags">133650</int>
                                                                                                                <reference key="NSVScroller" ref="496546489"/>
                                                                                                                <reference key="NSHScroller" ref="821562152"/>
                                                                                                                <reference key="NSContentView" ref="528259747"/>
                                                                                                                <reference key="NSHeaderClipView" ref="230332532"/>
-                                                                                                               <reference key="NSCornerView" ref="727606062"/>
                                                                                                                <bytes key="NSScrollAmts">QSAAAEEgAABB2AAAQdgAAA</bytes>
                                                                                                        </object>
                                                                                                        <object class="NSButton" id="883603583">
@@ -1503,7 +2007,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                <int key="NSvFlags">268</int>
                                                                                                                <string key="NSFrame">{{16, 282}, {116, 16}}</string>
                                                                                                                <reference key="NSSuperview" ref="577274772"/>
-                                                                                                               <reference key="NSWindow"/>
                                                                                                                <reference key="NSNextKeyView" ref="334448622"/>
                                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                                <object class="NSButtonCell" key="NSCell" id="327570663">
@@ -1535,7 +2038,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                                                <int key="NSvFlags">268</int>
                                                                                                                                                <string key="NSFrame">{{85, 8}, {41, 18}}</string>
                                                                                                                                                <reference key="NSSuperview" ref="754802956"/>
-                                                                                                                                               <reference key="NSWindow"/>
                                                                                                                                                <reference key="NSNextKeyView" ref="354328979"/>
                                                                                                                                                <string key="NSReuseIdentifierKey">_NS:771</string>
                                                                                                                                                <bool key="NSEnabled">YES</bool>
@@ -1561,7 +2063,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                                                <int key="NSvFlags">268</int>
                                                                                                                                                <string key="NSFrame">{{130, 8}, {47, 18}}</string>
                                                                                                                                                <reference key="NSSuperview" ref="754802956"/>
-                                                                                                                                               <reference key="NSWindow"/>
                                                                                                                                                <reference key="NSNextKeyView" ref="453548414"/>
                                                                                                                                                <string key="NSReuseIdentifierKey">_NS:771</string>
                                                                                                                                                <bool key="NSEnabled">YES</bool>
@@ -1587,7 +2088,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                                                <int key="NSvFlags">268</int>
                                                                                                                                                <string key="NSFrame">{{179, 8}, {47, 18}}</string>
                                                                                                                                                <reference key="NSSuperview" ref="754802956"/>
-                                                                                                                                               <reference key="NSWindow"/>
                                                                                                                                                <reference key="NSNextKeyView" ref="485809563"/>
                                                                                                                                                <string key="NSReuseIdentifierKey">_NS:771</string>
                                                                                                                                                <bool key="NSEnabled">YES</bool>
@@ -1613,7 +2113,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                                                <int key="NSvFlags">268</int>
                                                                                                                                                <string key="NSFrame">{{226, 8}, {48, 18}}</string>
                                                                                                                                                <reference key="NSSuperview" ref="754802956"/>
-                                                                                                                                               <reference key="NSWindow"/>
                                                                                                                                                <reference key="NSNextKeyView" ref="1024961404"/>
                                                                                                                                                <string key="NSReuseIdentifierKey">_NS:771</string>
                                                                                                                                                <bool key="NSEnabled">YES</bool>
@@ -1639,7 +2138,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                                                <int key="NSvFlags">268</int>
                                                                                                                                                <string key="NSFrame">{{271, 8}, {58, 18}}</string>
                                                                                                                                                <reference key="NSSuperview" ref="754802956"/>
-                                                                                                                                               <reference key="NSWindow"/>
                                                                                                                                                <reference key="NSNextKeyView" ref="431725280"/>
                                                                                                                                                <string key="NSReuseIdentifierKey">_NS:771</string>
                                                                                                                                                <bool key="NSEnabled">YES</bool>
@@ -1665,7 +2163,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                                                <int key="NSvFlags">268</int>
                                                                                                                                                <string key="NSFrame">{{442, 8}, {100, 15}}</string>
                                                                                                                                                <reference key="NSSuperview" ref="754802956"/>
-                                                                                                                                               <reference key="NSWindow"/>
                                                                                                                                                <reference key="NSNextKeyView" ref="933946879"/>
                                                                                                                                                <string key="NSReuseIdentifierKey">_NS:868</string>
                                                                                                                                                <bool key="NSEnabled">YES</bool>
@@ -1735,7 +2232,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                                                <int key="NSvFlags">264</int>
                                                                                                                                                <string key="NSFrame">{{2, -7}, {78, 28}}</string>
                                                                                                                                                <reference key="NSSuperview" ref="754802956"/>
-                                                                                                                                               <reference key="NSWindow"/>
                                                                                                                                                <reference key="NSNextKeyView" ref="162512199"/>
                                                                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                                                                <object class="NSTextFieldCell" key="NSCell" id="935575109">
@@ -1753,7 +2249,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                                                <int key="NSvFlags">264</int>
                                                                                                                                                <string key="NSFrame">{{354, 7}, {86, 14}}</string>
                                                                                                                                                <reference key="NSSuperview" ref="754802956"/>
-                                                                                                                                               <reference key="NSWindow"/>
                                                                                                                                                <reference key="NSNextKeyView" ref="586044455"/>
                                                                                                                                                <bool key="NSEnabled">YES</bool>
                                                                                                                                                <object class="NSTextFieldCell" key="NSCell" id="121164790">
@@ -1769,14 +2264,12 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                                                </object>
                                                                                                                                <string key="NSFrame">{{1, 1}, {552, 29}}</string>
                                                                                                                                <reference key="NSSuperview" ref="334448622"/>
-                                                                                                                               <reference key="NSWindow"/>
                                                                                                                                <reference key="NSNextKeyView" ref="1010907474"/>
                                                                                                                                <string key="NSReuseIdentifierKey">_NS:21</string>
                                                                                                                        </object>
                                                                                                                </object>
                                                                                                                <string key="NSFrame">{{349, 275}, {554, 31}}</string>
                                                                                                                <reference key="NSSuperview" ref="577274772"/>
-                                                                                                               <reference key="NSWindow"/>
                                                                                                                <reference key="NSNextKeyView" ref="754802956"/>
                                                                                                                <string key="NSReuseIdentifierKey">_NS:18</string>
                                                                                                                <string key="NSOffsets">{0, 0}</string>
@@ -1800,13 +2293,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                </object>
                                                                                                <string key="NSFrame">{{0, -3}, {920, 305}}</string>
                                                                                                <reference key="NSSuperview" ref="738554558"/>
-                                                                                               <reference key="NSWindow"/>
                                                                                                <reference key="NSNextKeyView" ref="883603583"/>
                                                                                        </object>
                                                                                </object>
                                                                                <string key="NSFrame">{{10, 25}, {920, 305}}</string>
-                                                                               <reference key="NSSuperview" ref="712502892"/>
-                                                                               <reference key="NSWindow"/>
                                                                                <reference key="NSNextKeyView" ref="577274772"/>
                                                                        </object>
                                                                        <string key="NSLabel">Audio</string>
@@ -2258,6 +2748,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                                </object>
                                                                                                <string key="NSFrame">{{7, 8}, {907, 290}}</string>
                                                                                                <reference key="NSSuperview" ref="833271282"/>
+                                                                                               <reference key="NSNextKeyView" ref="815869140"/>
                                                                                                <string key="NSOffsets">{0, 0}</string>
                                                                                                <object class="NSTextFieldCell" key="NSTitleCell">
                                                                                                        <int key="NSCellFlags">67239424</int>
@@ -2278,6 +2769,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                                        </object>
                                                                                </object>
                                                                                <string key="NSFrame">{{10, 25}, {920, 305}}</string>
+                                                                               <reference key="NSNextKeyView" ref="231506045"/>
                                                                        </object>
                                                                        <string key="NSLabel">Advanced</string>
                                                                        <reference key="NSColor" ref="242973447"/>
@@ -2521,14 +3013,14 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                        <reference key="NSTabView" ref="712502892"/>
                                                                </object>
                                                        </object>
-                                                       <reference key="NSSelectedTabViewItem" ref="157300012"/>
+                                                       <reference key="NSSelectedTabViewItem" ref="107038816"/>
                                                        <reference key="NSFont" ref="26"/>
                                                        <int key="NSTvFlags">134217728</int>
                                                        <bool key="NSAllowTruncatedLabels">YES</bool>
                                                        <bool key="NSDrawsBackground">YES</bool>
                                                        <object class="NSMutableArray" key="NSSubviews">
                                                                <bool key="EncodedWithXMLCoder">YES</bool>
-                                                               <reference ref="738554558"/>
+                                                               <reference ref="1053078401"/>
                                                        </object>
                                                </object>
                                                <object class="NSTextField" id="586321835">
@@ -6483,89 +6975,265 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                </object>
                                <object class="IBConnectionRecord">
                                        <object class="IBOutletConnection" key="connection">
-                                               <string key="label">parentWindow</string>
-                                               <reference key="source" ref="972647787"/>
-                                               <reference key="destination" ref="192660081"/>
+                                               <string key="label">fX264PresetsBox</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="954159030"/>
                                        </object>
-                                       <int key="connectionID">1842</int>
+                                       <int key="connectionID">5973</int>
                                </object>
                                <object class="IBConnectionRecord">
                                        <object class="IBOutletConnection" key="connection">
-                                               <string key="label">contentView</string>
-                                               <reference key="source" ref="972647787"/>
-                                               <reference key="destination" ref="621751818"/>
+                                               <string key="label">fX264TunePopUp</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="610425389"/>
                                        </object>
-                                       <int key="connectionID">1844</int>
+                                       <int key="connectionID">5974</int>
                                </object>
                                <object class="IBConnectionRecord">
-                                       <object class="IBActionConnection" key="connection">
-                                               <string key="label">toggle:</string>
-                                               <reference key="source" ref="972647787"/>
-                                               <reference key="destination" ref="854594899"/>
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">fX264ProfilePopUp</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="112458239"/>
                                        </object>
-                                       <int key="connectionID">1885</int>
+                                       <int key="connectionID">5975</int>
                                </object>
                                <object class="IBConnectionRecord">
                                        <object class="IBOutletConnection" key="connection">
-                                               <string key="label">dataSource</string>
-                                               <reference key="source" ref="807972370"/>
-                                               <reference key="destination" ref="2258723"/>
+                                               <string key="label">fX264LevelPopUp</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="144142005"/>
                                        </object>
-                                       <int key="connectionID">4188</int>
+                                       <int key="connectionID">5976</int>
                                </object>
                                <object class="IBConnectionRecord">
                                        <object class="IBOutletConnection" key="connection">
-                                               <string key="label">delegate</string>
-                                               <reference key="source" ref="807972370"/>
-                                               <reference key="destination" ref="2258723"/>
+                                               <string key="label">fX264FastDecodeCheck</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="884471415"/>
                                        </object>
-                                       <int key="connectionID">4189</int>
+                                       <int key="connectionID">5977</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">fDisplayX264PresetsAdditonalOptionsTextField</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="487526549"/>
+                                       </object>
+                                       <int key="connectionID">5979</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">fX264PresetsSlider</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="480823072"/>
+                                       </object>
+                                       <int key="connectionID">5980</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">fX264PresetSelectedTextField</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="527737261"/>
+                                       </object>
+                                       <int key="connectionID">5983</int>
                                </object>
                                <object class="IBConnectionRecord">
                                        <object class="IBActionConnection" key="connection">
-                                               <string key="label">checkForUpdates:</string>
-                                               <reference key="source" ref="159095366"/>
-                                               <reference key="destination" ref="985983659"/>
+                                               <string key="label">x264PresetsSliderChanged:</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="480823072"/>
                                        </object>
-                                       <int key="connectionID">4966</int>
+                                       <int key="connectionID">5984</int>
                                </object>
                                <object class="IBConnectionRecord">
-                                       <object class="IBBindingConnection" key="connection">
-                                               <string key="label">contentArray: audioArray</string>
-                                               <reference key="source" ref="141316080"/>
-                                               <reference key="destination" ref="681233637"/>
-                                               <object class="NSNibBindingConnector" key="connector">
-                                                       <reference key="NSSource" ref="141316080"/>
-                                                       <reference key="NSDestination" ref="681233637"/>
-                                                       <string key="NSLabel">contentArray: audioArray</string>
-                                                       <string key="NSBinding">contentArray</string>
-                                                       <string key="NSKeyPath">audioArray</string>
-                                                       <int key="NSNibBindingConnectorVersion">2</int>
-                                               </object>
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">fX264PresetSliderLabel</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="139432403"/>
                                        </object>
-                                       <int key="connectionID">5679</int>
+                                       <int key="connectionID">5985</int>
                                </object>
                                <object class="IBConnectionRecord">
-                                       <object class="IBBindingConnection" key="connection">
-                                               <string key="label">enabled: hasValidPresetSelected</string>
-                                               <reference key="source" ref="883603583"/>
-                                               <reference key="destination" ref="2258723"/>
-                                               <object class="NSNibBindingConnector" key="connector">
-                                                       <reference key="NSSource" ref="883603583"/>
-                                                       <reference key="NSDestination" ref="2258723"/>
-                                                       <string key="NSLabel">enabled: hasValidPresetSelected</string>
-                                                       <string key="NSBinding">enabled</string>
-                                                       <string key="NSKeyPath">hasValidPresetSelected</string>
-                                                       <int key="NSNibBindingConnectorVersion">2</int>
-                                               </object>
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">fX264TunePopUpLabel</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="1031662534"/>
                                        </object>
-                                       <int key="connectionID">5711</int>
+                                       <int key="connectionID">5986</int>
                                </object>
                                <object class="IBConnectionRecord">
-                                       <object class="IBBindingConnection" key="connection">
-                                               <string key="label">value: arrangedObjects.drc</string>
-                                               <reference key="source" ref="581296833"/>
-                                               <reference key="destination" ref="141316080"/>
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">fX264ProfilePopUpLabel</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="102651997"/>
+                                       </object>
+                                       <int key="connectionID">5987</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">fX264LevelPopUpLabel</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="8023338"/>
+                                       </object>
+                                       <int key="connectionID">5988</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">fDisplayX264PresetsAdditonalOptionsLabel</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="796460997"/>
+                                       </object>
+                                       <int key="connectionID">5989</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">fx264UseAdvancedOptionsCheck</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="902460295"/>
+                                       </object>
+                                       <int key="connectionID">5994</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">enableX264PresetWidgets:</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="902460295"/>
+                                       </object>
+                                       <int key="connectionID">5995</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">fDisplayX264PresetsUnparseTextField</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="349581420"/>
+                                       </object>
+                                       <int key="connectionID">5998</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">x264PresetsChangedDisplayExpandedOptions:</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="610425389"/>
+                                       </object>
+                                       <int key="connectionID">5999</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">x264PresetsChangedDisplayExpandedOptions:</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="112458239"/>
+                                       </object>
+                                       <int key="connectionID">6000</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">x264PresetsChangedDisplayExpandedOptions:</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="144142005"/>
+                                       </object>
+                                       <int key="connectionID">6001</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">x264PresetsChangedDisplayExpandedOptions:</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="487526549"/>
+                                       </object>
+                                       <int key="connectionID">6002</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">x264PresetsChangedDisplayExpandedOptions:</string>
+                                               <reference key="source" ref="2258723"/>
+                                               <reference key="destination" ref="884471415"/>
+                                       </object>
+                                       <int key="connectionID">6003</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">parentWindow</string>
+                                               <reference key="source" ref="972647787"/>
+                                               <reference key="destination" ref="192660081"/>
+                                       </object>
+                                       <int key="connectionID">1842</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">contentView</string>
+                                               <reference key="source" ref="972647787"/>
+                                               <reference key="destination" ref="621751818"/>
+                                       </object>
+                                       <int key="connectionID">1844</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">toggle:</string>
+                                               <reference key="source" ref="972647787"/>
+                                               <reference key="destination" ref="854594899"/>
+                                       </object>
+                                       <int key="connectionID">1885</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">dataSource</string>
+                                               <reference key="source" ref="807972370"/>
+                                               <reference key="destination" ref="2258723"/>
+                                       </object>
+                                       <int key="connectionID">4188</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">delegate</string>
+                                               <reference key="source" ref="807972370"/>
+                                               <reference key="destination" ref="2258723"/>
+                                       </object>
+                                       <int key="connectionID">4189</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">checkForUpdates:</string>
+                                               <reference key="source" ref="159095366"/>
+                                               <reference key="destination" ref="985983659"/>
+                                       </object>
+                                       <int key="connectionID">4966</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBBindingConnection" key="connection">
+                                               <string key="label">contentArray: audioArray</string>
+                                               <reference key="source" ref="141316080"/>
+                                               <reference key="destination" ref="681233637"/>
+                                               <object class="NSNibBindingConnector" key="connector">
+                                                       <reference key="NSSource" ref="141316080"/>
+                                                       <reference key="NSDestination" ref="681233637"/>
+                                                       <string key="NSLabel">contentArray: audioArray</string>
+                                                       <string key="NSBinding">contentArray</string>
+                                                       <string key="NSKeyPath">audioArray</string>
+                                                       <int key="NSNibBindingConnectorVersion">2</int>
+                                               </object>
+                                       </object>
+                                       <int key="connectionID">5679</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBBindingConnection" key="connection">
+                                               <string key="label">enabled: hasValidPresetSelected</string>
+                                               <reference key="source" ref="883603583"/>
+                                               <reference key="destination" ref="2258723"/>
+                                               <object class="NSNibBindingConnector" key="connector">
+                                                       <reference key="NSSource" ref="883603583"/>
+                                                       <reference key="NSDestination" ref="2258723"/>
+                                                       <string key="NSLabel">enabled: hasValidPresetSelected</string>
+                                                       <string key="NSBinding">enabled</string>
+                                                       <string key="NSKeyPath">hasValidPresetSelected</string>
+                                                       <int key="NSNibBindingConnectorVersion">2</int>
+                                               </object>
+                                       </object>
+                                       <int key="connectionID">5711</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBBindingConnection" key="connection">
+                                               <string key="label">value: arrangedObjects.drc</string>
+                                               <reference key="source" ref="581296833"/>
+                                               <reference key="destination" ref="141316080"/>
                                                <object class="NSNibBindingConnector" key="connector">
                                                        <reference key="NSSource" ref="581296833"/>
                                                        <reference key="NSDestination" ref="141316080"/>
@@ -7214,9 +7882,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                <object class="NSMutableArray" key="children">
                                                        <bool key="EncodedWithXMLCoder">YES</bool>
                                                        <reference ref="987137669"/>
-                                                       <reference ref="690364175"/>
                                                        <reference ref="503933842"/>
-                                                       <reference ref="222980245"/>
                                                        <reference ref="783405221"/>
                                                        <reference ref="690304958"/>
                                                        <reference ref="323705695"/>
@@ -7228,7 +7894,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <reference ref="1036976683"/>
                                                        <reference ref="521019277"/>
                                                        <reference ref="1064150725"/>
+                                                       <reference ref="222980245"/>
+                                                       <reference ref="954159030"/>
                                                        <reference ref="888819828"/>
+                                                       <reference ref="690364175"/>
                                                </object>
                                                <reference key="parent" ref="107038816"/>
                                        </object>
@@ -10088,6 +10757,314 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                <reference key="object" ref="121164790"/>
                                                <reference key="parent" ref="431725280"/>
                                        </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5934</int>
+                                               <reference key="object" ref="954159030"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="480823072"/>
+                                                       <reference ref="139432403"/>
+                                                       <reference ref="1031662534"/>
+                                                       <reference ref="102651997"/>
+                                                       <reference ref="610425389"/>
+                                                       <reference ref="8023338"/>
+                                                       <reference ref="144142005"/>
+                                                       <reference ref="112458239"/>
+                                                       <reference ref="796460997"/>
+                                                       <reference ref="487526549"/>
+                                                       <reference ref="884471415"/>
+                                                       <reference ref="527737261"/>
+                                                       <reference ref="902460295"/>
+                                                       <reference ref="349581420"/>
+                                               </object>
+                                               <reference key="parent" ref="1053078401"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5932</int>
+                                               <reference key="object" ref="480823072"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="690637620"/>
+                                               </object>
+                                               <reference key="parent" ref="954159030"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5933</int>
+                                               <reference key="object" ref="690637620"/>
+                                               <reference key="parent" ref="480823072"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5937</int>
+                                               <reference key="object" ref="139432403"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="367754591"/>
+                                               </object>
+                                               <reference key="parent" ref="954159030"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5938</int>
+                                               <reference key="object" ref="367754591"/>
+                                               <reference key="parent" ref="139432403"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5939</int>
+                                               <reference key="object" ref="1031662534"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="444043003"/>
+                                               </object>
+                                               <reference key="parent" ref="954159030"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5940</int>
+                                               <reference key="object" ref="444043003"/>
+                                               <reference key="parent" ref="1031662534"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5941</int>
+                                               <reference key="object" ref="102651997"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="858212432"/>
+                                               </object>
+                                               <reference key="parent" ref="954159030"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5942</int>
+                                               <reference key="object" ref="858212432"/>
+                                               <reference key="parent" ref="102651997"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5943</int>
+                                               <reference key="object" ref="8023338"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="248169798"/>
+                                               </object>
+                                               <reference key="parent" ref="954159030"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5944</int>
+                                               <reference key="object" ref="248169798"/>
+                                               <reference key="parent" ref="8023338"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5945</int>
+                                               <reference key="object" ref="610425389"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="1050851477"/>
+                                               </object>
+                                               <reference key="parent" ref="954159030"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5946</int>
+                                               <reference key="object" ref="1050851477"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="353982019"/>
+                                               </object>
+                                               <reference key="parent" ref="610425389"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5947</int>
+                                               <reference key="object" ref="353982019"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="791223578"/>
+                                                       <reference ref="645526467"/>
+                                                       <reference ref="1035566125"/>
+                                               </object>
+                                               <reference key="parent" ref="1050851477"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5948</int>
+                                               <reference key="object" ref="791223578"/>
+                                               <reference key="parent" ref="353982019"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5949</int>
+                                               <reference key="object" ref="645526467"/>
+                                               <reference key="parent" ref="353982019"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5950</int>
+                                               <reference key="object" ref="1035566125"/>
+                                               <reference key="parent" ref="353982019"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5951</int>
+                                               <reference key="object" ref="112458239"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="1012707648"/>
+                                               </object>
+                                               <reference key="parent" ref="954159030"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5952</int>
+                                               <reference key="object" ref="1012707648"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="349551230"/>
+                                               </object>
+                                               <reference key="parent" ref="112458239"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5953</int>
+                                               <reference key="object" ref="349551230"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="691985983"/>
+                                                       <reference ref="603447176"/>
+                                                       <reference ref="56675133"/>
+                                               </object>
+                                               <reference key="parent" ref="1012707648"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5954</int>
+                                               <reference key="object" ref="691985983"/>
+                                               <reference key="parent" ref="349551230"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5955</int>
+                                               <reference key="object" ref="603447176"/>
+                                               <reference key="parent" ref="349551230"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5956</int>
+                                               <reference key="object" ref="56675133"/>
+                                               <reference key="parent" ref="349551230"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5957</int>
+                                               <reference key="object" ref="144142005"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="379682863"/>
+                                               </object>
+                                               <reference key="parent" ref="954159030"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5958</int>
+                                               <reference key="object" ref="379682863"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="957749846"/>
+                                               </object>
+                                               <reference key="parent" ref="144142005"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5959</int>
+                                               <reference key="object" ref="957749846"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="658841842"/>
+                                                       <reference ref="442645374"/>
+                                                       <reference ref="831415388"/>
+                                               </object>
+                                               <reference key="parent" ref="379682863"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5960</int>
+                                               <reference key="object" ref="658841842"/>
+                                               <reference key="parent" ref="957749846"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5961</int>
+                                               <reference key="object" ref="442645374"/>
+                                               <reference key="parent" ref="957749846"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5962</int>
+                                               <reference key="object" ref="831415388"/>
+                                               <reference key="parent" ref="957749846"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5963</int>
+                                               <reference key="object" ref="884471415"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="140128742"/>
+                                               </object>
+                                               <reference key="parent" ref="954159030"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5964</int>
+                                               <reference key="object" ref="140128742"/>
+                                               <reference key="parent" ref="884471415"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5967</int>
+                                               <reference key="object" ref="796460997"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="934066385"/>
+                                               </object>
+                                               <reference key="parent" ref="954159030"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5968</int>
+                                               <reference key="object" ref="934066385"/>
+                                               <reference key="parent" ref="796460997"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5971</int>
+                                               <reference key="object" ref="487526549"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="284269747"/>
+                                               </object>
+                                               <reference key="parent" ref="954159030"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5972</int>
+                                               <reference key="object" ref="284269747"/>
+                                               <reference key="parent" ref="487526549"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5981</int>
+                                               <reference key="object" ref="527737261"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="513519725"/>
+                                               </object>
+                                               <reference key="parent" ref="954159030"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5982</int>
+                                               <reference key="object" ref="513519725"/>
+                                               <reference key="parent" ref="527737261"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5992</int>
+                                               <reference key="object" ref="902460295"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="191360965"/>
+                                               </object>
+                                               <reference key="parent" ref="954159030"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5993</int>
+                                               <reference key="object" ref="191360965"/>
+                                               <reference key="parent" ref="902460295"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5996</int>
+                                               <reference key="object" ref="349581420"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="812860538"/>
+                                               </object>
+                                               <reference key="parent" ref="954159030"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5997</int>
+                                               <reference key="object" ref="812860538"/>
+                                               <reference key="parent" ref="349581420"/>
+                                       </object>
                                </object>
                        </object>
                        <object class="NSMutableDictionary" key="flattenedProperties">
@@ -10511,6 +11488,47 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <string>5922.IBPluginDependency</string>
                                        <string>5923.IBPluginDependency</string>
                                        <string>5924.IBPluginDependency</string>
+                                       <string>5932.IBPluginDependency</string>
+                                       <string>5933.IBPluginDependency</string>
+                                       <string>5934.IBPluginDependency</string>
+                                       <string>5937.IBPluginDependency</string>
+                                       <string>5938.IBPluginDependency</string>
+                                       <string>5939.IBPluginDependency</string>
+                                       <string>5940.IBPluginDependency</string>
+                                       <string>5941.IBPluginDependency</string>
+                                       <string>5942.IBPluginDependency</string>
+                                       <string>5943.IBPluginDependency</string>
+                                       <string>5944.IBPluginDependency</string>
+                                       <string>5945.IBPluginDependency</string>
+                                       <string>5946.IBPluginDependency</string>
+                                       <string>5947.IBPluginDependency</string>
+                                       <string>5948.IBPluginDependency</string>
+                                       <string>5949.IBPluginDependency</string>
+                                       <string>5950.IBPluginDependency</string>
+                                       <string>5951.IBPluginDependency</string>
+                                       <string>5952.IBPluginDependency</string>
+                                       <string>5953.IBPluginDependency</string>
+                                       <string>5954.IBPluginDependency</string>
+                                       <string>5955.IBPluginDependency</string>
+                                       <string>5956.IBPluginDependency</string>
+                                       <string>5957.IBPluginDependency</string>
+                                       <string>5958.IBPluginDependency</string>
+                                       <string>5959.IBPluginDependency</string>
+                                       <string>5960.IBPluginDependency</string>
+                                       <string>5961.IBPluginDependency</string>
+                                       <string>5962.IBPluginDependency</string>
+                                       <string>5963.IBPluginDependency</string>
+                                       <string>5964.IBPluginDependency</string>
+                                       <string>5967.IBPluginDependency</string>
+                                       <string>5968.IBPluginDependency</string>
+                                       <string>5971.IBPluginDependency</string>
+                                       <string>5972.IBPluginDependency</string>
+                                       <string>5981.IBPluginDependency</string>
+                                       <string>5982.IBPluginDependency</string>
+                                       <string>5992.IBPluginDependency</string>
+                                       <string>5993.IBPluginDependency</string>
+                                       <string>5996.IBPluginDependency</string>
+                                       <string>5997.IBPluginDependency</string>
                                        <string>970.IBPluginDependency</string>
                                        <string>971.IBPluginDependency</string>
                                        <string>973.IBPluginDependency</string>
@@ -10965,6 +11983,47 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                </object>
                        </object>
                        <object class="NSMutableDictionary" key="unlocalizedProperties">
@@ -10979,7 +12038,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                <reference key="dict.values" ref="0"/>
                        </object>
                        <nil key="sourceID"/>
-                       <int key="maxID">5931</int>
+                       <int key="maxID">6003</int>
                </object>
                <object class="IBClassDescriber" key="IBDocument.Classes">
                        <object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -11026,6 +12085,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>customSettingUsed:</string>
                                                        <string>deleteFactoryPresets:</string>
                                                        <string>deletePreset:</string>
+                                                       <string>enableX264PresetWidgets:</string>
                                                        <string>encodeStartStopPopUpChanged:</string>
                                                        <string>formatPopUpChanged:</string>
                                                        <string>getDefaultPresets:</string>
@@ -11039,6 +12099,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>selectDefaultPreset:</string>
                                                        <string>selectPreset:</string>
                                                        <string>setDefaultPreset:</string>
+                                                       <string>setupX264PresetsWidgets:</string>
                                                        <string>showAboutPanel:</string>
                                                        <string>showAddPresetPanel:</string>
                                                        <string>showDebugOutputPanel:</string>
@@ -11055,6 +12116,9 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>videoEncoderPopUpChanged:</string>
                                                        <string>videoFrameRateChanged:</string>
                                                        <string>videoMatrixChanged:</string>
+                                                       <string>x264PresetsChangedDisplayExpandedOptions:</string>
+                                                       <string>x264PresetsSetJobVariables:</string>
+                                                       <string>x264PresetsSliderChanged:</string>
                                                </object>
                                                <object class="NSMutableArray" key="dict.values">
                                                        <bool key="EncodedWithXMLCoder">YES</bool>
@@ -11114,6 +12178,11 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>id</string>
                                                        <string>id</string>
                                                        <string>id</string>
+                                                       <string>id</string>
+                                                       <string>id</string>
+                                                       <string>id</string>
+                                                       <string>id</string>
+                                                       <string>id</string>
                                                </object>
                                        </object>
                                        <object class="NSMutableDictionary" key="actionInfosByName">
@@ -11147,6 +12216,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>customSettingUsed:</string>
                                                        <string>deleteFactoryPresets:</string>
                                                        <string>deletePreset:</string>
+                                                       <string>enableX264PresetWidgets:</string>
                                                        <string>encodeStartStopPopUpChanged:</string>
                                                        <string>formatPopUpChanged:</string>
                                                        <string>getDefaultPresets:</string>
@@ -11160,6 +12230,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>selectDefaultPreset:</string>
                                                        <string>selectPreset:</string>
                                                        <string>setDefaultPreset:</string>
+                                                       <string>setupX264PresetsWidgets:</string>
                                                        <string>showAboutPanel:</string>
                                                        <string>showAddPresetPanel:</string>
                                                        <string>showDebugOutputPanel:</string>
@@ -11176,6 +12247,9 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>videoEncoderPopUpChanged:</string>
                                                        <string>videoFrameRateChanged:</string>
                                                        <string>videoMatrixChanged:</string>
+                                                       <string>x264PresetsChangedDisplayExpandedOptions:</string>
+                                                       <string>x264PresetsSetJobVariables:</string>
+                                                       <string>x264PresetsSliderChanged:</string>
                                                </object>
                                                <object class="NSMutableArray" key="dict.values">
                                                        <bool key="EncodedWithXMLCoder">YES</bool>
@@ -11287,6 +12361,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                <string key="name">deletePreset:</string>
                                                                <string key="candidateClassName">id</string>
                                                        </object>
+                                                       <object class="IBActionInfo">
+                                                               <string key="name">enableX264PresetWidgets:</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
                                                        <object class="IBActionInfo">
                                                                <string key="name">encodeStartStopPopUpChanged:</string>
                                                                <string key="candidateClassName">id</string>
@@ -11339,6 +12417,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                <string key="name">setDefaultPreset:</string>
                                                                <string key="candidateClassName">id</string>
                                                        </object>
+                                                       <object class="IBActionInfo">
+                                                               <string key="name">setupX264PresetsWidgets:</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
                                                        <object class="IBActionInfo">
                                                                <string key="name">showAboutPanel:</string>
                                                                <string key="candidateClassName">id</string>
@@ -11403,6 +12485,18 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                <string key="name">videoMatrixChanged:</string>
                                                                <string key="candidateClassName">id</string>
                                                        </object>
+                                                       <object class="IBActionInfo">
+                                                               <string key="name">x264PresetsChangedDisplayExpandedOptions:</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                                       <object class="IBActionInfo">
+                                                               <string key="name">x264PresetsSetJobVariables:</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                                       <object class="IBActionInfo">
+                                                               <string key="name">x264PresetsSliderChanged:</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
                                                </object>
                                        </object>
                                        <object class="NSMutableDictionary" key="outlets">
@@ -11417,11 +12511,15 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>fAudioAllowDTSPassCheck</string>
                                                        <string>fAudioAllowMP3PassCheck</string>
                                                        <string>fAudioAutoPassthruBox</string>
+                                                       <string>fAudioDelegate</string>
                                                        <string>fAudioFallbackPopUp</string>
                                                        <string>fBrowseSrtFileButton</string>
                                                        <string>fChapterTable</string>
                                                        <string>fChapterTableNameColumn</string>
                                                        <string>fCreateChapterMarkers</string>
+                                                       <string>fDisplayX264PresetsAdditonalOptionsLabel</string>
+                                                       <string>fDisplayX264PresetsAdditonalOptionsTextField</string>
+                                                       <string>fDisplayX264PresetsUnparseTextField</string>
                                                        <string>fDstBrowseButton</string>
                                                        <string>fDstFile1Field</string>
                                                        <string>fDstFile2Field</string>
@@ -11497,6 +12595,18 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>fVidTwoPassCheck</string>
                                                        <string>fVideoFiltersField</string>
                                                        <string>fWindow</string>
+                                                       <string>fX264FastDecodeCheck</string>
+                                                       <string>fX264LevelPopUp</string>
+                                                       <string>fX264LevelPopUpLabel</string>
+                                                       <string>fX264PresetSelectedTextField</string>
+                                                       <string>fX264PresetSliderLabel</string>
+                                                       <string>fX264PresetsBox</string>
+                                                       <string>fX264PresetsSlider</string>
+                                                       <string>fX264ProfilePopUp</string>
+                                                       <string>fX264ProfilePopUpLabel</string>
+                                                       <string>fX264TunePopUp</string>
+                                                       <string>fX264TunePopUpLabel</string>
+                                                       <string>fx264UseAdvancedOptionsCheck</string>
                                                </object>
                                                <object class="NSMutableArray" key="dict.values">
                                                        <bool key="EncodedWithXMLCoder">YES</bool>
@@ -11508,11 +12618,15 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>NSButton</string>
                                                        <string>NSButton</string>
                                                        <string>NSBox</string>
+                                                       <string>HBAudioController</string>
                                                        <string>NSButton</string>
                                                        <string>NSButton</string>
                                                        <string>NSTableView</string>
                                                        <string>NSTableColumn</string>
                                                        <string>NSButton</string>
+                                                       <string>NSTextField</string>
+                                                       <string>NSTextField</string>
+                                                       <string>NSTextField</string>
                                                        <string>NSButton</string>
                                                        <string>NSTextField</string>
                                                        <string>NSTextField</string>
@@ -11588,6 +12702,18 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>NSButton</string>
                                                        <string>NSTextField</string>
                                                        <string>NSWindow</string>
+                                                       <string>NSButton</string>
+                                                       <string>NSPopUpButton</string>
+                                                       <string>NSTextField</string>
+                                                       <string>NSTextField</string>
+                                                       <string>NSTextField</string>
+                                                       <string>NSBox</string>
+                                                       <string>NSSlider</string>
+                                                       <string>NSPopUpButton</string>
+                                                       <string>NSTextField</string>
+                                                       <string>NSPopUpButton</string>
+                                                       <string>NSTextField</string>
+                                                       <string>NSButton</string>
                                                </object>
                                        </object>
                                        <object class="NSMutableDictionary" key="toOneOutletInfosByName">
@@ -11602,11 +12728,15 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>fAudioAllowDTSPassCheck</string>
                                                        <string>fAudioAllowMP3PassCheck</string>
                                                        <string>fAudioAutoPassthruBox</string>
+                                                       <string>fAudioDelegate</string>
                                                        <string>fAudioFallbackPopUp</string>
                                                        <string>fBrowseSrtFileButton</string>
                                                        <string>fChapterTable</string>
                                                        <string>fChapterTableNameColumn</string>
                                                        <string>fCreateChapterMarkers</string>
+                                                       <string>fDisplayX264PresetsAdditonalOptionsLabel</string>
+                                                       <string>fDisplayX264PresetsAdditonalOptionsTextField</string>
+                                                       <string>fDisplayX264PresetsUnparseTextField</string>
                                                        <string>fDstBrowseButton</string>
                                                        <string>fDstFile1Field</string>
                                                        <string>fDstFile2Field</string>
@@ -11682,6 +12812,18 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>fVidTwoPassCheck</string>
                                                        <string>fVideoFiltersField</string>
                                                        <string>fWindow</string>
+                                                       <string>fX264FastDecodeCheck</string>
+                                                       <string>fX264LevelPopUp</string>
+                                                       <string>fX264LevelPopUpLabel</string>
+                                                       <string>fX264PresetSelectedTextField</string>
+                                                       <string>fX264PresetSliderLabel</string>
+                                                       <string>fX264PresetsBox</string>
+                                                       <string>fX264PresetsSlider</string>
+                                                       <string>fX264ProfilePopUp</string>
+                                                       <string>fX264ProfilePopUpLabel</string>
+                                                       <string>fX264TunePopUp</string>
+                                                       <string>fX264TunePopUpLabel</string>
+                                                       <string>fx264UseAdvancedOptionsCheck</string>
                                                </object>
                                                <object class="NSMutableArray" key="dict.values">
                                                        <bool key="EncodedWithXMLCoder">YES</bool>
@@ -11717,6 +12859,10 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                <string key="name">fAudioAutoPassthruBox</string>
                                                                <string key="candidateClassName">NSBox</string>
                                                        </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fAudioDelegate</string>
+                                                               <string key="candidateClassName">HBAudioController</string>
+                                                       </object>
                                                        <object class="IBToOneOutletInfo">
                                                                <string key="name">fAudioFallbackPopUp</string>
                                                                <string key="candidateClassName">NSButton</string>
@@ -11737,6 +12883,18 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                <string key="name">fCreateChapterMarkers</string>
                                                                <string key="candidateClassName">NSButton</string>
                                                        </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fDisplayX264PresetsAdditonalOptionsLabel</string>
+                                                               <string key="candidateClassName">NSTextField</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fDisplayX264PresetsAdditonalOptionsTextField</string>
+                                                               <string key="candidateClassName">NSTextField</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fDisplayX264PresetsUnparseTextField</string>
+                                                               <string key="candidateClassName">NSTextField</string>
+                                                       </object>
                                                        <object class="IBToOneOutletInfo">
                                                                <string key="name">fDstBrowseButton</string>
                                                                <string key="candidateClassName">NSButton</string>
@@ -12037,6 +13195,54 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                                <string key="name">fWindow</string>
                                                                <string key="candidateClassName">NSWindow</string>
                                                        </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fX264FastDecodeCheck</string>
+                                                               <string key="candidateClassName">NSButton</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fX264LevelPopUp</string>
+                                                               <string key="candidateClassName">NSPopUpButton</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fX264LevelPopUpLabel</string>
+                                                               <string key="candidateClassName">NSTextField</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fX264PresetSelectedTextField</string>
+                                                               <string key="candidateClassName">NSTextField</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fX264PresetSliderLabel</string>
+                                                               <string key="candidateClassName">NSTextField</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fX264PresetsBox</string>
+                                                               <string key="candidateClassName">NSBox</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fX264PresetsSlider</string>
+                                                               <string key="candidateClassName">NSSlider</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fX264ProfilePopUp</string>
+                                                               <string key="candidateClassName">NSPopUpButton</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fX264ProfilePopUpLabel</string>
+                                                               <string key="candidateClassName">NSTextField</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fX264TunePopUp</string>
+                                                               <string key="candidateClassName">NSPopUpButton</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fX264TunePopUpLabel</string>
+                                                               <string key="candidateClassName">NSTextField</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fx264UseAdvancedOptionsCheck</string>
+                                                               <string key="candidateClassName">NSButton</string>
+                                                       </object>
                                                </object>
                                        </object>
                                        <object class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -12113,8 +13319,8 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                <string>{128, 128}</string>
                                <string>{15, 15}</string>
                                <string>{8, 8}</string>
-                               <string>{9, 8}</string>
-                               <string>{7, 2}</string>
+                               <string>{11, 11}</string>
+                               <string>{10, 3}</string>
                                <string>{8, 8}</string>
                                <string>{15, 15}</string>
                        </object>
index b3328dc719f4eeed5c995d3d1bc7d307703e32d4..64029f65df3de660328726f3cfc6e938538e7df4 100644 (file)
@@ -1,28 +1,33 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
+<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
        <data>
                <int key="IBDocument.SystemTarget">1050</int>
-               <string key="IBDocument.SystemVersion">9G55</string>
-               <string key="IBDocument.InterfaceBuilderVersion">677</string>
-               <string key="IBDocument.AppKitVersion">949.43</string>
-               <string key="IBDocument.HIToolboxVersion">353.00</string>
-               <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
+               <string key="IBDocument.SystemVersion">11G63</string>
+               <string key="IBDocument.InterfaceBuilderVersion">1938</string>
+               <string key="IBDocument.AppKitVersion">1138.51</string>
+               <string key="IBDocument.HIToolboxVersion">569.00</string>
+               <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
+                       <string key="NS.object.0">1938</string>
+               </object>
+               <object class="NSArray" key="IBDocument.IntegratedClassDependencies">
                        <bool key="EncodedWithXMLCoder">YES</bool>
-                       <integer value="11"/>
-                       <integer value="6"/>
+                       <string>NSView</string>
+                       <string>NSMenu</string>
+                       <string>NSScrollView</string>
+                       <string>NSWindowTemplate</string>
+                       <string>NSMenuItem</string>
+                       <string>NSTextView</string>
+                       <string>NSScroller</string>
+                       <string>NSCustomObject</string>
                </object>
                <object class="NSArray" key="IBDocument.PluginDependencies">
                        <bool key="EncodedWithXMLCoder">YES</bool>
                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                </object>
                <object class="NSMutableDictionary" key="IBDocument.Metadata">
-                       <bool key="EncodedWithXMLCoder">YES</bool>
-                       <object class="NSArray" key="dict.sortedKeys">
-                               <bool key="EncodedWithXMLCoder">YES</bool>
-                       </object>
-                       <object class="NSMutableArray" key="dict.values">
-                               <bool key="EncodedWithXMLCoder">YES</bool>
-                       </object>
+                       <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
+                       <integer value="1" key="NS.object.0"/>
                </object>
                <object class="NSMutableArray" key="IBDocument.RootObjects" id="640353287">
                        <bool key="EncodedWithXMLCoder">YES</bool>
@@ -45,8 +50,8 @@
                                <object class="NSMutableString" key="NSViewClass">
                                        <characters key="NS.bytes">View</characters>
                                </object>
-                               <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string>
-                               <string key="NSWindowContentMinSize">{214.502, 107}</string>
+                               <nil key="NSUserInterfaceItemIdentifier"/>
+                               <string key="NSWindowContentMinSize">{214.50200000000001, 107}</string>
                                <object class="NSView" key="NSWindowView" id="1055997608">
                                        <reference key="NSNextResponder"/>
                                        <int key="NSvFlags">256</int>
                                                                                                        <nil key="NSDelegate"/>
                                                                                                </object>
                                                                                                <reference key="NSTextView" ref="123567529"/>
-                                                                                               <double key="NSWidth">3.630000e+02</double>
+                                                                                               <double key="NSWidth">363</double>
                                                                                                <int key="NSTCFlags">1</int>
                                                                                        </object>
                                                                                        <object class="NSTextViewSharedData" key="NSSharedData">
                                                                                                <int key="NSFlags">11109</int>
+                                                                                               <int key="NSTextCheckingTypes">0</int>
+                                                                                               <nil key="NSMarkedAttributes"/>
                                                                                                <object class="NSColor" key="NSBackgroundColor" id="913007966">
                                                                                                        <int key="NSColorSpace">3</int>
                                                                                                        <bytes key="NSWhite">MQA</bytes>
                                                                                                </object>
-                                                                                               <object class="NSColor" key="NSInsertionColor" id="76040784">
-                                                                                                       <int key="NSColorSpace">3</int>
-                                                                                                       <bytes key="NSWhite">MAA</bytes>
-                                                                                               </object>
                                                                                                <object class="NSDictionary" key="NSSelectedAttributes">
                                                                                                        <bool key="EncodedWithXMLCoder">YES</bool>
-                                                                                                       <object class="NSMutableArray" key="dict.sortedKeys">
+                                                                                                       <object class="NSArray" key="dict.sortedKeys">
                                                                                                                <bool key="EncodedWithXMLCoder">YES</bool>
                                                                                                                <string>NSBackgroundColor</string>
                                                                                                                <string>NSColor</string>
                                                                                                                        <string key="NSColorName">selectedTextBackgroundColor</string>
                                                                                                                        <object class="NSColor" key="NSColor">
                                                                                                                                <int key="NSColorSpace">3</int>
-                                                                                                                               <bytes key="NSWhite">MC42NjY2NjY2OQA</bytes>
+                                                                                                                               <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
                                                                                                                        </object>
                                                                                                                </object>
                                                                                                                <object class="NSColor">
                                                                                                                        <int key="NSColorSpace">6</int>
                                                                                                                        <string key="NSCatalogName">System</string>
                                                                                                                        <string key="NSColorName">selectedTextColor</string>
-                                                                                                                       <reference key="NSColor" ref="76040784"/>
+                                                                                                                       <object class="NSColor" key="NSColor" id="76040784">
+                                                                                                                               <int key="NSColorSpace">3</int>
+                                                                                                                               <bytes key="NSWhite">MAA</bytes>
+                                                                                                                       </object>
                                                                                                                </object>
                                                                                                        </object>
                                                                                                </object>
-                                                                                               <nil key="NSMarkedAttributes"/>
+                                                                                               <reference key="NSInsertionColor" ref="76040784"/>
                                                                                                <object class="NSDictionary" key="NSLinkAttributes">
                                                                                                        <bool key="EncodedWithXMLCoder">YES</bool>
-                                                                                                       <object class="NSMutableArray" key="dict.sortedKeys">
+                                                                                                       <object class="NSArray" key="dict.sortedKeys">
                                                                                                                <bool key="EncodedWithXMLCoder">YES</bool>
                                                                                                                <string>NSColor</string>
                                                                                                                <string>NSUnderline</string>
                                                                                                                        <int key="NSColorSpace">1</int>
                                                                                                                        <bytes key="NSRGB">MCAwIDEAA</bytes>
                                                                                                                </object>
-                                                                                                               <integer value="1" id="9"/>
+                                                                                                               <integer value="1"/>
                                                                                                        </object>
                                                                                                </object>
                                                                                                <nil key="NSDefaultParagraphStyle"/>
+                                                                                               <nil key="NSTextFinder"/>
+                                                                                               <int key="NSPreferredTextFinderStyle">1</int>
                                                                                        </object>
                                                                                        <int key="NSTVFlags">6</int>
-                                                                                       <string key="NSMaxSize">{743, 1e+07}</string>
+                                                                                       <string key="NSMaxSize">{743, 10000000}</string>
                                                                                        <string key="NSMinize">{83, 0}</string>
                                                                                        <nil key="NSDelegate"/>
                                                                                </object>
                                                                        <reference key="NSDocView" ref="123567529"/>
                                                                        <reference key="NSBGColor" ref="913007966"/>
                                                                        <object class="NSCursor" key="NSCursor">
-                                                                               <string key="NSHotSpot">{4, -5}</string>
-                                                                               <int key="NSCursorType">1</int>
+                                                                               <string key="NSHotSpot">{4, 5}</string>
+                                                                               <object class="NSImage" key="NSImage">
+                                                                                       <int key="NSImageFlags">12582912</int>
+                                                                                       <object class="NSMutableArray" key="NSReps">
+                                                                                               <bool key="EncodedWithXMLCoder">YES</bool>
+                                                                                               <object class="NSArray">
+                                                                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                                                                       <integer value="0"/>
+                                                                                                       <object class="NSBitmapImageRep">
+                                                                                                               <object class="NSData" key="NSTIFFRepresentation">
+                                                                                                                       <bytes key="NS.bytes">TU0AKgAAAHCAFUqgBVKsAAAAwdVQUqwaEQeIRGJRGFlYqwWLQ+JxuOQpVRmEx2RROKwOQyOUQSPyaUym
+SxqWyKXyeYxyZzWbSuJTScRCbz2Nz+gRKhUOfTqeUai0OSxiWTiBQSHSGFquGwekxyAgAAAOAQAAAwAA
+AAEAEAAAAQEAAwAAAAEAEAAAAQIAAwAAAAIACAAIAQMAAwAAAAEABQAAAQYAAwAAAAEAAQAAAREABAAA
+AAEAAAAIARIAAwAAAAEAAQAAARUAAwAAAAEAAgAAARYAAwAAAAEAEAAAARcABAAAAAEAAABnARwAAwAA
+AAEAAQAAAT0AAwAAAAEAAgAAAVIAAwAAAAEAAQAAAVMAAwAAAAIAAQABAAAAAA</bytes>
+                                                                                                               </object>
+                                                                                                       </object>
+                                                                                               </object>
+                                                                                       </object>
+                                                                                       <object class="NSColor" key="NSColor">
+                                                                                               <int key="NSColorSpace">3</int>
+                                                                                               <bytes key="NSWhite">MCAwAA</bytes>
+                                                                                       </object>
+                                                                               </object>
                                                                        </object>
                                                                        <int key="NScvFlags">4</int>
                                                                </object>
                                                                        <reference key="NSSuperview" ref="777989256"/>
                                                                        <reference key="NSTarget" ref="777989256"/>
                                                                        <string key="NSAction">_doScroller:</string>
-                                                                       <double key="NSPercent">6.003236e-01</double>
+                                                                       <double key="NSPercent">0.60032359999999996</double>
                                                                </object>
                                                                <object class="NSScroller" id="446620405">
                                                                        <reference key="NSNextResponder" ref="777989256"/>
-                                                                       <int key="NSvFlags">256</int>
+                                                                       <int key="NSvFlags">-2147483392</int>
                                                                        <string key="NSFrame">{{-100, -100}, {87, 18}}</string>
                                                                        <reference key="NSSuperview" ref="777989256"/>
                                                                        <int key="NSsFlags">1</int>
                                                                        <reference key="NSTarget" ref="777989256"/>
                                                                        <string key="NSAction">_doScroller:</string>
-                                                                       <double key="NSCurValue">1.000000e+00</double>
-                                                                       <double key="NSPercent">9.456522e-01</double>
+                                                                       <double key="NSCurValue">1</double>
+                                                                       <double key="NSPercent">0.94565220000000005</double>
                                                                </object>
                                                        </object>
                                                        <string key="NSFrame">{{-1, -1}, {380, 373}}</string>
                                                        <reference key="NSSuperview" ref="1055997608"/>
                                                        <reference key="NSNextKeyView" ref="630219039"/>
-                                                       <int key="NSsFlags">18</int>
+                                                       <int key="NSsFlags">133138</int>
                                                        <reference key="NSVScroller" ref="821320990"/>
                                                        <reference key="NSHScroller" ref="446620405"/>
                                                        <reference key="NSContentView" ref="630219039"/>
                                        <string key="NSFrameSize">{378, 371}</string>
                                        <reference key="NSSuperview"/>
                                </object>
-                               <string key="NSScreenRect">{{0, 0}, {1920, 1178}}</string>
-                               <string key="NSMinSize">{214.502, 129}</string>
-                               <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
+                               <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
+                               <string key="NSMinSize">{214.50200000000001, 129}</string>
+                               <string key="NSMaxSize">{10000000000000, 10000000000000}</string>
+                               <bool key="NSWindowIsRestorable">YES</bool>
                        </object>
                        <object class="NSMenu" id="391216144">
                                <string key="NSTitle">Menu</string>
                <object class="IBObjectContainer" key="IBDocument.Objects">
                        <object class="NSMutableArray" key="connectionRecords">
                                <bool key="EncodedWithXMLCoder">YES</bool>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">delegate</string>
-                                               <reference key="source" ref="1026712888"/>
-                                               <reference key="destination" ref="282956917"/>
-                                       </object>
-                                       <int key="connectionID">17</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">delegate</string>
-                                               <reference key="source" ref="123567529"/>
-                                               <reference key="destination" ref="282956917"/>
-                                       </object>
-                                       <int key="connectionID">21</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">menu</string>
-                                               <reference key="source" ref="123567529"/>
-                                               <reference key="destination" ref="391216144"/>
-                                       </object>
-                                       <int key="connectionID">22</int>
-                               </object>
                                <object class="IBConnectionRecord">
                                        <object class="IBOutletConnection" key="connection">
                                                <string key="label">textView</string>
                                        </object>
                                        <int key="connectionID">44</int>
                                </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">delegate</string>
+                                               <reference key="source" ref="1026712888"/>
+                                               <reference key="destination" ref="282956917"/>
+                                       </object>
+                                       <int key="connectionID">17</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">delegate</string>
+                                               <reference key="source" ref="123567529"/>
+                                               <reference key="destination" ref="282956917"/>
+                                       </object>
+                                       <int key="connectionID">21</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">menu</string>
+                                               <reference key="source" ref="123567529"/>
+                                               <reference key="destination" ref="391216144"/>
+                                       </object>
+                                       <int key="connectionID">22</int>
+                               </object>
                        </object>
                        <object class="IBMutableOrderedSet" key="objectRecords">
                                <object class="NSArray" key="orderedObjects">
                                                <int key="objectID">-2</int>
                                                <reference key="object" ref="282956917"/>
                                                <reference key="parent" ref="650019074"/>
-                                               <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
+                                               <string key="objectName">File's Owner</string>
                                        </object>
                                        <object class="IBObjectRecord">
                                                <int key="objectID">-1</int>
                        </object>
                        <object class="NSMutableDictionary" key="flattenedProperties">
                                <bool key="EncodedWithXMLCoder">YES</bool>
-                               <object class="NSMutableArray" key="dict.sortedKeys">
+                               <object class="NSArray" key="dict.sortedKeys">
                                        <bool key="EncodedWithXMLCoder">YES</bool>
                                        <string>-1.IBPluginDependency</string>
                                        <string>-2.IBPluginDependency</string>
                                        <string>-3.IBPluginDependency</string>
-                                       <string>-3.ImportedFromIB2</string>
-                                       <string>11.IBEditorWindowLastContentRect</string>
                                        <string>11.IBPluginDependency</string>
-                                       <string>11.ImportedFromIB2</string>
                                        <string>12.IBPluginDependency</string>
-                                       <string>12.ImportedFromIB2</string>
                                        <string>19.IBPluginDependency</string>
-                                       <string>19.ImportedFromIB2</string>
                                        <string>20.IBPluginDependency</string>
-                                       <string>20.ImportedFromIB2</string>
                                        <string>24.IBPluginDependency</string>
-                                       <string>24.ImportedFromIB2</string>
                                        <string>33.IBPluginDependency</string>
-                                       <string>33.ImportedFromIB2</string>
                                        <string>35.IBPluginDependency</string>
-                                       <string>35.ImportedFromIB2</string>
                                        <string>37.IBPluginDependency</string>
-                                       <string>37.ImportedFromIB2</string>
                                        <string>39.IBPluginDependency</string>
                                        <string>39.IBShouldRemoveOnLegacySave</string>
                                        <string>40.IBPluginDependency</string>
                                        <string>40.IBShouldRemoveOnLegacySave</string>
                                        <string>42.IBPluginDependency</string>
-                                       <string>42.ImportedFromIB2</string>
                                        <string>43.IBPluginDependency</string>
-                                       <string>43.ImportedFromIB2</string>
-                                       <string>5.IBEditorWindowLastContentRect</string>
+                                       <string>5.IBPluginDependency</string>
                                        <string>5.IBWindowTemplateEditedContentRect</string>
-                                       <string>5.ImportedFromIB2</string>
-                                       <string>5.windowTemplate.hasMaxSize</string>
-                                       <string>5.windowTemplate.hasMinSize</string>
-                                       <string>5.windowTemplate.maxSize</string>
-                                       <string>5.windowTemplate.minSize</string>
                                        <string>6.IBPluginDependency</string>
-                                       <string>6.ImportedFromIB2</string>
                                </object>
                                <object class="NSMutableArray" key="dict.values">
                                        <bool key="EncodedWithXMLCoder">YES</bool>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
-                                       <string>{{319, 676}, {300, 123}}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
+                                       <integer value="1"/>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <integer value="1"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
-                                       <string>{{597, 246}, {378, 371}}</string>
                                        <string>{{597, 246}, {378, 371}}</string>
-                                       <reference ref="9"/>
-                                       <boolean value="NO"/>
-                                       <reference ref="9"/>
-                                       <string>{3.40282e+38, 3.40282e+38}</string>
-                                       <string>{214.502, 107}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <reference ref="9"/>
                                </object>
                        </object>
                        <object class="NSMutableDictionary" key="unlocalizedProperties">
                                <bool key="EncodedWithXMLCoder">YES</bool>
-                               <object class="NSArray" key="dict.sortedKeys">
-                                       <bool key="EncodedWithXMLCoder">YES</bool>
-                               </object>
-                               <object class="NSMutableArray" key="dict.values">
-                                       <bool key="EncodedWithXMLCoder">YES</bool>
-                               </object>
+                               <reference key="dict.sortedKeys" ref="650019074"/>
+                               <reference key="dict.values" ref="650019074"/>
                        </object>
                        <nil key="activeLocalization"/>
                        <object class="NSMutableDictionary" key="localizations">
                                <bool key="EncodedWithXMLCoder">YES</bool>
-                               <object class="NSArray" key="dict.sortedKeys">
-                                       <bool key="EncodedWithXMLCoder">YES</bool>
-                               </object>
-                               <object class="NSMutableArray" key="dict.values">
-                                       <bool key="EncodedWithXMLCoder">YES</bool>
-                               </object>
+                               <reference key="dict.sortedKeys" ref="650019074"/>
+                               <reference key="dict.values" ref="650019074"/>
                        </object>
                        <nil key="sourceID"/>
                        <int key="maxID">44</int>
                </object>
-               <object class="IBClassDescriber" key="IBDocument.Classes">
-                       <object class="NSMutableArray" key="referencedPartialClassDescriptions">
+               <object class="IBClassDescriber" key="IBDocument.Classes"/>
+               <int key="IBDocument.localizationMode">0</int>
+               <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>
+               <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencies">
+                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string>
+                       <integer value="1050" key="NS.object.0"/>
+               </object>
+               <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
+                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string>
+                       <integer value="3000" key="NS.object.0"/>
+               </object>
+               <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+               <int key="IBDocument.defaultPropertyAccessControl">3</int>
+               <object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
+                       <bool key="EncodedWithXMLCoder">YES</bool>
+                       <object class="NSArray" key="dict.sortedKeys">
                                <bool key="EncodedWithXMLCoder">YES</bool>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">FirstResponder</string>
-                                       <string key="superclassName">NSObject</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBUserSource</string>
-                                               <string key="minorKey"/>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">HBOutputPanelController</string>
-                                       <string key="superclassName">NSWindowController</string>
-                                       <object class="NSMutableDictionary" key="actions">
-                                               <bool key="EncodedWithXMLCoder">YES</bool>
-                                               <object class="NSMutableArray" key="dict.sortedKeys">
-                                                       <bool key="EncodedWithXMLCoder">YES</bool>
-                                                       <string>clearActivityLogFile:</string>
-                                                       <string>clearOutput:</string>
-                                                       <string>copyAllOutputToPasteboard:</string>
-                                                       <string>openActivityLogFile:</string>
-                                                       <string>openEncodeLogDirectory:</string>
-                                                       <string>showOutputPanel:</string>
-                                               </object>
-                                               <object class="NSMutableArray" key="dict.values">
-                                                       <bool key="EncodedWithXMLCoder">YES</bool>
-                                                       <string>id</string>
-                                                       <string>id</string>
-                                                       <string>id</string>
-                                                       <string>id</string>
-                                                       <string>id</string>
-                                                       <string>id</string>
-                                               </object>
-                                       </object>
-                                       <object class="NSMutableDictionary" key="outlets">
-                                               <string key="NS.key.0">textView</string>
-                                               <string key="NS.object.0">NSTextView</string>
-                                       </object>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBProjectSource</string>
-                                               <string key="minorKey">HBOutputPanelController.h</string>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">HBOutputPanelController</string>
-                                       <string key="superclassName">NSWindowController</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBUserSource</string>
-                                               <string key="minorKey"/>
-                                       </object>
-                               </object>
-                               <object class="IBPartialClassDescription">
-                                       <string key="className">NSObject</string>
-                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
-                                               <string key="majorKey">IBUserSource</string>
-                                               <string key="minorKey"/>
-                                       </object>
-                               </object>
+                               <string>NSMenuCheckmark</string>
+                               <string>NSMenuMixedState</string>
+                       </object>
+                       <object class="NSMutableArray" key="dict.values">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <string>{11, 11}</string>
+                               <string>{10, 3}</string>
                        </object>
                </object>
-               <int key="IBDocument.localizationMode">0</int>
-               <string key="IBDocument.LastKnownRelativeProjectPath">../HandBrake.xcodeproj</string>
-               <int key="IBDocument.defaultPropertyAccessControl">3</int>
        </data>
 </archive>
index 6add5ab908ce52214274ae82a20062eb0c59ee7d..b2f4c2100e9eb3acb659f9e56fc553486de2c9f0 100644 (file)
@@ -1319,19 +1319,64 @@ return ![(HBQueueOutlineView*)outlineView isDragging];
         [finalString appendString: videoInfo withAttributes:detailAttr];
         [finalString appendString:@"\n" withAttributes:detailAttr];
         
+        // x264 options (for now either the x264 presets panel or the hb x264 advanced panel
         if ([[item objectForKey:@"VideoEncoder"] isEqualToString: @"H.264 (x264)"])
         {
-            [finalString appendString: @"x264 Options: " withAttributes:detailBoldAttr];
-            if ([item objectForKey:@"x264Option"])
+            // check to see if we are using a x264 preset, if so concatenate the display of presets, tunes , etc.
+            if ([item objectForKey:@"x264Preset"])
             {
-                [finalString appendString: [item objectForKey:@"x264Option"] withAttributes:detailAttr];
+                [finalString appendString: @"x264 Presets: " withAttributes:detailBoldAttr];
+                NSString * x264PresetsInfo = @"";
+                x264PresetsInfo = [x264PresetsInfo stringByAppendingString: [NSString stringWithFormat:@"Preset:%@ - ",[item objectForKey:@"x264Preset"]]]; 
+                if ([item objectForKey:@"x264Tune"])
+                {
+                    x264PresetsInfo = [x264PresetsInfo stringByAppendingString: [NSString stringWithFormat:@"Tune:%@ -  ",[item objectForKey:@"x264Tune"]]];   
+                }
+                else
+                {
+                 x264PresetsInfo = [x264PresetsInfo stringByAppendingString: [NSString stringWithFormat:@"Tune:none - "]];   
+                }
+                if ([item objectForKey:@"x264Option"])
+                {
+                     x264PresetsInfo = [x264PresetsInfo stringByAppendingString: [NSString stringWithFormat:@"Additional Options:%@ - ",[item objectForKey:@"x264AdditionalOptions"]]];   
+                }
+                if ([item objectForKey:@"h264Profile"])
+                {
+                    x264PresetsInfo = [x264PresetsInfo stringByAppendingString: [NSString stringWithFormat:@"Profile:%@ - ",[item objectForKey:@"h264Profile"]]];   
+                }
+                else
+                {
+                    x264PresetsInfo = [x264PresetsInfo stringByAppendingString: [NSString stringWithFormat:@"Profile:auto - "]];   
+                }
+                if ([item objectForKey:@"h264Level"])
+                {
+                    x264PresetsInfo = [x264PresetsInfo stringByAppendingString: [NSString stringWithFormat:@"Level:%@",[item objectForKey:@"h264Level"]]];   
+                }
+                else
+                {
+                    x264PresetsInfo = [x264PresetsInfo stringByAppendingString: [NSString stringWithFormat:@"Level:auto"]];   
+                }
+                
+                [finalString appendString: x264PresetsInfo withAttributes:detailAttr];
+                
             }
-            else
+            else /// we are using the HB Advanced Panel
             {
-                [finalString appendString: @"x264 defaults" withAttributes:detailAttr];   
+                [finalString appendString: @"x264 Advanced Options: " withAttributes:detailBoldAttr];
+                if ([item objectForKey:@"x264Option"])
+                {
+                    [finalString appendString: [item objectForKey:@"x264Option"] withAttributes:detailAttr];
+                }
+                else
+                {
+                    [finalString appendString: @"x264 defaults" withAttributes:detailAttr];   
+                }
+                
             }
+            
             [finalString appendString:@"\n" withAttributes:detailAttr];
         }
+        
         /*If we are not x264 and we are not Theora then we must be FFmpeg (lavc) */
         else if (![[item objectForKey:@"VideoEncoder"] isEqualToString: @"VP3 (Theora)"])
         {