rendered paste body<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>Form1</class>
<widget class="Dialog">
<property name="name">
<cstring>Form1</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>562</width>
<height>511</height>
</rect>
</property>
<property name="caption">
<string>Form1</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
<string></string>
<string></string>
</stringlist>
</property>
<widget class="GroupBox">
<property name="name">
<cstring>GroupBox2</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>120</y>
<width>270</width>
<height>170</height>
</rect>
</property>
<property name="title">
<string>Video</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
<widget class="Label">
<property name="name">
<cstring>Label11_2</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>80</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Resolucion:</string>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label11</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>110</y>
<width>80</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Frame Rate:</string>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label11_2_4</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>80</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Codec:</string>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label11_2_3</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>80</y>
<width>80</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Bitrate:</string>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label11_2_2</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>140</y>
<width>80</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Quant Type:</string>
</property>
</widget>
<widget class="ComboBox">
<item>
<property name="text">
<string>h263</string>
</property>
</item>
<property name="name">
<cstring>Video_Quant_Type</cstring>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>140</y>
<width>160</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="ComboBox">
<item>
<property name="text">
<string>20</string>
</property>
</item>
<item>
<property name="text">
<string>15</string>
</property>
</item>
<property name="name">
<cstring>Frame_Rate</cstring>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>110</y>
<width>160</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="ComboBox">
<item>
<property name="text">
<string>600</string>
</property>
</item>
<item>
<property name="text">
<string>450</string>
</property>
</item>
<item>
<property name="text">
<string>300</string>
</property>
</item>
<property name="name">
<cstring>Video_Bitrate</cstring>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>80</y>
<width>160</width>
<height>20</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
</widget>
<widget class="ComboBox">
<item>
<property name="text">
<string>640x480</string>
</property>
</item>
<item>
<property name="text">
<string>320x240</string>
</property>
</item>
<item>
<property name="text">
<string>224x176</string>
</property>
</item>
<property name="name">
<cstring>Resolucion</cstring>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>50</y>
<width>160</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="ComboBox">
<item>
<property name="text">
<string>xvid</string>
</property>
</item>
<property name="name">
<cstring>Video_Codec</cstring>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>20</y>
<width>160</width>
<height>20</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
</widget>
</widget>
<widget class="StatusBar">
<property name="name">
<cstring>StatusBar</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>470</y>
<width>520</width>
<height>24</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>32767</width>
<height>32767</height>
</size>
</property>
</widget>
<widget class="GroupBox">
<property name="name">
<cstring>GroupBox1</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>270</width>
<height>80</height>
</rect>
</property>
<property name="title">
<string>Files</string>
</property>
<widget class="Label">
<property name="name">
<cstring>Label10</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>50</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Output:</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label9</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>50</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Input:</string>
</property>
</widget>
<widget class="FileSelector">
<property name="name">
<cstring>Input_File</cstring>
</property>
<property name="geometry">
<rect>
<x>60</x>
<y>20</y>
<width>200</width>
<height>21</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@Input_File.setText( @Input.openfile(@exec("pwd"), *.*, Select Input File...) )
@Title</string>
</stringlist>
</property>
</widget>
<widget class="LineEdit">
<property name="name">
<cstring>Title</cstring>
</property>
<property name="geometry">
<rect>
<x>60</x>
<y>50</y>
<width>200</width>
<height>21</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@Title.setText( @String.mid( @Input_File.text, @expr(@String.findRev(@Input_File.text, "/")+1), @expr(@String.findRev(@Input_File.text, ".") - @String.findRev(@Input_File.text, "/") -1 ) ) )
</string>
</stringlist>
</property>
</widget>
</widget>
<widget class="ScriptObject">
<property name="name">
<cstring>Cleanup</cstring>
</property>
<property name="geometry">
<rect>
<x>290</x>
<y>100</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@GroupBox1.setEnabled(true)
@GroupBox2.setEnabled(true)
@GroupBox3.setEnabled(true)
@Konsole.cancel
@Konsole.clear
@Ready.setVisible(true)
@StatusBar.setText("Ready.")</string>
</stringlist>
</property>
</widget>
<widget class="CloseButton">
<property name="name">
<cstring>Exit</cstring>
</property>
<property name="geometry">
<rect>
<x>320</x>
<y>71</y>
<width>221</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string>E&xit</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
</widget>
<widget class="Konsole">
<property name="name">
<cstring>konsole</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>320</x>
<y>130</y>
<width>220</width>
<height>320</height>
</rect>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>mencoder "@Input_File.text" -ofps @Frame_Rate.text -vf-add scale=@Resolucion.text -vf-add expand=@Resolucion.text:-1:-1:1 -srate @Sample_Rate.text -ovc @Video_Codec.text -xvidencopts bitrate=@Video_Bitrate.text:max_bframes=0:quant_type=@Video_Quant_Type.text -oac @Audio_Codec.text -lavcopts acodec=@Audio_Format.text:abitrate=@Audio_Bitrate.text -o "@global(OUTFILE)" && \
echo "Encoding: Done"
</string>
</stringlist>
</property>
</widget>
<widget class="GroupBox">
<property name="name">
<cstring>GroupBox3</cstring>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>310</y>
<width>270</width>
<height>140</height>
</rect>
</property>
<property name="title">
<string>Audio</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
<widget class="ComboBox">
<item>
<property name="text">
<string>196</string>
</property>
</item>
<item>
<property name="text">
<string>128</string>
</property>
</item>
<item>
<property name="text">
<string>96</string>
</property>
</item>
<item>
<property name="text">
<string>64</string>
</property>
</item>
<property name="name">
<cstring>Audio_Bitrate</cstring>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>80</y>
<width>160</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label11_2_3_2_3</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>110</y>
<width>85</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Sample Rate:</string>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label11_2_3_2</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>80</y>
<width>80</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Bitrate:</string>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label11_2_3_2_2</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>80</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Formato:</string>
</property>
</widget>
<widget class="Label">
<property name="name">
<cstring>Label11_2_4_2</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>80</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Codec:</string>
</property>
</widget>
<widget class="ComboBox">
<item>
<property name="text">
<string>44100</string>
</property>
</item>
<property name="name">
<cstring>Sample_Rate</cstring>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>110</y>
<width>160</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="ComboBox">
<item>
<property name="text">
<string>mp2</string>
</property>
</item>
<property name="name">
<cstring>Audio_Format</cstring>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>50</y>
<width>160</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="ComboBox">
<item>
<property name="text">
<string>lavc</string>
</property>
</item>
<property name="name">
<cstring>Audio_Codec</cstring>
</property>
<property name="geometry">
<rect>
<x>100</x>
<y>20</y>
<width>160</width>
<height>20</height>
</rect>
</property>
</widget>
</widget>
<widget class="ExecButton">
<property name="name">
<cstring>Ready</cstring>
</property>
<property name="geometry">
<rect>
<x>320</x>
<y>30</y>
<width>220</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string>Ready!</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@setGlobal(OUTFILE, "")
@setGlobal(OUTFILE, @Input.savefile( @String.left(@Input_File.text, @String.findRev(@Input_File.text,"/"))/@Title.text, *.avi, Save Video As...) )
@if( !@String.isEmpty(@global(OUTFILE)) )
@GroupBox1.setEnabled(false)
@GroupBox2.setEnabled(false)
@GroupBox3.setEnabled(false)
@Ready.setVisible(false)
@StatusBar.setText("Encoding...")
@konsole.execute
@endif
</string>
</stringlist>
</property>
</widget>
</widget>
<layoutdefaults spacing="6" margin="11"/>
</UI>