Commit graph

109 commits

Author SHA1 Message Date
Thiago Santos
011eddcd0e camerabin2: Remove from experimental
Remove camerabin2 from experimental, allowing it to be built
without needing to pass --enable-experimental on configure.
2011-08-23 19:26:31 -03:00
Edward Hervey
3d86389e06 examples: Add missing header file 2011-08-04 13:33:56 +02:00
Robert Swain
b4c8eb084c gst-camerabin2-test: Add audio capture caps option 2011-08-03 08:01:42 -03:00
Tim-Philipp Müller
7e49dad23b Fix some more variable-set-but-not-used compiler warnings 2011-08-02 22:57:15 +01:00
Robert Jobbagy
e8d5e476ef camerabin2: examples: Fix camerabin2 G_OBJECT cast
Adds missing cast to fix build error.
2011-08-02 17:06:48 -03:00
Robert Swain
2609427ada camerabin2: Add flags prop to toggle encodebin conversion elements
A flags property has been added to encodebin to toggle whether the
conversion elements (ffmpegcolorspace, videoscale, audioconvert,
audioresample, audiorate) are created and linked into the appropriate
branches of encodebin.

Not including these elements avoids some slow caps negotiation and
allows the first buffers to flow through encodebin much more quickly.
However, it imposes that the uncompressed input is appropriate for the
target profile and elements selected to meet that profile.
2011-08-02 13:39:17 -03:00
Robert Jobbagy
75a6072db8 gstmotioncells_dynamic_test: test tool what can to do dynamic change properties 2011-07-28 10:28:50 +02:00
Olivier Crête
d22d5468a8 examples/camerabin: Fix set-but-unused warnings 2011-07-12 18:22:35 -04:00
Thiago Santos
62c65a49f3 examples: camerabin2: Adds performance measurement to gst-camerabin2-test
Adds performance (timing) measure feature to gst-camerabin2-test, it allows
users to specify some target values for commonly measured times and the
application will print out a table of values at the end of its execution
with the measured times and averages of them.
2011-06-23 00:05:12 -03:00
Thiago Santos
cff308eba2 camerabin2: Use full names in properties
Improve API by using source instead of src in properties
2011-06-02 16:24:03 -03:00
Lasse Laukkanen
a9c60f3b31 examples: camerabin: Add --image-formatter command-line option
Add command-line option to gst-camerabin-test for configuring camerabin
metadata formatter element.
2011-05-31 18:22:02 -03:00
Stefan Kost
a570b3d76f mxf-example: fix the { } scope 2011-05-20 00:35:55 +03:00
Thiago Santos
e1ddfca8f1 camerabin2: examples: Add video-device argument
Adds an argument to select which video device should be used
on the video source element in camerabin2
2011-05-19 15:01:52 -03:00
Thiago Santos
f97d61bbc9 camerabin2: examples: Fix typo from previous commit
The property is audio-src and not audio-source
2011-05-19 14:52:22 -03:00
Thiago Santos
6403e6e00f camerabin2: examples: Add audio-source parameter to gst-camerabin2-test
Adds an option to select the audio source to be used on video
recordings on camerabin2 test application
2011-05-19 14:32:02 -03:00
Thiago Santos
0bbbbd22d1 examples: camerabin2: Fix GOptionEntry array
Use no flags instead of passing G_OPTION_ARG_OPTIONAL to options that
must have an argument
2011-05-16 18:08:40 -03:00
Thiago Santos
7ee207b359 camerabin2: examples: build fixes
Add some missing dependencies
2011-05-16 18:08:40 -03:00
Lasse Laukkanen
dfe815e048 examples: camerabin2: Add more arguments
Add command-line options for setting image-capture, viewfinder
and video-capture caps as strings.

The width and height properties are now used only if these new caps
properties aren't set.
2011-05-16 18:08:39 -03:00
Thiago Santos
aa4df686eb examples: camerabin2: Fix compile problem with debug disabled 2011-05-16 18:08:39 -03:00
Robert Swain
11c7d60dbb gst-camerabin2-test: Allow gst-launch pipelines for sinks
Use gst_parse_launch () to parse the sink strings to allow specification
of properties to sinks and of more advanced sink graphs.
2011-05-16 18:08:38 -03:00
Robert Swain
4b18a73332 gst-camerabin2-test: Fix premature shutdown
We must wait for camerabin2's stop-capture procedures to finish before quitting
the main loop or firing off the next capture. If we get stuck waiting for
camerabin2 to become idle, this is a bug that needs fixing.
2011-03-23 16:50:12 -03:00
Robert Swain
5fd15521e2 basecamerasrc: wrappercamerabinsrc: camerabin2: Expose/add floating point
zoom property
2011-03-11 18:26:43 -03:00
Tim-Philipp Müller
58ca26b0a4 examples: fix LDADD/LIBS path order for camerabin2 example 2011-03-11 10:40:40 +00:00
Teemu Katajisto
0633901dd5 examples: camerabin2: add option for setting the wrapper camera source 2011-03-10 08:42:01 -03:00
Teemu Katajisto
2b9b085460 examples: camerabin2: add encoding profile loading 2011-03-10 08:42:01 -03:00
Thiago Santos
ce45c15200 camerabin2: examples: Allow free image dimensions
Changes the default width/height of captures so that it will
be autopicked by camerabin2 instead of hardcoding an option
2011-03-10 08:42:00 -03:00
Thiago Santos
7847f6497b camerabin2: examples: Backport fix from camerabin example
We should only check if the xwindow should be created if we already
parsed the arguments of the program
2011-03-10 08:42:00 -03:00
Thiago Santos
9473c390e8 camerabin2: examples: Add gst-camerabin2-test
Adds gst-camerabin2-test example application, similar to
gst-camerabin-test for camerabin.

It is useful for taking pictures and recording videos using
camerabin2 and providing arguments for most of camerabin2
properties
2011-03-10 08:42:00 -03:00
Stefan Kost
99d23b3905 indexing-example: use proper signal names 2011-02-18 15:00:05 +02:00
Teemu Katajisto
ab2b9079f0 examples: camerabin: fix --no-xwindow option handling in gst-camerabin-test
--no-window flag is false by default and selection based on the option whether
to create XWindow is done before options are parsed. Therefore XWindow is never
created.

https://bugzilla.gnome.org/show_bug.cgi?id=641712
2011-02-08 09:09:29 -03:00
Stefan Kost
4915493932 camerabin-tests: fix lookup of UI files
These are uninstalled examples. Pass $srcdir to cpp to build the correct
location for the UI file.
2011-02-07 11:28:23 +02:00
Thiago Santos
97789fa5bc examples: camerabin: add timing printing for preview image
Measure and print the time taken to generate preview image. And
fix a typo
2011-01-24 18:37:12 -03:00
Lasse Laukkanen
10830c9544 examples: camerabin: Don't set default values for GstPhotography interface settings
Don't set any default values for source element GstPhotography interface
settings, source elements should have sane defaults themselves.
Also, setting scene-mode is tricky as it is a superset of other GstPhotography
settings. This might cause problem with defaults e.g. setting scene-mode to
'night' may configure flash-mode as 'on' by definition, and after that
we don't want to override this flash-mode setting with gst-camerabin-test default
value. Moreover, user needs have an option to set scene mode first and then force
some individual setting to a different value from the scene-mode definition.

https://bugzilla.gnome.org/show_bug.cgi?id=639841
2011-01-24 18:05:20 -03:00
Stefan Kost
d63365fc5b camerabin2: use g_error_free instead of g_free 2011-01-12 16:56:28 +02:00
Tim-Philipp Müller
3bb1d2937f examples: dist camerabin2 example as well
https://bugzilla.gnome.org/show_bug.cgi?id=638604
2011-01-03 23:56:26 +00:00
Tim-Philipp Müller
a197901b82 jack: move plugin to gst-plugins-good
https://bugzilla.gnome.org/show_bug.cgi?id=621929
2011-01-02 15:11:52 +00:00
Tim-Philipp Müller
c6c3d9781b selector: move input-selector and output-selector to core
https://bugzilla.gnome.org/show_bug.cgi?id=614306
2010-12-31 01:41:36 +00:00
Thiago Santos
87c5c7a08b camerabin2: example: gitignore captured files 2010-12-29 13:24:06 -03:00
Tim-Philipp Müller
f90b8bdfa0 examples: fix gtk3 code path in camerabin example app
Just add rows via the combobox's model, which should work with
both gtk2 and gtk3, instead of using the gtk_combo_box_append_text()
convenience API (which was renamed to gtk_combo_box_text_append_text()).
Fixes compilation against gtk3 (there was a typo in the list store
variable name, spotted by Markus Vartiainen).
2010-12-26 17:12:01 +00:00
Saleem Abdulrasool
516c977c76 camerabin: fix for latest GTK+ API changes 2010-12-20 21:36:40 +02:00
Thiago Santos
f62e658c10 camerabin2: Only run tests if experimental is enabled
Only run camerabin2 tests and build examples if experimental
plugins are enabled
2010-12-08 15:38:30 -03:00
Thiago Santos
397f7fcceb examples: camerabin2: Print more info
Add some printing for error/eos cases.
2010-12-08 15:38:29 -03:00
Thiago Santos
8fb8822532 examples: Adds camerabin2 example
Adds gtk camerabin2 example app
2010-12-08 15:38:27 -03:00
Lasse Laukkanen
6867ec5627 examples: camerabin: Remove gstring leak
Simplify gst-camerabin-test by removing GString and replacing
with gchar for the filename handling. Also removes a leak of
the GString data.
2010-11-08 11:07:17 -03:00
Lasse Laukkanen
fe22a3ab5a examples: add async bus handler to gst-camerabin-test
Splits the bus handler into sync and async, keeping the
prepare-xwindow handling at the sync for faster handling and
moving the others to the async handler
2010-11-08 08:56:15 -03:00
Teemu Katajisto
4503a85d54 examples: camerabin: add support for setting many post-processing elements
Instead of taking a single element as input for the image post
processing option, take a list of comma separated elements
that will be used.
2010-11-02 09:16:44 -03:00
Sebastian Dröge
18f38a747a examples: Fix compilation with GTK+ 3.0 2010-10-12 12:11:37 +02:00
Thiago Santos
55ad3f8816 camerabin: example: make gst-camera use flags
Enable all convertion flags in gst-camera example app
for safety.

Fixes #603063
2010-09-22 23:54:46 -03:00
Thiago Santos
657e80b108 camerabin: examples: do not use deprecated GstXOverlay functions
Replace the deprecated gst_x_overlay_set_xwindow_id with
gst_x_overlay_set_window_handle

Fixes #630255
2010-09-21 10:59:42 -03:00
Lasse Laukkanen
5c92dc23cc camerabin: update tag names in test application to latest gst definitions 2010-09-20 18:26:49 -03:00