Commit graph

600 commits

Author SHA1 Message Date
Brandon Lewis
83e7f5eec0 tests/examples/transition.c: split out "make_timeline" into separate routine 2010-06-09 11:28:08 +02:00
Brandon Lewis
90038c1f94 tests/examples/transition.c: remove some cruft from transition example 2010-06-09 11:28:08 +02:00
Brandon Lewis
a025040ed6 tests/examples/transition.c: print values in seconds not nseconds 2010-06-09 11:28:07 +02:00
Brandon Lewis
bfadeeb4f5 tests/examples/transition.c: cast arguments to g_object_set 2010-06-09 11:28:07 +02:00
Brandon Lewis
c9a2f73579 hacking 2010-06-09 11:28:07 +02:00
Brandon Lewis
60e09c2438 tests/examples/transition.c: create transition when duration > 0 2010-06-09 11:28:07 +02:00
Brandon Lewis
575c810a90 dist transition.c 2010-06-09 11:28:07 +02:00
Brandon Lewis
bd28d788f0 check in single transition demo 2010-06-09 11:28:07 +02:00
Brandon Lewis
603619ec6b playlist.c: working pattern sources 2010-06-09 11:28:06 +02:00
Edward Hervey
89b0739512 examples: Add a looping feature to playlist example
Allows playing the timeline repeatedly a certain number of times
2010-06-02 11:49:08 +02:00
Edward Hervey
9dd1d7f1ba examples: New concatenate examples.
Allows concatenating several files of the same type together
2010-05-25 16:35:27 +02:00
Edward Hervey
d56616ecfa examples: Ignore some files 2010-05-25 16:35:27 +02:00
Edward Hervey
b1d5af7f4f tests: ignore more files 2010-05-19 12:39:23 +02:00
Edward Hervey
b752dab333 examples: Allow setting null duration on files
This will make the timeline use GstDiscoverer to analyze the file.
2010-05-19 12:38:21 +02:00
Edward Hervey
eb4b02f3ed GESTimelineFileSource: Add 'max-duration' and 'supported-formats' properties
* max-duration is the total length of the File.
* supported-formats is the various track types this filesource can produce
  trackobjects for. This should maybe be moved to parent classes in the
  future

Step 1 of GstDiscoverer integration
2010-05-19 12:24:44 +02:00
Edward Hervey
51b660eca3 examples: Add option to specify video restriction
Some encoders don't handle _get_caps() properly :(
2010-05-06 19:57:25 +02:00
Edward Hervey
8af90b7144 examples: New playlist examples
Allows giving lists of file/start/duration triplets and testing the
various timeline-pipeline modes (preview, render, smart-render)
2010-04-20 13:47:08 +02:00
Edward Hervey
d784d95d10 check: Use GST_CFLAGS so we get new compilation flags 2010-04-20 13:47:08 +02:00
Edward Hervey
3c9bb965fc examples: Simple Audio/Video example
Currently one can:
* Give a multimedia file
* modify the inpoint
* modify the duration
* mute the audio
2010-03-13 16:43:59 +01:00
Edward Hervey
346d7ab0f6 tests: Add unit test for layer property.
Still needs more work though
2010-03-13 15:56:57 +01:00
Edward Hervey
369d1d8cd8 tests: Check refcount of created trackobjects 2010-03-13 15:56:56 +01:00
Edward Hervey
83cc796cc9 GESTimelineObject: Don't leak a reference when creating TrackObject 2010-03-13 15:54:32 +01:00
Edward Hervey
69161e795e ignore more files 2010-03-11 11:06:50 +01:00
Edward Hervey
81a8840c86 examples: Fix linking/include order 2010-03-05 16:10:13 +01:00
Edward Hervey
fcaf46b013 check: Add a test for checking timelinefilesource properties
This include the mute feature
2010-03-05 16:04:37 +01:00
Edward Hervey
648350498f examples: Use profile LIBS
and fix a typo with GST_LIBS
2010-02-09 17:45:42 +01:00
Jarkko Pallviainen
1be4e75b44 examples: Fix build on 32bit systems 2010-01-20 11:09:56 +01:00
Edward Hervey
e6805bfb33 examples: test4: variant of test3 with rendering.
Usage: ./test4 output_uri audio_files

This will render in ogg/vorbis the first seconds of all the provided
audio files to the output_uri
Ex : ./test4 file:///data/audio1s.ogg /data/music/*.ogg
2010-01-08 18:16:16 +01:00
Edward Hervey
361467c9d9 tests: Fix macro by making it use the proper argument types 2009-12-11 15:20:35 +01:00
Edward Hervey
6b265346c4 tests: Fix linking order.
This ensures that "make check" will run with the local libraries and not
the system-wide ones
2009-12-11 15:20:35 +01:00
Edward Hervey
6882f9b842 tests: release TrackObject when we're done with it 2009-11-25 13:17:01 +01:00
Edward Hervey
8958e84e6b tests: Don't forget to cast to guint64 when using g_object_set
... else total failure ensues on 32bit machines
2009-11-25 13:17:01 +01:00
Edward Hervey
640cf95158 tests: New unit test for GESTimelineObject 2009-09-30 16:45:13 +02:00
Edward Hervey
acef4cf4c1 tests/examples: test3, same as test2, but uses a SimpleTimelineLayer 2009-09-29 15:32:23 +02:00
Edward Hervey
e24c561d61 tests/check: Add test for GESSimpleTimelineLayer 2009-09-29 15:29:11 +02:00
Edward Hervey
23d2bdcca1 tests/example: New small example of timeline file sources.
This examples takes a list of files with audio tracks, and plays the first
second of each.

This demonstrates the usage of GESTimelineFileSource
2009-09-21 18:11:19 +02:00
Edward Hervey
a74cfc86f6 tests/check: New test for GESTimelineFileSource 2009-09-21 18:08:51 +02:00
Edward Hervey
06ebf38c32 tests: Make basic test check for proper reference counting. 2009-09-14 19:48:21 +02:00
Edward Hervey
533cc611cb Document first high-level demo. 2009-09-10 18:53:31 +02:00
Edward Hervey
c879e77c16 test1: Expand example to also use an audio track. 2009-09-09 15:53:53 +02:00
Edward Hervey
9eb88fd229 test1: Actually change videotestsrc patterns to make changes obvious. 2009-09-09 13:57:37 +02:00
Edward Hervey
4fccce57dd test1: Use mainloop, required for proper gnonlin behaviour. 2009-09-09 13:55:30 +02:00
Edward Hervey
73c6f213c7 examples: Add timeline to pipeline and set it to playing.
... and now we need to go an fix playsink :)
2009-09-08 19:46:54 +02:00
Edward Hervey
57493596cc test/ges/basic: Adapt to API changes. 2009-09-08 19:46:26 +02:00
Edward Hervey
83c3e87661 CustomTimelineSource: Allow giving user_data to the callback 2009-08-07 20:31:11 +02:00
Edward Hervey
a25c707999 Add directory for examples along with a minimalistic first example. 2009-08-07 20:29:35 +02:00
Edward Hervey
d8444f3844 Add 'caps' property on Track 2009-08-07 18:18:42 +02:00
Edward Hervey
f2851c3473 tests/ges/basic: Extend test to remove the object. 2009-08-07 16:47:18 +02:00
Edward Hervey
1bd2ebc068 tests: Add a simple scenario 2009-08-06 20:04:59 +02:00
Edward Hervey
12777c8532 Add unit test system. Adjust GST_DEBUG usage. 2009-08-06 19:51:29 +02:00