Commit graph

568 commits

Author SHA1 Message Date
Thiago Santos
6b26aa270f tests: camerabin2: Use audiotestsrc on tests
Use audiotestsrc on tests instead of using the system's default
audiosrc, avoiding any problems that a local audio setup might
have.
2011-08-21 18:23:16 -03:00
Thiago Santos
63d79a3aea tests: camerabin2: Improving tests
Adding some additional checks for custom camerabin2 messages

Also improves reliability of the tests by waiting for the preview-buffer message.
This message is generated from the preview pipeline, and might arrive later than the
image/video-done from the main camerabin2 pipeline, the tests need to wait for it even
after getting the image/video-done.
2011-08-21 18:23:16 -03:00
Thiago Santos
84ee1c4d58 tests: camerabin2: Add test for audio-filter property
Checks that the audio-filter is properly plugged in the pipeline
and receives buffers when recording a video.
2011-08-13 15:55:35 -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
Tim-Philipp Müller
b6723d092c tests: fix compiler warning in faad unit test 2011-07-29 21:27:28 +01:00
Robert Jobbagy
75a6072db8 gstmotioncells_dynamic_test: test tool what can to do dynamic change properties 2011-07-28 10:28:50 +02:00
Raluca Elena Podiuc
736aebc37e tests: camerabin2: fix name of 'image-done' bus message
Use the correct bus message for camerabin2 image done and removes
check that is no longer needed for these tests.
2011-07-15 10:01:33 -03:00
Tim-Philipp Müller
04f0b55609 tests: add some more unit test binaries to .gitignore 2011-07-14 14:37:14 +01:00
Olivier Crête
d22d5468a8 examples/camerabin: Fix set-but-unused warnings 2011-07-12 18:22:35 -04:00
Thiago Santos
f1fa6c6531 camerabin2: Use a single location for both modes
Implement the location property just like it works in camerabin, the
same location is used for both images and videos
2011-06-23 00:05:13 -03:00
Thiago Santos
18f6859037 tests: camerabin2: Adds new test to check image location correctness
This new test checks that images are saved with the filename setting
on location on the moment of the start-capture
2011-06-23 00:05:13 -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
Mark Nauwelaerts
af1fca6d7d tests: add colorspace unit test
Compares colorspace result with ffmpegcolorspace output using SSIM.
Also probes for possible crashes for odd width and height image by applying
all possible colorspace transformations.
2011-06-17 12:26:15 +02:00
Stefan Kost
b6844bc730 tests: add a test for baseaudiovisualizer 2011-06-06 15:25:14 +03:00
Thiago Santos
65d74fa2bf tests: camerabin2: remove unused var 2011-06-02 16:24:03 -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
Sebastian Dröge
9fae436b68 faac: Fix unit test after latest faac changes 2011-05-31 13:09:57 +02:00
Stefan Kost
d8eb9f127f tests: blacklist more sys elements from the state tests
Also wrap the list of blacklisted elements and trim some whitespace.
2011-05-25 23:28:46 +03:00
Mark Nauwelaerts
7751dbb8e1 tests: add unit tests for a number of video parsers 2011-05-25 21:51:56 +02:00
Mark Nauwelaerts
ca1887d3ec tests: additional offset tracking in parser test helper 2011-05-25 21:51:55 +02:00
Mark Nauwelaerts
91dd0a4f91 tests: additional parameterization for parser test helper
Allow context callbacks to perform custom buffer verification
and custom element setup.  Also move some static tracking variables
into helper struct and expose the latter struct for use by unit test
(callbacks).
2011-05-25 21:51:55 +02:00
Víctor Manuel Jáquez Leal
288e001e1f jpegparse: unit test for APP1/exif & comment parsing
https://bugzilla.gnome.org/show_bug.cgi?id=648478
2011-05-25 22:18:10 +03:00
Lasse Laukkanen
466ca5d460 camerabin: Add image-formatter property
Add image-formatter property in order to let application configure
the formatter element for metadata.
2011-05-23 12:08:37 -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
5dadb325ae camerabin2: Remove obsolete imagecapturebin
imagecapturebin has been replaced by encodebin, no need
for it anymore
2011-05-16 18:08:41 -03:00
Alessandro Decina
9e9507b645 camerabin2: use encodebin to encode images 2011-05-16 18:08:40 -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
ba9c1f055f tests: camerabin2: Fix set but unused variable warnings 2011-05-16 18:08:39 -03:00
Thiago Santos
0556d121c4 tests: camerabin2: Fix tags setting tests
Fixes the tags setting tests to reveal a bug in camerabin2
tag setting logic.
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
benjamin gaignard
31d408e22e faac: Detect output format from downstream caps change unit test 2011-05-14 12:08:28 +02:00
Sebastian Dröge
31a65287a2 voaaenc: Fix CFLAGS/LIBS of the unit test 2011-05-14 12:08:28 +02:00
benjamin gaignard
988516ca63 voaacenc: Add new plugin for audio AAC encoder based on vo-aacenc lib
Add plugin and unit test.

Fixes bug #647748.
2011-05-14 12:08:27 +02:00
Sebastian Dröge
39ae129aa6 wavpack: Remove bus GSource to prevent a valgrind warning 2011-04-18 12:01:07 +02:00
Sebastian Dröge
c8ae803df9 ofa: Remove bus GSource to prevent a valgrind warning 2011-04-18 11:57:15 +02:00
Sebastian Dröge
93454118c6 assrender: Remove bus GSource to prevent a valgrind warning 2011-04-18 11:50:34 +02:00
Thiago Santos
cee2bc7aa0 test: camerabin: More leak fixes 2011-04-15 07:53:43 -03:00
Thiago Santos
3f7ab0b319 tests: camerabin2: Leak fixes for the unit tests
Leak fixes related to not removing the source returned from
gst_bus_add_watch
2011-04-14 14:33:00 -03:00
Thiago Santos
8a9a0cd37e tests: camerabin: Some leak fixes
Leak fixes related to removing the source returned from
gst_bus_add_watch
2011-04-14 14:33:00 -03:00