mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
11a78399d8
gst-camera is a gtk-test app to play with the imagecapture and videorecording. gst-camera-perf is a tool to run various scenarios and take time meassurements (e.g. shot-to-shot). Also sort the output files in configure.ac a bit to be in alphabetical order.
397 lines
19 KiB
XML
397 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
<!--*- mode: xml -*-->
|
|
<glade-interface>
|
|
<widget class="GtkWindow" id="windowMain">
|
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
<property name="title" translatable="yes">gst-camera</property>
|
|
<signal name="delete_event" handler="on_windowMain_delete_event"/>
|
|
<child>
|
|
<widget class="GtkVBox" id="vboxMain">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<widget class="GtkHBox" id="hbox2">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<widget class="GtkMenuBar" id="menubar1">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<widget class="GtkMenuItem" id="menuitemPhotography">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">Photography</property>
|
|
<property name="use_underline">True</property>
|
|
<child>
|
|
<widget class="GtkMenu" id="menu1">
|
|
<property name="visible">True</property>
|
|
</widget>
|
|
</child>
|
|
</widget>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkMenuItem" id="menuitemCapture">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">Capture</property>
|
|
<property name="use_underline">True</property>
|
|
</widget>
|
|
</child>
|
|
</widget>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkComboBox" id="comboboxResolution">
|
|
<property name="visible">True</property>
|
|
<property name="items" translatable="yes"></property>
|
|
<signal name="changed" handler="on_comboboxResolution_changed"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</widget>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkHBox" id="hboxMode">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<widget class="GtkRadioButton" id="radiobuttonImageCapture">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">Image capture</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<signal name="toggled" handler="on_radiobuttonImageCapture_toggled"/>
|
|
</widget>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkRadioButton" id="radiobuttonVideoCapture">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">Video rec</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">radiobuttonImageCapture</property>
|
|
<signal name="toggled" handler="on_radiobuttonVideoCapture_toggled"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkButton" id="buttonShot">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">Shot</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<signal name="clicked" handler="on_buttonShot_clicked"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkButton" id="buttonPause">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">Pause</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<signal name="clicked" handler="on_buttonPause_clicked"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkCheckButton" id="chkbntMute">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">mute</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="draw_indicator">True</property>
|
|
<signal name="toggled" handler="on_chkbntMute_toggled"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">4</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkCheckButton" id="chkbntContinous">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">continous</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="draw_indicator">True</property>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">5</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkCheckButton" id="chkbtnRawMsg">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="tooltip" translatable="yes">Send raw image after still image capture as gstreamer message</property>
|
|
<property name="label" translatable="yes">raw msg</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="draw_indicator">True</property>
|
|
<signal name="toggled" handler="on_chkbtnRawMsg_toggled"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">6</property>
|
|
</packing>
|
|
</child>
|
|
</widget>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkTable" id="tableOptions">
|
|
<property name="visible">True</property>
|
|
<property name="n_rows">1</property>
|
|
<property name="n_columns">3</property>
|
|
<child>
|
|
<widget class="GtkVBox" id="vboxVidEffect">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<widget class="GtkLabel" id="labelVidEff">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">video effects:</property>
|
|
</widget>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkRadioButton" id="rbBntVidEffNone">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">none</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffNone_toggled"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkRadioButton" id="rbBntVidEffEdge">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">edged</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">rbBntVidEffNone</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffEdge_toggled"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkRadioButton" id="rbBntVidEffAging">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">aging</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">rbBntVidEffNone</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffAging_toggled"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkRadioButton" id="rbBntVidEffDice">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">dice</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">rbBntVidEffNone</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffDice_toggled"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">4</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkRadioButton" id="rbBntVidEffWarp">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">warp</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">rbBntVidEffNone</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffWarp_toggled"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">5</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkRadioButton" id="rbBntVidEffShaga">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">shagadelic</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">rbBntVidEffNone</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffShagadelic_toggled"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">6</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkRadioButton" id="rbBntVidEffVertigo">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">vertigo</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">rbBntVidEffNone</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffVertigo_toggled"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">7</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkRadioButton" id="rbBntVidEffRev">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">rev</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">rbBntVidEffNone</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffRev_toggled"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">8</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkRadioButton" id="rbBntVidEffQuark">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">quark</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="response_id">0</property>
|
|
<property name="active">True</property>
|
|
<property name="draw_indicator">True</property>
|
|
<property name="group">rbBntVidEffNone</property>
|
|
<signal name="toggled" handler="on_rbBntVidEffQuark_toggled"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">9</property>
|
|
</packing>
|
|
</child>
|
|
</widget>
|
|
<packing>
|
|
<property name="x_options"></property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkScrolledWindow" id="scrlWndColorControls">
|
|
<property name="width_request">200</property>
|
|
<property name="height_request">200</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
|
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
|
<child>
|
|
<widget class="GtkViewport" id="viewportColorControls">
|
|
<property name="visible">True</property>
|
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
<child>
|
|
<widget class="GtkVBox" id="vboxColorControls">
|
|
<property name="visible">True</property>
|
|
</widget>
|
|
</child>
|
|
</widget>
|
|
</child>
|
|
</widget>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
<property name="right_attach">3</property>
|
|
<property name="x_options"></property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkAspectFrame" id="drawingareaFrame">
|
|
<property name="visible">True</property>
|
|
<property name="label_xalign">0</property>
|
|
<property name="shadow_type">GTK_SHADOW_NONE</property>
|
|
<property name="ratio">1</property>
|
|
<property name="obey_child">False</property>
|
|
<child>
|
|
<widget class="GtkAlignment" id="alignment1">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<widget class="GtkDrawingArea" id="drawingareaView">
|
|
<property name="visible">True</property>
|
|
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
<signal name="configure_event" handler="on_drawingareaView_configure_event"/>
|
|
</widget>
|
|
</child>
|
|
</widget>
|
|
</child>
|
|
</widget>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="right_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
</widget>
|
|
<packing>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<widget class="GtkHScale" id="hscaleZoom">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="adjustment">100 100 1100 10 100 100</property>
|
|
<property name="digits">0</property>
|
|
<property name="value_pos">GTK_POS_LEFT</property>
|
|
<signal name="value_changed" handler="on_hscaleZoom_value_changed"/>
|
|
</widget>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="position">3</property>
|
|
</packing>
|
|
</child>
|
|
</widget>
|
|
</child>
|
|
</widget>
|
|
</glade-interface>
|