Commit graph

618 commits

Author SHA1 Message Date
Thibault Saunier
32e1acbf88 validate:tools: use more scenarios in gst-validate launcher
And ensure that the list does not get mixed up with as we are sharing
"symboles" between all the files
2014-02-06 12:02:58 +01:00
Thibault Saunier
49cca6a329 validate:tools: Play the entire file in simple_backward 2014-02-06 12:02:58 +01:00
Thibault Saunier
6fcd2173eb validate:tools: Fix the fast forward scenario to handle any file duration 2014-02-06 12:02:58 +01:00
Thibault Saunier
8e81727b87 validate:tools: Do not try to transcode images 2014-02-06 12:02:58 +01:00
Thibault Saunier
9eb665dddf validate: Properly handle images in the media-info helper
In the case of images we should not check reverse playback, fast
forward etc...

We also should keep the information
2014-02-06 12:02:58 +01:00
Thibault Saunier
32e7b9a55e validate:tools: Minor cleanups 2014-02-06 12:02:58 +01:00
Thibault Saunier
38615bcae2 validate:tools: Fix classname in gst-launch transcoding tests 2014-02-06 12:02:58 +01:00
Thibault Saunier
dc29cc2857 validate:tools: Properly name the project launcher in the report 2014-02-06 12:02:58 +01:00
Thibault Saunier
0b3b456f6a validate:tools: Create the rendering directory if it does not exist 2014-02-06 12:02:58 +01:00
Thibault Saunier
8697dd3da4 validate:tools: Add an option to desativate ANSI colors
And enhance some debugging output
2014-02-06 12:02:58 +01:00
Thibault Saunier
eae7e94f44 validate:tools: Remove our dependency to PyGobject 2014-02-06 12:02:58 +01:00
Thibault Saunier
0c535ef9cf validate:tools: Do not forget to add Makefile.am and main.py 2014-02-06 12:02:58 +01:00
Thibault Saunier
bd3aaded49 validate:tools: Enhance the way we detect if ges-launch can be used
We make sure it has been compiled against gst-validate
2014-02-06 12:02:58 +01:00
Thibault Saunier
c7aa259c78 validate:tools: Set video/webm instead of video/x-matroska as caps for webm
+ some mirore indentation cleanups
2014-02-06 12:02:58 +01:00
Thibault Saunier
384dd33843 validate:tools: Do not forget to keep our ref to file_info g-v-transcode 2014-02-06 12:02:57 +01:00
Thibault Saunier
446e5c88c2 validate:tools: Cleanup how we check result of rendering test
Factor out a method in the utils, and make use of it for both ges-launch and
gst-validate-transcode
2014-02-06 12:02:57 +01:00
Thibault Saunier
ff30c6ba3c validate:tools: Don't give file duration as timeout for gst-validate
We use the other mean letting us actually control the process
advancement.
2014-02-06 12:02:57 +01:00
Thibault Saunier
cdff1c93ca validate:tools: Veryfy test manager are operationnal before using them 2014-02-06 12:02:57 +01:00
Thibault Saunier
e30f6372f9 validate:tools: Move the main function in a dedictaed file 2014-02-06 12:02:57 +01:00
Thibault Saunier
c33d10470f validate:tools: Print some statistic at the end of the test run 2014-02-06 12:02:57 +01:00
Thibault Saunier
d8fc68479c validate:tools: Print position every 50ms in gst-validate 2014-02-06 12:02:57 +01:00
Thibault Saunier
ea7ae57d3b validate:tools: Rename files around and integrate into autotools
File distribution used to be messy, clean it all up. Also make sure the
launcher is integrated into the autotools.
2014-02-06 12:02:57 +01:00
Thibault Saunier
ac9820a435 validate: tools: Enhance error message for GstValidate tests 2014-02-06 12:02:57 +01:00
Thibault Saunier
1f3432a33e validate: tools: Concider timeouts as errors when printing tests 2014-02-06 12:02:57 +01:00
Thibault Saunier
dac5b38a4d validate: tools: Refactor and add a GstValidateTranscodeTest class 2014-02-06 12:02:57 +01:00
Thibault Saunier
e591882794 validate: launcher: add the debug logger from pitivi
It is way more powerfull, simple to use and usefull
than the stock python one and has been proved to work reliably
2014-02-06 12:02:57 +01:00
Thibault Saunier
b51e143fdf validate: tools: Unref the pipeline before the runner and monitor
Avoids segfault in some cases, and monitors and runners have week ref on
their targets.
2014-02-06 12:02:57 +01:00
Thibault Saunier
0d6d397e30 validate: tools: Add a gst-validate test manager 2014-02-06 12:02:57 +01:00
Thibault Saunier
7d0a6efaff validate: tools: media-info: Fixes in the media file descriptor parsing code
We used to always fail when the user was passing something not NULL as err
2014-02-06 12:02:57 +01:00
Thibault Saunier
e9b2967504 validate: tools: Cleanup test launcher tool
Previous commit was not meant to be pushed and those two should have
been fixed up together, sorry for the mistake
2014-02-06 12:02:57 +01:00
Reynaldo H. Verdejo Pinochet
8c39dbfaa8 validate: fix parallel build
Without this, parallel building with > 2 jobs fails.
Also, LDFLAGS should not contain -l flags but _LIBADD.
2014-01-30 17:26:16 -03:00
Reynaldo H. Verdejo Pinochet
463ca62ab2 validate: drop unneeded stdio include 2014-01-30 15:47:15 -03:00
Thibault Saunier
b4a2ca6286 Add a test launcher tool 2013-12-31 11:45:07 +01:00
Lubosz Sarnecki
e8db3c67b9 validate: fix installation
* install headers
* fix libname in pk file
2013-11-25 16:56:11 -03:00
Vincent Penquerc'h
70931813ad validate-scenarios: list scenarios in GST_VALIDATE_SCENARIOS_PATH
GST_VALIDATE_SCENARIOS_PATH was used only for loading scenarios,
so any in that path would not be listed by -l.

Change-Id: If3cb94867ef3876933bda02477675c8ccf67baaf
2013-11-25 16:56:11 -03:00
Thibault Saunier
e9dee065f7 tools: transcoding: Avoid reencoding unless explicitely specified 2013-11-25 16:56:09 -03:00
Thibault Saunier
a8ae32df6d pad-monitor: Do not concider TIME_NONE as 0 for serialized events
In case we have serialized events right after a buffer that had no
timestamp set we concider that last timestamp was 0, but we can
actually not concider the timestamp at all in that case as it is
only "meaningless value".
2013-11-25 16:55:25 -03:00
Thibault Saunier
1c3340ecbb tools: Simplify the setting of action scenario vs config scenario
This make it easier for user to understand the difference between
the two concepts and avoids confusion.

Change-Id: Ib42913722c93a1e7e3c8b156173c458230946592

Conflicts:
	validate/tools/gst-validate-transcoding.c
	validate/tools/gst-validate.c
2013-11-25 16:55:25 -03:00
Thibault Saunier
9dfee4dffa scenario: Do not execute anything when listing scenarios 2013-11-25 16:55:25 -03:00
Thibault Saunier
71758d49da scenario: Add a "set-feature-rank" config action
This action can be used to change the rank of a particular element,
so you can force a particular element to be used when using
autoplugging elements (such as decodebin, encodebin, and friends)
2013-11-25 16:55:25 -03:00
Thibault Saunier
77bba657d1 scenario: Add support for "config" actions, actions executed at parse time
This type of actions is used to change some parametter on GStreamer
core and it plugins, it can be fore example, to change the rank of a
plugin or things like that.
2013-11-25 16:55:25 -03:00
Thibault Saunier
684eb19267 validate-transcoding: Dot pipeline on error 2013-11-13 18:46:15 -03:00
Zaheer Abbas Merali
a12444be21 vagrant: initial commit
Vagrant environment to do GStreamer development, debugging and
testing.
2013-10-26 03:03:55 -07:00
Stefan Sauer
6c4b51dd5c mi-info: handle streams with unknown duration 2013-10-21 13:06:46 +02:00
Stefan Sauer
e1464c2a6e mi-info: start handling missing plugin messages
We only print them to the debug log for now.
2013-10-21 09:08:18 +02:00
Stefan Sauer
09600c8fb2 mi-preview: use ensure_native() in realized()
This fixes X crashers at startup when preparing the overlay.
2013-10-21 09:07:09 +02:00
Stefan Sauer
079745094c mi/TODO: planning update 2013-10-19 21:15:36 +02:00
Stefan Sauer
a61447f7d3 mi-info: go back to use the sync api
If we discover 'too quickly' the machinery seems to get into a state, where it
does not discover anything anymore.
2013-10-19 21:15:36 +02:00
Stefan Sauer
8abadb14f9 mi-preview: reflow the overlay sync
We need to listen to preview-widget resizing to send an expose to the gst-
overlay. Defer discovering until the ui has be realized.
2013-10-19 21:15:36 +02:00
Stefan Sauer
c9cc3bbd9c mi-app: use an idle-handler to set the initial directory
This ensures we don't emit selection changed signals before we're up and running.
2013-10-19 21:15:36 +02:00