You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
k3b/src/rip/videodvd/base_k3bvideodvdrippingwidg...

713 lines
40 KiB

<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>base_K3bVideoDVDRippingWidget</class>
<author>Seastian Trueg</author>
<widget class="TQWidget">
<property name="name">
<cstring>Form1</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>644</width>
<height>387</height>
</rect>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel4</cstring>
</property>
<property name="text">
<string>Please select the audio streams you want to include in every ripped title</string>
</property>
</widget>
<widget class="TDEListView">
<property name="name">
<cstring>m_titleView</cstring>
</property>
<property name="allColumnsShowFocus">
<bool>true</bool>
</property>
<property name="fullWidth">
<bool>true</bool>
</property>
</widget>
<widget class="TQTabWidget">
<property name="name">
<cstring>tabWidget2</cstring>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>Setti&amp;ngs</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox" row="0" column="1">
<property name="name">
<cstring>groupBox6</cstring>
</property>
<property name="title">
<string>Video Quality</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
<property name="text">
<string>Video Size:</string>
</property>
</widget>
<widget class="TQComboBox">
<property name="name">
<cstring>m_comboVideoSize</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>m_buttonCustomPictureSize</cstring>
</property>
<property name="text">
<string>&amp;Custom...</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel2_3</cstring>
</property>
<property name="text">
<string>Video Bitrate:</string>
</property>
</widget>
<widget class="TQSpinBox">
<property name="name">
<cstring>m_spinVideoBitrate</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="suffix">
<string> kbps</string>
</property>
<property name="maxValue">
<number>10000</number>
</property>
<property name="value">
<number>1800</number>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<widget class="TQGroupBox" row="1" column="0">
<property name="name">
<cstring>groupBox1_2</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Target Folder</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="text">
<string>Free space in directory:</string>
</property>
</widget>
<widget class="KURLRequester" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>m_editBaseDir</cstring>
</property>
</widget>
<widget class="TQLabel" row="1" column="1">
<property name="name">
<cstring>m_labelFreeSpace</cstring>
</property>
<property name="text">
<string>-</string>
</property>
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel1_2_2</cstring>
</property>
<property name="text">
<string>Space needed:</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="1">
<property name="name">
<cstring>m_labelNeededSpace</cstring>
</property>
<property name="text">
<string>-</string>
</property>
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
</grid>
</widget>
<widget class="TQGroupBox" row="1" column="1">
<property name="name">
<cstring>groupBox4</cstring>
</property>
<property name="title">
<string>Audio Quality</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQWidgetStack">
<property name="name">
<cstring>m_stackAudioQuality</cstring>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>m_stackPageAudioQualityMp3</cstring>
</property>
<attribute name="id">
<number>0</number>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>m_checkAudioVBR</cstring>
</property>
<property name="text">
<string>Variable &amp;Bitrate</string>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>m_labelAudioBitrate</cstring>
</property>
<property name="text">
<string>Audio Bitrate:</string>
</property>
</widget>
<widget class="TQComboBox">
<property name="name">
<cstring>m_comboAudioBitrate</cstring>
</property>
<property name="duplicatesEnabled">
<bool>false</bool>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>m_stackPageAudioQualityAC3Pt</cstring>
</property>
<attribute name="id">
<number>1</number>
</attribute>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="KActiveLabel">
<property name="name">
<cstring>m_labelNoAudioSettings</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>&lt;p&gt;No Audio Quality settings available for &lt;em&gt;AC3 pass-through&lt;/em&gt;. The audio stream from the Video DVD is used without any changes.</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>m_stackPageAudioQualityAC3</cstring>
</property>
<attribute name="id">
<number>2</number>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout8</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1_3</cstring>
</property>
<property name="text">
<string>Audio Bitrate:</string>
</property>
</widget>
<widget class="TQSpinBox">
<property name="name">
<cstring>m_spinAudioBitrate</cstring>
</property>
<property name="suffix">
<string> kbps</string>
</property>
<property name="maxValue">
<number>640</number>
</property>
<property name="minValue">
<number>32</number>
</property>
<property name="lineStep">
<number>2</number>
</property>
<property name="value">
<number>128</number>
</property>
</widget>
</hbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer3</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</vbox>
</widget>
</widget>
</vbox>
</widget>
<widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>groupBox1</cstring>
</property>
<property name="title">
<string>Filetype</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout10</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Video Codec:</string>
</property>
</widget>
<widget class="K3bIntMapComboBox">
<property name="name">
<cstring>m_comboVideoCodec</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Select the Video codec used to encode the DVD titles</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Audio Codec:</string>
</property>
</widget>
<widget class="K3bIntMapComboBox">
<property name="name">
<cstring>m_comboAudioCodec</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Select the Audio codec used to encode the DVD titles</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
<attribute name="title">
<string>File Namin&amp;g</string>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1_4</cstring>
</property>
<property name="text">
<string>Ripped files pattern:</string>
</property>
</widget>
<widget class="TQComboBox">
<property name="name">
<cstring>m_comboFilenamePattern</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="acceptDrops">
<bool>true</bool>
</property>
<property name="editable">
<bool>true</bool>
</property>
<property name="duplicatesEnabled">
<bool>false</bool>
</property>
</widget>
</hbox>
</widget>
<widget class="KURLLabel">
<property name="name">
<cstring>m_specialStringsLabel</cstring>
</property>
<property name="text">
<string>See special strings</string>
</property>
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout8</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>m_checkBlankReplace</cstring>
</property>
<property name="text">
<string>Replace all &amp;blanks with:</string>
</property>
</widget>
<widget class="KLineEdit">
<property name="name">
<cstring>m_editBlankReplace</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>_</string>
</property>
</widget>
</hbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer5</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>5</width>
<height>1</height>
</size>
</property>
</spacer>
</vbox>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>&amp;Advanced</string>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>m_checkTwoPassEncoding</cstring>
</property>
<property name="text">
<string>&amp;2-pass encoding</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Enable 2-pass encoding</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;p&gt;If this option is checked K3b encodes the video titles in two passes. The first pass is used to gather information about the video in order to improve the distribution of bits in the second pass. The resulting video will have a higher quality using a variable bitrate.
&lt;p&gt;If this option is not checked K3b will create video files with a constant bitrate and a lower quality.
&lt;p&gt;2-pass encoding results in a doubled encoding time.</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>m_checkAutoClipping</cstring>
</property>
<property name="text">
<string>Automatic &amp;Video Clipping</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Automatically detect the black borders of the video</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;p&gt;Most Video DVDs are encoded in a letterboxed format. &lt;em&gt;Letterboxed&lt;/em&gt; refers to black bars used at the top and bottom (and sometimes at the sides) of the video to force it into one of the aspect ratios supported by the Video DVD standard.
&lt;p&gt;If this option is checked K3b will automatically detect and remove these black bars from the resulting video.
&lt;p&gt;Although this method is very reliable there may be problems if the source material is exceptionally short or dark.</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>m_checkAudioResampling</cstring>
</property>
<property name="text">
<string>Resample Audio to &amp;44.1 KHz</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Change the sample rate of the audio stream to 44.1 KHz</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;p&gt;Video DVD audio streams normally are encoded with a sampling rate of 48000 Hz. Audio CDs on the other hand are encoded with a sampling rate of 44100 Hz.
&lt;p&gt;If this option is checked K3b will change the sampling rate of the audio stream to 44100 Hz.</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>m_checkLowPriority</cstring>
</property>
<property name="text">
<string>Low s&amp;cheduling priority for the video transcoding process</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer1</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>1</height>
</size>
</property>
</spacer>
</vbox>
</widget>
</widget>
</vbox>
</widget>
<customwidgets>
<customwidget>
<class>K3bIntMapComboBox</class>
<header location="global">k3bintmapcombobox.h</header>
<sizehint>
<width>-1</width>
<height>-1</height>
</sizehint>
<container>0</container>
<sizepolicy>
<hordata>5</hordata>
<verdata>5</verdata>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<pixmap>image0</pixmap>
</customwidget>
</customwidgets>
<images>
<image name="image0">
<data format="PNG" length="1125">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000042c49444154388db5954f6c14551cc73fefcd7476b65bdaae4bb78bb5502a14d404e4801c88182d1c4c2c693da847400f9c24c68b878684238660e2b1e01f12c19493012ef2478c814412d354a46017a8a564bb6da5bbedccee767776e63d0ffb073751d483bfe49799974c3eeffb7ebf37df9fd05a530b2184040cc0042420aaf9a4d0d554800f045a6b256ae0e1e1e1d6bebebe838ee31c48a7d39b5cd7fd075e251cc7617272f2ded8d8d819cff33e0316819259537aead4a9839d5dd6d1784f91f55b0a94830242088404d304292bef68a89f520802a598fecddaa04f1a876f5c250c7c0a64cdeac686e33807e23d45e6b297c8b877f1831542614550b6599835c83c2a81b6786a75134faf2f1169f12997350881d9021d0903e06de0745d3160a6d3e94dbd5b0a64dcbb94b5831d0e3375ab892b1772dcf9790528543f8dd0d367b36768153b5e31503a0f1aecb004580b44ffac58baae8b1714f0833c7638cc8dab303a320f4822ab4c7a37c69196203de3319d5ce1c4d13c733331dedc67a129a154fd128401ab0616d55a130ac3d42d93d1913940d13fd0c9ee0183685c60da01c5421bd72f7a8c8efccef9afd374267ad93d642365be0636a0d28ec7600941d9e6f23917f0e97f23ce5bef35d19ec863da0ed9059b2be70bec196c66dfa10ec0e49b338f7017258651bf95021035c595429bb0903248fe52a2b5b595dd7b4d945cc2340cdca536be389ee3f67886c5798f773fe8e0dac508c989659277a2180da4ca4ff07821058b8b251445d63d6b13ed1098a6417e39cac85197dbe31962ab9bd9f1f22a226d45366f6d0620fdb08c900d281af6110284b20085b414861d905d88f2e52739ee8cbb8022143259d3dd84691730aa2d52da441a8de0c6958068870022a41e9629ad3473fd3b8fdbe319dadb9b4924da994d2d716c7896fbe35152f78b48245d6b2da4507faf582be8eaf159b721cc837b05ae7debb1f79d08cb8b515edad942a22bc4b1c33eb3d34b1c797f06af90a72d16e2f96d9a74aa11dca8586b222d01af0fb60070f6c402d72f15d97f28c6f6d7027a5f5ce6c3233dc4e2ede496b278be4fff608cee8d3e1add806aeca51094cbb06397c1ecc328e746537c7e3ccdb5cb1136bf60635882d4d41c6ec6836ab37efa214f72208ed9f4d7cdd38ee310280542e38b1c43fb6de26b3672e1ec3cc99bcb246f66a938a3241ab3e91f7c861fbf77710b1e5e49915bae974203ba0e9e9c9cbc373d6d6d305a040a89c2a77f50b27d5782bbbf7acccf28349235dd16cf6dd374f7295e1de8a45c02d37499182b01cc0201a085d61a2144d8b2ac8fb6ed340e77240c4261890e04c250185262546d534a032154b59e0ad394e41c98182bf268ce6721ed9f064e0253356f6da2e24c1f030f783c15fe6da680af8021602bd051532ca9b8521488559f61aa86c29343578fbf0264a94c906c7d3409214c20043457a116ff6de6795578012889ff6b98fe016ea0ce1c6a2573410000000049454e44ae426082</data>
</image>
</images>
<connections>
<connection>
<sender>m_checkBlankReplace</sender>
<signal>toggled(bool)</signal>
<receiver>m_editBlankReplace</receiver>
<slot>setEnabled(bool)</slot>
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">k3bintmapcombobox.h</include>
<include location="global" impldecl="in implementation">kactivelabel.h</include>
<include location="global" impldecl="in implementation">klineedit.h</include>
<include location="global" impldecl="in implementation">kurllabel.h</include>
<include location="global" impldecl="in implementation">kurlrequester.h</include>
<include location="global" impldecl="in implementation">tdelistview.h</include>
</includes>
</UI>