Commit graph

228 commits

Author SHA1 Message Date
Brandon Lewis
31464faad9 get add_transition action from xml 2010-09-02 18:04:28 +02:00
Brandon Lewis
43f8f04cf5 menu/toolbar for adding transitions 2010-09-02 18:04:28 +02:00
Brandon Lewis
f519e156e8 allow multiple selections 2010-09-02 18:04:28 +02:00
Brandon Lewis
b05e5534df set pipeline to ready on EOS 2010-09-02 18:04:28 +02:00
Brandon Lewis
f11057246c make sure all actions that mutate timeline are disabled during playback 2010-09-02 18:04:28 +02:00
Brandon Lewis
ad7f430066 set frequency property when spin button changed 2010-09-02 18:04:28 +02:00
Brandon Lewis
cffbeec32b update frequency spin button when selection changed 2010-09-02 18:04:28 +02:00
Brandon Lewis
f2e3cba941 add frequency and volume widgets, with signal handlers 2010-09-02 18:04:28 +02:00
Brandon Lewis
d34e61d395 update source volume when slider is moved 2010-09-02 18:04:28 +02:00
Brandon Lewis
c9a9cabaec update volume slider when volume changes 2010-09-02 18:04:28 +02:00
Brandon Lewis
9bc26edc87 get freq/volume widgets 2010-09-02 18:04:27 +02:00
Brandon Lewis
335c93569b implement background widget 2010-09-02 18:04:27 +02:00
Brandon Lewis
ed079ed6f0 fill backround type table from enum values 2010-09-02 18:04:27 +02:00
Brandon Lewis
3b2659b6f9 adjust visibility calculations 2010-09-02 18:04:27 +02:00
Brandon Lewis
b37a92b255 allow adding test sources 2010-09-02 18:04:27 +02:00
Brandon Lewis
e21bce1843 get background widgets from xml 2010-09-02 18:04:27 +02:00
Brandon Lewis
3ada32eeac test sources 2010-09-02 18:04:27 +02:00
Brandon Lewis
d67801792d add text box to set durations from formatted strings 2010-09-02 18:04:27 +02:00
Brandon Lewis
496c654728 set sate of pipeline to NULL prior to exit 2010-09-02 18:04:27 +02:00
Brandon Lewis
fa60c9cb9d update text property from text widget 2010-09-02 18:04:27 +02:00
Brandon Lewis
aa7ff11b7f call ges_simple_timeline_layer_add_object intead of base method 2010-09-02 18:04:27 +02:00
Brandon Lewis
685cd40fa1 completely hide properties widgets when nothign is selected 2010-09-02 18:04:27 +02:00
Brandon Lewis
78120467e7 refactor connecto_to_* family of functions 2010-09-02 18:04:27 +02:00
Brandon Lewis
fbed7cf5f3 connect to text property widgets 2010-09-02 18:04:26 +02:00
Brandon Lewis
ab2bb1dce5 add widgets to UI for editing text properties 2010-09-02 18:04:26 +02:00
Brandon Lewis
28cef09736 add signal handlers for text properties 2010-09-02 18:04:26 +02:00
Brandon Lewis
59ecab2421 keep track of the type of selected objects 2010-09-02 18:04:26 +02:00
Brandon Lewis
5a8ce641ee add title source when action activates 2010-09-02 18:04:26 +02:00
Brandon Lewis
e34baad63d add text properties to UI 2010-09-02 18:04:26 +02:00
Brandon Lewis
91d8591a1e allow multiple files to be added 2010-09-02 18:04:26 +02:00
Brandon Lewis
a0be0475c5 use file-chooser dialog when adding files 2010-09-02 18:04:26 +02:00
Brandon Lewis
b20a89540f disable playback when there's nothing in the timeline 2010-09-02 18:04:26 +02:00
Brandon Lewis
921378b488 disable add_file during playback 2010-09-02 18:04:26 +02:00
Brandon Lewis
fccf1d4520 disable delete during playback 2010-09-02 18:04:26 +02:00
Brandon Lewis
fc93c3c870 disable properties during playback 2010-09-02 18:04:26 +02:00
Brandon Lewis
aae0e26508 update state from bus; set button icon from playback state 2010-09-02 18:04:25 +02:00
Brandon Lewis
b7c2956827 set the action sensitivity, not the menu item 2010-09-02 18:04:25 +02:00
Brandon Lewis
783ce7ac3b toggle playback when button clicked 2010-09-02 18:04:25 +02:00
Brandon Lewis
5cbd2f28a6 fix signal handler signatures 2010-09-02 18:04:25 +02:00
Brandon Lewis
79a939e3cf add play action/controls 2010-09-02 18:04:25 +02:00
Brandon Lewis
7bbde00c9b add toolbar; connect to action signals instead of menu items directly 2010-09-02 18:04:25 +02:00
Brandon Lewis
9107efb4ac also set state of delete menu item 2010-09-02 18:04:25 +02:00
Brandon Lewis
6a0c7da725 update in-point from in-point slider 2010-09-02 18:04:25 +02:00
Brandon Lewis
80119bc7c5 add in-point slider 2010-09-02 18:04:25 +02:00
Brandon Lewis
01f6795733 format duration nicely 2010-09-02 18:04:25 +02:00
Brandon Lewis
853c31e75e set slider range before setting duration 2010-09-02 18:04:25 +02:00
Brandon Lewis
c4219a9304 remove some unneeded function protos 2010-09-02 18:04:25 +02:00
Brandon Lewis
2e2d7e388a slider updates duration of selected object now 2010-09-02 18:04:25 +02:00
Brandon Lewis
2919d61bf8 connect to duration and max-duration changed of filesources 2010-09-02 18:04:24 +02:00
Brandon Lewis
8ae5872787 do housekeeping each time selection is updated 2010-09-02 18:04:24 +02:00
Brandon Lewis
b5affabc0c clean up the create_ui function a bit 2010-09-02 18:04:24 +02:00
Brandon Lewis
64d09470d0 disable properties editor when nothing is selected 2010-09-02 18:04:24 +02:00
Brandon Lewis
0767ac5e92 rename a few attributes 2010-09-02 18:04:24 +02:00
Brandon Lewis
1a72eb0fdc update list model when objects are removed from layer 2010-09-02 18:04:24 +02:00
Brandon Lewis
9c93c4e15f delete selected objects from layer when user issues delete command 2010-09-02 18:04:24 +02:00
Brandon Lewis
bdc7dc7cd7 store a pointer to the list selection 2010-09-02 18:04:24 +02:00
Brandon Lewis
c46c03504a display filename and duration of added clip 2010-09-02 18:04:24 +02:00
Brandon Lewis
fcd508559e don't create tree model in XML 2010-09-02 18:04:24 +02:00
Brandon Lewis
feca823168 make sure we get everythign we need from the XML file 2010-09-02 18:04:24 +02:00
Brandon Lewis
2cb291b191 connect to layer object-{added,removed} and display message 2010-09-02 18:04:24 +02:00
Brandon Lewis
db243a2499 add some simple code to add a source to the timeline 2010-09-02 18:04:23 +02:00
Brandon Lewis
cd1ebe9237 add liscence and some organizational comments 2010-09-02 18:04:23 +02:00
Brandon Lewis
d267841e41 we don't have to free all that much, in fact 2010-09-02 18:04:23 +02:00
Brandon Lewis
d236e92178 create a simple timeline layer 2010-09-02 18:04:23 +02:00
Brandon Lewis
c74b51f9b2 pass app instance to signal handlers 2010-09-02 18:04:23 +02:00
Brandon Lewis
789859cbc4 move app data to private struct 2010-09-02 18:04:23 +02:00
Brandon Lewis
37e895975d export dynamic symbols in examples so signal autoconnect works 2010-09-02 18:04:23 +02:00
Brandon Lewis
6c3e0b3f34 add protos so it builds under c90 mode 2010-09-02 18:04:23 +02:00
Brandon Lewis
f4826aa85c add ges-ui.c to build system 2010-09-02 18:04:23 +02:00
Brandon Lewis
da242d9f9a move ui to tests/examples 2010-09-02 18:03:38 +02:00
Brandon Lewis
01ba934522 check in text properties example 2010-09-01 16:56:04 +02:00
Brandon Lewis
f80b85ffdc add thumbnailing example which tests rest of thumbnailing api 2010-07-16 18:54:48 +02:00
Brandon Lewis
521df03ddd GESTimelineOverlay -> GESTimelineTextOverlay 2010-07-09 13:21:15 +02:00
Edward Hervey
5058f83381 examples: Ignore files 2010-07-09 13:21:13 +02:00
Edward Hervey
aa640c7709 tests: Add <stdlib.h> for exit usage 2010-07-09 13:21:13 +02:00
Brandon Lewis
79cbb9efad check in overlay test app 2010-07-09 13:21:12 +02:00
Edward Hervey
ec1a08ded6 tests: Add <stdlib.h> for exit usage 2010-07-09 10:35:41 +02:00
Thiago Santos
70c26b55cb Fix building issues
Adds missing headers to some files and needed cflags to gtk-doc
scanner build
2010-07-07 09:10:49 +02:00
Edward Hervey
c558b01f5b examples: Fix debug statement 2010-06-11 19:34:39 +02:00
Brandon Lewis
d9419c60f3 tests/examples/transition.c: C90 fixes 2010-06-09 17:13:07 +02:00
Brandon Lewis
ebaffc5b33 tests/examples/test4.c: C90 fixes 2010-06-09 17:13:07 +02:00
Brandon Lewis
175296c174 tests/check/ges/concatenate.c: C90 fixes 2010-06-09 17:13:07 +02:00
Edward Hervey
b814e287e3 tools/examples: Ignore more files 2010-06-09 11:28:45 +02:00
Edward Hervey
a408905e72 tools: Moving playlist from examples and making it installable
It is now called ges-launch
2010-06-09 11:28:45 +02:00
Brandon Lewis
7e978db455 tests/examples/playlist.c: allow file / pattern durations to be 0 (but not
transitions)
2010-06-09 11:28:45 +02:00
Brandon Lewis
9cf2d7b1be tests/examples/playlist.c: clean up playlist help text 2010-06-09 11:28:45 +02:00
Brandon Lewis
c5d9b54c67 tests/examples/playlist.c: better sanity checking of arguments 2010-06-09 11:28:45 +02:00
Brandon Lewis
34b398970c tests/examples/playlist.c: add option to print avail. transitions/patterns.
update help strings
2010-06-09 11:28:45 +02:00
Brandon Lewis
e0553dd63b tests/check/ges/{simplelayer.c,transition.c}: create audio tracks in demos 2010-06-09 11:28:09 +02:00
Brandon Lewis
9de8dc2726 tests/examples/playlist.c: make audio stream of audiotestsrc silent (it's much
less annoying).
2010-06-09 11:28:09 +02:00
Brandon Lewis
394f11e90f tests/examples/playlist.c: fix inappropriate down-casts in playlist.py 2010-06-09 11:28:09 +02:00
Brandon Lewis
bcf734a419 tests/examples/playlist.c: add transitions to playlist example 2010-06-09 11:28:08 +02:00
Brandon Lewis
deddfe2df5 tests/examples/transition.c: use ges_timeline_transition_new_from_nick() 2010-06-09 11:28:08 +02:00
Brandon Lewis
7cab52d01b tests/examples/playlist.c: re-work pattern command line syntax 2010-06-09 11:28:08 +02:00
Brandon Lewis
11db2c9f9f ests/examples/transition.c: create transition with specified type 2010-06-09 11:28:08 +02:00
Brandon Lewis
a9b47a1a71 tests/examples/transition.c: pass transition type to make_timeline 2010-06-09 11:28:08 +02:00
Brandon Lewis
498414e782 tests/examples/transition.c: make -t option work with values supported by
smpte + "crossfade"
2010-06-09 11:28:08 +02:00
Brandon Lewis
6943fe1b42 tests/examples/transition.c: add routines for identifying transitions 2010-06-09 11:28:08 +02:00
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
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
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
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
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
acef4cf4c1 tests/examples: test3, same as test2, but uses a SimpleTimelineLayer 2009-09-29 15:32:23 +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
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
a25c707999 Add directory for examples along with a minimalistic first example. 2009-08-07 20:29:35 +02:00