Commit graph

25 commits

Author SHA1 Message Date
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
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
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
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
Stefan Kost
d63365fc5b camerabin2: use g_error_free instead of g_free 2011-01-12 16:56:28 +02:00
Thiago Santos
87c5c7a08b camerabin2: example: gitignore captured files 2010-12-29 13:24:06 -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