-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I added the settings bitrate and quality for recordmydesktop.
Setting the bitrate is required when using a recent libtheora.

regards till
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktaF8EACgkQzwEyz7QP6nR85gCgq1zsX9zi/dPjF+PqlLGPpXxZ
icAAniahykPKSWrdutamG+Cu1LSv14kb
=eO8s
-----END PGP SIGNATURE-----
Index: src/widgets/configcapture_ui.ui
===================================================================
--- src/widgets/configcapture_ui.ui	(revision 4243)
+++ src/widgets/configcapture_ui.ui	(working copy)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>409</width>
-    <height>428</height>
+    <width>411</width>
+    <height>485</height>
    </rect>
   </property>
   <layout class="QGridLayout" name="gridLayout_6">
@@ -52,7 +52,7 @@
       </size>
      </property>
      <property name="currentIndex">
-      <number>0</number>
+      <number>2</number>
      </property>
      <widget class="QWidget" name="tab">
       <attribute name="title">
@@ -635,7 +635,7 @@
        <item row="5" column="1">
         <widget class="KDoubleNumInput" name="kcfg_rmd_fps"/>
        </item>
-       <item row="5" column="2">
+       <item row="5" column="2" rowspan="3">
         <spacer name="horizontalSpacer_2">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
@@ -648,14 +648,48 @@
          </property>
         </spacer>
        </item>
-       <item row="6" column="0" colspan="3">
+       <item row="6" column="0">
+        <widget class="QLabel" name="label_13">
+         <property name="text">
+          <string>Bit rate</string>
+         </property>
+        </widget>
+       </item>
+       <item row="6" column="1">
+        <widget class="KIntNumInput" name="kcfg_rmd_bitrate">
+         <property name="minimum">
+          <number>45000</number>
+         </property>
+         <property name="maximum">
+          <number>2000000</number>
+         </property>
+        </widget>
+       </item>
+       <item row="7" column="0">
+        <widget class="QLabel" name="label_15">
+         <property name="text">
+          <string>Quality</string>
+         </property>
+        </widget>
+       </item>
+       <item row="7" column="1">
+        <widget class="KIntNumInput" name="kcfg_rmd_quality">
+         <property name="minimum">
+          <number>0</number>
+         </property>
+         <property name="maximum">
+          <number>63</number>
+         </property>
+        </widget>
+       </item>
+       <item row="8" column="0" colspan="3">
         <widget class="QCheckBox" name="kcfg_rmd_fullshots">
          <property name="text">
           <string>Full shots</string>
          </property>
         </widget>
        </item>
-       <item row="7" column="0" colspan="3">
+       <item row="9" column="0" colspan="3">
         <spacer name="verticalSpacer_3">
          <property name="orientation">
           <enum>Qt::Vertical</enum>
@@ -668,6 +702,7 @@
          </property>
         </spacer>
        </item>
+
       </layout>
      </widget>
     </widget>
@@ -695,6 +730,11 @@
    <extends>QComboBox</extends>
    <header>kcombobox.h</header>
   </customwidget>
+  <customwidget>
+   <class>KIntNumInput</class>
+   <extends>QWidget</extends>
+   <header>knuminput.h</header>
+  </customwidget>
  </customwidgets>
  <tabstops>
   <tabstop>kcfg_defaultcapture</tabstop>
Index: src/kdenlivesettings.kcfg
===================================================================
--- src/kdenlivesettings.kcfg	(revision 4243)
+++ src/kdenlivesettings.kcfg	(working copy)
@@ -293,6 +293,16 @@
       <label>fps for video rec.</label>
       <default>15.0</default>
     </entry>
+    
+    <entry name="rmd_bitrate" type="Int">
+      <label>bitrate for video capture.</label>
+      <default>2000000</default>
+    </entry>
+    
+    <entry name="rmd_quality" type="Int">
+      <label>quality for video capture.</label>
+      <default>63</default>
+    </entry>
 
     <entry name="rmd_fullshots" type="Bool">
       <label>Capture full shots.</label>
Index: src/recmonitor.cpp
===================================================================
--- src/recmonitor.cpp	(revision 4243)
+++ src/recmonitor.cpp	(working copy)
@@ -513,6 +513,8 @@
             } else m_captureArgs << "--no-sound";
 
             if (KdenliveSettings::rmd_fullshots()) m_captureArgs << "--full-shots";
+            m_captureArgs << "--v_bitrate" << QString::number(KdenliveSettings::rmd_bitrate());
+            m_captureArgs << "--v_quality" << QString::number(KdenliveSettings::rmd_quality());
             m_captureArgs << "-workdir" << KdenliveSettings::currenttmpfolder();
             m_captureArgs << "-fps" << QString::number(KdenliveSettings::rmd_fps()) << "-o" << m_captureFile.path();
             m_captureProcess->start(KdenliveSettings::rmd_path(), m_captureArgs);
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Kdenlive-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel

Reply via email to