Felix Schwarz [Fri, 5 Sep 2014 19:47:00 +0000 (19:47 +0000)]
validate:docs: fix spelling mistakes
https://bugzilla.gnome.org/show_bug.cgi?id=736160
Thibault Saunier [Fri, 5 Sep 2014 21:15:29 +0000 (23:15 +0200)]
validate: Take a const gchar ** in gst_validate_print_action_types
This is what we actually need and thus is cleaner.
Thibault Saunier [Fri, 5 Sep 2014 21:03:58 +0000 (23:03 +0200)]
validate: Implement the notion of implementer namespace to the action types
This allows users to know who implements an action type.
+ Enhance the printing of all action making it readable.
Thibault Saunier [Fri, 5 Sep 2014 17:30:52 +0000 (19:30 +0200)]
validate: Add informations on the switch-track action overrided for playbin
Thibault Saunier [Thu, 4 Sep 2014 21:54:34 +0000 (23:54 +0200)]
validate: docs: Add some GstValidate usage documentation
+ Fix minor issues in the gst-validate and gst-validate-transcoding
tools documentation
Guillaume Desmottes [Thu, 4 Sep 2014 09:54:41 +0000 (11:54 +0200)]
validate: remove redundant pre-condition in monitor_factory_create
The same check is already done at the head of the function.
https://bugzilla.gnome.org/show_bug.cgi?id=736019
Guillaume Desmottes [Thu, 4 Sep 2014 09:53:56 +0000 (11:53 +0200)]
validate: fix a couple of typos in comments
https://bugzilla.gnome.org/show_bug.cgi?id=736019
Thibault Saunier [Thu, 4 Sep 2014 17:18:25 +0000 (19:18 +0200)]
validate:docs: Sensibly update the usage file
Thibault Saunier [Fri, 22 Aug 2014 17:30:14 +0000 (19:30 +0200)]
validate: Use a GList to store action types instead of hashtable
It is more adapted and allows us to print the action types in a stable
maneer.
Thibault Saunier [Fri, 22 Aug 2014 16:45:13 +0000 (18:45 +0200)]
validate: report: Do not repeat type name when printing its details
Thibault Saunier [Tue, 19 Aug 2014 09:10:57 +0000 (11:10 +0200)]
validate: Change the version to 1.0.0.1
The 1.0.0.1 means that it is targetting the GStreamer 1.X serie,
and is a git version (thus 0.1)
GstValidate will most probably not be released and we should try to
be able to use it with as many version of the GStreamer 1.X serie
as possible.
Thibault Saunier [Mon, 18 Aug 2014 16:41:50 +0000 (18:41 +0200)]
validate: Document the API with gtk-doc
Thibault Saunier [Wed, 11 Jun 2014 07:23:11 +0000 (09:23 +0200)]
validate: Add GObject Introspection support
Thibault Saunier [Thu, 14 Aug 2014 08:55:44 +0000 (10:55 +0200)]
validate: Rework the action parameter API
Making it possible to properly define parameters, and describe them.
+ Document all action types!
Thibault Saunier [Wed, 13 Aug 2014 21:07:47 +0000 (23:07 +0200)]
validate: Add an option to print all avalaible actions with details
+ Cleanup actions descriptions
+ Make GstValidateActionType internal only and only expose the structure
Thibault Saunier [Thu, 14 Aug 2014 08:57:33 +0000 (10:57 +0200)]
validate: Use the buffering mode to see if pipeline is live or not
Thibault Saunier [Thu, 14 Aug 2014 08:56:56 +0000 (10:56 +0200)]
validate: Do not segfault when receiving a segment on unlink pad
For some reason we did no discover that before.
Thibault Saunier [Wed, 13 Aug 2014 18:47:24 +0000 (20:47 +0200)]
validate: Make GstValidateActionType a GstMiniObject and expose it in the API
Thibault Saunier [Wed, 13 Aug 2014 18:46:17 +0000 (20:46 +0200)]
validate:scenario: Cleanup header and add some padding to classes
Let's start making gst-validate ABI and API stable
Anuj Jaiswal [Wed, 20 Aug 2014 13:29:26 +0000 (18:59 +0530)]
gst-validate: fix some minor memory leaks
https://bugzilla.gnome.org/show_bug.cgi?id=735099
Mathieu Duponchelle [Tue, 19 Aug 2014 16:06:14 +0000 (18:06 +0200)]
validate: generate test names with the stream_info filename.
And not with the contained uri string, which is variable.
Thibault Saunier [Tue, 12 Aug 2014 13:14:28 +0000 (15:14 +0200)]
validate: The scenario only old a weak ref so unref the weak ref
We were unrefing an object we did not actually own a ref on.
Thibault Saunier [Tue, 12 Aug 2014 07:36:34 +0000 (09:36 +0200)]
validate: Print when we set pipeline state because of buffering
Thibault Saunier [Mon, 11 Aug 2014 18:19:02 +0000 (20:19 +0200)]
validate:launcher: Properly handle libsdir when gst-validate is installed
+ Fix the _in_devel function
+ Install the validate default testsuite implementation in the right
place
Thibault Saunier [Mon, 11 Aug 2014 11:21:09 +0000 (13:21 +0200)]
validate:launcher: Let testsuite know the actual file in which they are
Thibault Saunier [Mon, 11 Aug 2014 11:19:22 +0000 (13:19 +0200)]
validate:launcher: Add the logic of needed env variables in tests
Thibault Saunier [Sun, 10 Aug 2014 10:41:57 +0000 (12:41 +0200)]
validate:launcher: Expose all classes to be used to create testsuites
To create testsuite from outside gst-validate, the user will need to be
able to use the TestGenerator and subclasses of Test that we implement
in the apps, to do so we publicly expose them in the TestManager class
so that user have acces to everything they need.
Thibault Saunier [Sun, 10 Aug 2014 10:04:31 +0000 (12:04 +0200)]
validate:launcher: Handle stdout/stderr as possible logfiles
Allowing people to get all the logs in the terminal
Thibault Saunier [Sat, 9 Aug 2014 21:22:39 +0000 (23:22 +0200)]
validate: Allow several outputs in GST_VALIDATE_FILE
Thibault Saunier [Sat, 9 Aug 2014 14:34:09 +0000 (16:34 +0200)]
validate: Launcher: Add support for the dash protocol
And make sure that the HTTP server is started if it is needed to serve
some HLS or DASH streams
Thibault Saunier [Fri, 8 Aug 2014 17:14:02 +0000 (19:14 +0200)]
validate:Launcher: Use the first media path as a path for http server
We need to have a default path and the first one sounds like a
reasonnable default.
Thibault Saunier [Fri, 8 Aug 2014 10:33:54 +0000 (12:33 +0200)]
validate:launcher: Allow limitating local HTTP server bandwith
By default we limit its bandwith to 1MBps which is somehow similare to a
good internet connection case.
Thibault Saunier [Tue, 5 Aug 2014 16:51:20 +0000 (18:51 +0200)]
validate:launcher: Disable racy HLS tests
+ Add need-clock-synk to switch_audio_track_while_paused as it relies on
the clock sync to pause and then display subtitles
Thibault Saunier [Tue, 5 Aug 2014 08:59:21 +0000 (10:59 +0200)]
validate:launcher: Take into account exitcode in transcoding tests
And disable a few racy tests that were not detected because of that
Thibault Saunier [Tue, 29 Jul 2014 10:17:21 +0000 (12:17 +0200)]
validate:launcher:testsuite: De activate backward playback where appropriate
And re activate it where it works
Thibault Saunier [Sat, 26 Jul 2014 09:42:09 +0000 (11:42 +0200)]
validate: Actually accept rounding errors and small mistakes for position
WHen seeking in paused the position right after should be pretty much
the exact one, but sometimes it can be a little different because of
rounding issues and similare.
Thibault Saunier [Sat, 26 Jul 2014 09:41:09 +0000 (11:41 +0200)]
validate: Add a way to avoid printing all the issue in reports
Avoiding user to be flooded by information he does not want while
debugging
Thibault Saunier [Sat, 26 Jul 2014 06:27:55 +0000 (08:27 +0200)]
validate: Print the report when aborting because of an issue
Letting a chance to the user to know what bug he faced!
Thibault Saunier [Thu, 24 Jul 2014 17:26:29 +0000 (19:26 +0200)]
validate: Enhance output about critical errors
+Lower some warning to INFO
Thibault Saunier [Thu, 24 Jul 2014 17:02:38 +0000 (19:02 +0200)]
validate: Allow overrides for scenario issues
Thibault Saunier [Mon, 21 Jul 2014 16:00:42 +0000 (18:00 +0200)]
validate: Avoid readding several time the same test in the tests result list
Thibault Saunier [Sat, 19 Jul 2014 09:47:44 +0000 (11:47 +0200)]
validate:launcher: Fix test number print
Thibault Saunier [Thu, 31 Jul 2014 15:54:17 +0000 (17:54 +0200)]
tools: Launcher: Disable validate.file.*.simple.scrub_forward_seeking.synchronized
It is still a bit racy and sometimes the seek just does not happen
Thibault Saunier [Thu, 31 Jul 2014 15:43:51 +0000 (17:43 +0200)]
tools: launcher: Disable subtitle track switching scenario on Sintel
It is racy at the moment.
Thibault Saunier [Wed, 23 Jul 2014 18:39:05 +0000 (20:39 +0200)]
validate:launcher: Allow informing minimum media duration in scenarios
Allowing the launcher to avoid running tests on medias that are not long
enough
Thibault Saunier [Wed, 23 Jul 2014 15:49:21 +0000 (17:49 +0200)]
validate:launcher: Always print final report + enhance output
Thibault Saunier [Wed, 23 Jul 2014 12:51:43 +0000 (14:51 +0200)]
validate:scenario: Properly check that remaining actions are not 'ending' ones
When checking that all action were executed, we need to make sure that
actions such as EOS or stop are not taken into account as we might have
shorter medias than the duration of the scenario, and that should not be
fatal.
+ Plug a leak on the way
Thibault Saunier [Wed, 23 Jul 2014 12:43:29 +0000 (14:43 +0200)]
validate: launcher: Force clock syncronization for some scenarios
In some cases it is necessary that the clock is sync so that all the
actions can be executed.
Thibault Saunier [Wed, 23 Jul 2014 08:54:37 +0000 (10:54 +0200)]
validate: Launcher: Make sure tests are always executed in same order
Thiago Santos [Tue, 22 Jul 2014 14:42:48 +0000 (11:42 -0300)]
gst-validate-scenario: add emit-signal
emit-signal action allows to emit signals to elements in scenarios.
The implementation only accepts signals without arguments for now but
it can be extended to use parameters if needed in the future
Thibault Saunier [Tue, 22 Jul 2014 13:49:09 +0000 (15:49 +0200)]
validate: Launcher: Fix a backtrace using self in a @staticmethod
Thiago Santos [Tue, 22 Jul 2014 01:41:28 +0000 (22:41 -0300)]
gst-validate-scenario: the structure has the type
Get the GValue directly from the structure and do not assume everything
is stored as a string and use the GstStructure's GValue to set the property
to the instances
Thiago Santos [Tue, 22 Jul 2014 01:01:27 +0000 (22:01 -0300)]
gst-validate: properly set pipeline to null before unref
In case it fails when going ready->paused it will remain in ready state
and be unref'd in ready, leading to an assertion
Arnaud Vrac [Mon, 21 Jul 2014 17:09:24 +0000 (19:09 +0200)]
validate: Fix build on some custom platforms
We need to explicitely pass GLIB_LIBS for GModule as it seems not to be included by
GST_ALL_LIBS and we need LIBM
Lubosz Sarnecki [Mon, 19 May 2014 16:06:46 +0000 (18:06 +0200)]
httpserver: launch webserver with the same python interpreter.
Thibault Saunier [Sat, 19 Jul 2014 07:48:17 +0000 (09:48 +0200)]
validate: Dot the pipeline on interuption
Aurélien Zanelli [Fri, 18 Jul 2014 13:57:24 +0000 (15:57 +0200)]
validate: duplicate strings in gst_validate_issue_new()
Do this to avoid discarding 'const' qualifier when using it with
constant strings. Moreover it will avoid a g_free on constant string.
https://bugzilla.gnome.org/show_bug.cgi?id=733362
Thibault Saunier [Fri, 18 Jul 2014 14:28:49 +0000 (16:28 +0200)]
validate:launcher: Fix a backtrace using an undefined method
Thibault Saunier [Thu, 17 Jul 2014 14:48:21 +0000 (16:48 +0200)]
valdate:launcher: Do not refer to self in @staticmethod
There is no self in there.
Thibault Saunier [Thu, 17 Jul 2014 14:44:08 +0000 (16:44 +0200)]
validate: Add a set-debug-threshold scenario action
Allowing users to activate the debug only at the interesting time
Thibault Saunier [Thu, 17 Jul 2014 14:42:02 +0000 (16:42 +0200)]
validate: Add Gst debugging when using gst-validate printing feature
Giving usefull debugging informations in the GSt debug logs
Thibault Saunier [Thu, 17 Jul 2014 10:17:31 +0000 (12:17 +0200)]
validate: Do not auto flush pipeline bus
We want to see all messages in our async handler
And flush it when we are done.
Thibault Saunier [Wed, 16 Jul 2014 17:38:01 +0000 (19:38 +0200)]
validate:launcher: Avoid using sync=true on fakesinks
Making the test run much faster!
Thibault Saunier [Wed, 16 Jul 2014 17:37:35 +0000 (19:37 +0200)]
validate: Launcher: Print total time spent in the final report
Thibault Saunier [Wed, 16 Jul 2014 16:21:16 +0000 (18:21 +0200)]
validate: Make switch_subtitle_track_while_paused handle states
Thibault Saunier [Wed, 16 Jul 2014 12:46:32 +0000 (14:46 +0200)]
vaildate: Make disable_subtitle_track_while_paused handle states
Thibault Saunier [Sun, 13 Jul 2014 16:21:50 +0000 (18:21 +0200)]
validate: Make scrub_forward_seeking handle states
Thibault Saunier [Wed, 16 Jul 2014 11:54:54 +0000 (13:54 +0200)]
validate:launcher: Properly check that encoded files have the exact wanted format
Thibault Saunier [Wed, 16 Jul 2014 10:50:41 +0000 (12:50 +0200)]
validate:launcher: Add a method to create a GstValidateMediaDescriptor from a uri
Thibault Saunier [Wed, 16 Jul 2014 10:16:03 +0000 (12:16 +0200)]
validate:launcher: Move MediaFormatCombination to baseclasses.py
+ Add some simple helpers
Thibault Saunier [Wed, 16 Jul 2014 10:03:14 +0000 (12:03 +0200)]
validate:launcher: Implement a GstValidateEncodingTestInterface class
Allowing code to be shared between apps that run rendering tests
Thibault Saunier [Wed, 16 Jul 2014 09:39:08 +0000 (11:39 +0200)]
validate:launcher: Implement a MediaDescriptor subclass for xges project files
Thibault Saunier [Wed, 16 Jul 2014 09:36:29 +0000 (11:36 +0200)]
validate:launcher: Make a MediaDescriptor baseclass to be used by any application
Thibault Saunier [Wed, 16 Jul 2014 08:35:34 +0000 (10:35 +0200)]
validate:launcher: Give information to users when cloning asset failed
It might not be obvious from the stacktrace so it is better to clearly
explain what the failure was when we know it
Thibault Saunier [Wed, 16 Jul 2014 08:16:19 +0000 (10:16 +0200)]
validate:launcher: Fixup the default asset update command
Thibault Saunier [Wed, 16 Jul 2014 08:12:04 +0000 (10:12 +0200)]
validate:launcher: Generate proper EncodingProfiles for audio/video only media files
Thibault Saunier [Wed, 16 Jul 2014 08:10:44 +0000 (10:10 +0200)]
validate:launcher: Move the MediaDescriptor class to the baseclasses.py file
Thibault Saunier [Wed, 16 Jul 2014 08:09:32 +0000 (10:09 +0200)]
validate:launcher: Allow transcoding audio only files 5 time longer than long_limit
Transcoding audio is a lot shorter so we can concider that transcoding files that are only
only is 5 time shorter than the actual file (empirical number)
Thibault Saunier [Wed, 16 Jul 2014 08:03:11 +0000 (10:03 +0200)]
validate:media-check: Pass the GError where needed.
Thibault Saunier [Tue, 15 Jul 2014 10:16:34 +0000 (12:16 +0200)]
validate: Avoid segfault in the error path
Thibault Saunier [Tue, 15 Jul 2014 09:59:23 +0000 (11:59 +0200)]
validate:media-descriptor-writer: Handle medias with 1 single stream
Thibault Saunier [Tue, 8 Jul 2014 11:50:11 +0000 (13:50 +0200)]
validate: Check that after a seek in PAUSED position is perfect
In case of ACCURATE seeking, the position after a SEEK in PAUSED state
should be *exactly* the one requested by the user.
Thiago Santos [Fri, 11 Jul 2014 18:45:18 +0000 (15:45 -0300)]
scenario: add set_property scenario action
Allows setting element's properties during a scenario. Very useful
for testing that elements behave correctly when changing properties
during playing state
https://bugzilla.gnome.org/show_bug.cgi?id=733070
Sreerenj Balachandran [Wed, 9 Jul 2014 16:10:57 +0000 (19:10 +0300)]
New Tool: Add a CodecAnalyzer
https://bugzilla.gnome.org/show_bug.cgi?id=731853
Stefan Sauer [Mon, 7 Jul 2014 14:12:22 +0000 (16:12 +0200)]
TODO: add some planning comments
Stefan Sauer [Tue, 22 Oct 2013 08:57:14 +0000 (10:57 +0200)]
mi-info: add wikilink for opus
Thibault Saunier [Wed, 2 Jul 2014 15:53:55 +0000 (17:53 +0200)]
validate: Execute actions if we get seeked in ready state
Thibault Saunier [Wed, 2 Jul 2014 09:27:22 +0000 (11:27 +0200)]
validate: Let scenarios tell the apps about whether it handles states
The user only needs to add handles-states=true in the description line
of the scenario
Thibault Saunier [Thu, 19 Jun 2014 10:58:49 +0000 (12:58 +0200)]
validate:scenario: Do not care about the position if we are not at least in PAUSED state
At that time the position query will be meaningless so we should just go to the next
action.
Thibault Saunier [Thu, 26 Jun 2014 13:07:39 +0000 (15:07 +0200)]
validate: Handle MXF files
Thibault Saunier [Thu, 26 Jun 2014 13:03:07 +0000 (15:03 +0200)]
validate:media-check: Changes in tags detection are not fatal issues
Thibault Saunier [Thu, 26 Jun 2014 11:01:13 +0000 (13:01 +0200)]
validate:launcher Add video mixing tests
+ Move default_testsuite.py to validate_testsuite.py as we are now
exposing tests that are not enabled by default
Thibault Saunier [Thu, 26 Jun 2014 10:42:38 +0000 (12:42 +0200)]
validate:launcher: Move the notion of test generator to the baseclasses
This can be very usefull for all the TestManager and thus exposes a
higher level API for test writers.
Thibault Saunier [Thu, 19 Jun 2014 14:26:43 +0000 (16:26 +0200)]
validate:launcher: Move default testsuite to a dedicated file
Making the separation cleaner between the launcher and the test
implementation
Thibault Saunier [Fri, 20 Jun 2014 17:01:41 +0000 (19:01 +0200)]
validate: Properly handle CLOCK_TIME_NONE position and duration values
In the value parser.
Thibault Saunier [Thu, 19 Jun 2014 11:03:48 +0000 (13:03 +0200)]
validate: Print the return value at the end
Making it easier to know whether the test passed or not.
Thibault Saunier [Thu, 19 Jun 2014 10:56:34 +0000 (12:56 +0200)]
validate:scenario: Move the check about whether we are still seeking upper in the function
Avoiding to try to get position and do operations on a pipeline that is seeking
Vincent Penquerc'h [Mon, 25 Nov 2013 13:55:10 +0000 (13:55 +0000)]
validate-scenario: only use valid position/duration
Position/duration query may fail, or yield unknown values (eg,
unknown duration for live streams). In these cases, we must ensure
we do not use those invalid values.
https://bugzilla.gnome.org/show_bug.cgi?id=715160
Thibault Saunier [Thu, 19 Jun 2014 07:38:52 +0000 (09:38 +0200)]
validate:launcher: Not concider all scenarios by default with --wanted-test
Instead let the users activate that with -t ALL
Thibault Saunier [Thu, 19 Jun 2014 07:22:36 +0000 (09:22 +0200)]
validate:launcher: Let the user set user options in the config file