Commit graph

148 commits

Author SHA1 Message Date
Thibault Saunier
95126cd0ef ges-launch: Play nicely with gst-validate if avalaible 2014-03-20 17:25:53 +01:00
Thibault Saunier
98e1977633 ges-launch: Add a way to mute test video and audio output 2014-03-20 17:25:53 +01:00
Thibault Saunier
fa742de968 ges-launch: Properly handle project loading
So we start the pipeline only when the project is done loading, and we save it when it is
loaded, taking into account possible media URI updates.
2014-03-20 17:25:53 +01:00
Thibault Saunier
f921277ac2 Rename TIMELINE_MODE_XXX to GES_PIPELINE_MODE_XXX so it corresponds to reality
First, it was not in any namespace, second the name of the enum is
GESPipelineFlags.
2014-02-17 12:37:57 +01:00
Alexandru Băluț
df93acc581 ges-pipeline: Rename add_timeline to set_timeline
API BREAKAGE:
        - ges_pipeline_add_timeline
        + ges_pipeline_set_timeline
2014-02-04 14:17:47 +01:00
Thibault Saunier
e7a45f0eef Remove GESSimplerLayer, that API should land into GESLayer in the end
The priority handling of clip is now handled by GESLayer itself, and
handling clip as a ordered list should be implemented in GESLayer itself
too, this way the user can decide to switch mode at any time instead of
2013-11-22 17:50:27 -03:00
Thibault Saunier
e5d28fa86e ges-launch: Let user set the track types to use 2013-11-14 16:17:31 -03:00
Thibault Saunier
4367933747 ges-launch: Dot the pipeline on state changes and warnings 2013-11-09 10:35:13 -03:00
Thibault Saunier
87ca058e3f ges-launch: Remember URIS that we tried to discover
So we do not fail several time trying to discover the same URI

Conflicts:
	tools/ges-launch.c
2013-10-11 17:09:34 -03:00
Thibault Saunier
2414453a0c ges-launch: Handle path for project uri 2013-09-13 20:38:43 -03:00
Thibault Saunier
f661c3ea55 ges-launch: Make it possible to provid pathes to look for moved asset
For example if a project was sent from someone else thus the pates in
there are meaningless on the other computer, we need to be able
to specify a list of pathes where the files are.

+ Fix documentation
2013-09-12 19:07:58 -03:00
Thibault Saunier
d8cb8fec52 launch: Simplify encoding profile description
Use a 'simple' synthax to describe encoding profiles
2013-08-30 20:43:01 -04:00
Thibault Saunier
c97b9f7e04 launch: Make it easier to render project
Now providing an output uri is enough to tell that you want to render.

It will use project rendering infos when possible, missing a way to
specify which info if various are disponnible (we use the first one
right now).

+ Make options more logical now, -l mean --load, and -r means repeat
2013-08-30 20:10:47 -04:00
Lubosz Sarnecki
9f0b0c26e3 Rename GESTimelinePipeline to GESPipeline
rename ges_timeline_pipeline methods to ges_pipeline
2013-07-21 21:42:42 -04:00
Alban Browaeys
6a187e09dd ges-launch: make it portable to all locales.
Call setlocale (LC_ALL, "") as per setlocale man page
to make ges-launch portable to all locales (instead of default
"C" one).

Fixes g_option_context_parse on:
$ ges-launch-1.0 --verbose -r -q /home/prahal/Vidéos/Test3.xges -o
file:///home/prahal/Test3.mpeg
Error initializing: Invalid byte sequence in conversion input

The accentuated character in "Vidéos" the french xdg user directory
for "Videos" is what is choked upon.

https://bugzilla.gnome.org/show_bug.cgi?id=702425
2013-07-01 10:02:10 +02:00
Thibault Saunier
9b14c001b0 ges: Implement GESAudioTrack and GESVideoTrack, subclasses of GESTrack 2013-06-23 17:38:57 -04:00
Thibault Saunier
ea95cb1ee3 ges-launch: Report position while playing back
Giving more feedbacks to the user
2013-06-23 16:33:33 -04:00
Thibault Saunier
6c7b28161c ges-launch: Remove xptv formatter related code
It is not usefull anymore
2013-06-23 16:33:33 -04:00
Thibault Saunier
90f4e571ad ges-launch: Properly add UriClipAssets to the project 2013-06-23 16:33:33 -04:00
Thibault Saunier
f6038e3ad2 ges: Port to the new commit based API in GNL
The GNL API changed to go from a model where user could
enable/disable updates in the composition, which leaded to races
in many places, to a model where any positioning change in the
composition is not directly done but 'cached' and then the user
has to commit those changes so they become effective in the media
processing stack.

The new API in GES is pretty similare and is basically copy
pasting this new design.

We still need to see if in some context it would make sense to add
a mode where we would commit any changes ourself at the end of our
operation for basic use cases.

Removed APIs:
  ges_timeline_enable_update
  ges_timeline_is_updating
  ges_track_enable_update
  ges_track_is_updating

New APIs:
  ges_track_commit
  ges_timeline_commit
2013-06-23 16:33:33 -04:00
Thibault Saunier
be765f564c ges-launch: Make use of assets for uri clips
It avoids races in TrackElement creations.

We should make use of assets everywhere in ges-launch but start using
them for uriclips first for now.
2013-06-12 10:49:50 -04:00
Thibault Saunier
b2b96c743d Rename GESTimelineLayer to GESLayer 2013-04-23 20:22:31 -03:00
Thibault Saunier
70d5680748 pipeline: Add a GError argument 2013-04-18 18:48:19 -03:00
Thibault Saunier
6b8657a04e ges-launch: Do no create "normal" timeline when you load a project 2013-03-30 13:37:43 +01:00
Thibault Saunier
0767f08c7a Always prefer gst_object_(un)ref over g_object_(un)ref
Making the refcount issue debugging easier
2013-03-18 12:48:41 -03:00
Thibault Saunier
0888e5e25b Rename object/tobj/trobj to clip or track_element as necessary
Not really complete but it is a good start!
2013-02-15 16:26:30 -03:00
Thibault Saunier
d21791a8d0 Rename GESTimelineLayer.xxx_object to GESTimelineLayer.xxx_clip 2013-02-15 15:23:15 -03:00
Thibault Saunier
4ddcfb642d Finish renaming timeline object to clip 2013-02-15 15:23:15 -03:00
Thibault Saunier
6f4315b75d Rename GESStandardTransitionClip to GESTransitionClip 2013-02-15 14:42:04 -03:00
Thibault Saunier
e3dc877c4b Rename GESTimelineTestSource to GESTestSourceClip 2013-02-15 14:42:04 -03:00
Thibault Saunier
5da46b7658 Rename GESTimelineTileSource to GESTitleClip 2013-02-15 14:42:04 -03:00
Thibault Saunier
d7693b4014 Rename GESTimelineStandardTransition to GESStandardTransitionClip 2013-02-15 14:42:03 -03:00
Thibault Saunier
695c381bb1 Rename GESTimelineFileSource to GESUriClip
Conflicts:
	ges/ges-pitivi-formatter.c
	ges/ges-uri-clip.c
	tests/check/ges/project.c
	tests/check/ges/uriclip.c
2013-02-15 14:42:02 -03:00
Thibault Saunier
04a3c49ebd Rename GESTimelineObject to GESClip 2013-02-15 14:42:02 -03:00
Thibault Saunier
45c7f609da timeline: Make use of the Project API for timeline saving
API:
    *  Add a formatter_type paramatter to ges_timeline_save_to_uri
2012-12-29 19:36:50 -03:00
Tim-Philipp Müller
426fffb6c3 Fix FSF address 2012-11-04 00:25:20 +00:00
Thibault Saunier
52edf1704d formatter: Add GError everywhere needed in the API
We should give as much information as possible to the user when serialization/deserialization doesn't work.
2012-09-23 02:37:12 +02:00
Tim-Philipp Müller
8542d18d43 ges-launch: replace home-grown version of gst_filename_to_uri()
and remove superfluous check if file is readable with
fopen. Code appears to also want to accept URIs, so this
doesn't work so well, and should probably be done differently
anyway if required.

https://bugzilla.gnome.org/show_bug.cgi?id=674296
2012-05-02 08:47:44 +01:00
Руслан Ижбулатов
59e156ea3a ges-launch: use GRegex instead of POSIX regex
http://bugzilla-attachments.gnome.org/attachment.cgi?id=212249
2012-05-01 19:22:23 +01:00
Tim-Philipp Müller
d5494acf30 .gitignore: ignore more 2012-05-01 18:51:30 +01:00
Sebastian Dröge
e2e2f1261e ges: Update versioning 2012-04-04 14:50:23 +02:00
Sebastian Dröge
8429fd526c Merge remote-tracking branch 'origin/0.10'
Conflicts:
	bindings/python/Makefile.am
	ges/Makefile.am
2012-04-04 12:08:06 +02:00
Thibault Saunier
7282ee2ff4 formatter: Try to figure out new paths when media files have moved
Introduces a dependency to GIO
2012-04-03 20:41:27 -04:00
Tim-Philipp Müller
5d02075d9b Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	bindings/python/Makefile.am
	bindings/python/ges-types.defs
	bindings/python/ges.defs
	bindings/python/ges.override
	bindings/python/gesmodule.c
	bindings/python/testsuite/test_textoverlay.py
2012-03-12 15:25:49 +00:00
Tim-Philipp Müller
91af8e1353 examples, ges-launch: remove deprecated g_thread_init()
Not needed any more with recent glib versions
2012-02-10 19:17:38 +00:00
Mathieu Duponchelle
4715b51eb1 tools: Add a -y option to ges-launch to launch pitivi projects 2012-01-11 11:56:14 -03:00
Edward Hervey
a32f1bd4dc Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	bindings/python/Makefile.am
	bindings/python/ges.override
	bindings/python/gesmodule.c
	configure.ac
2011-12-30 17:24:37 +01:00
Edward Hervey
737acd803e tools: Add proper include for g_printf 2011-12-30 17:20:23 +01:00
Edward Hervey
bcb4496b35 tools: Add proper include for g_printf 2011-12-30 17:18:18 +01:00
Mark Nauwelaerts
7ccaac9bf2 ges-launch: allow for optional audio or video track 2011-11-30 16:31:44 +01:00
Mark Nauwelaerts
d0b4111c0e ges-launch: port over gst-launch verbose setting
... as it is useful for a quick peek as to what is going on.
2011-11-30 16:31:42 +01:00
Edward Hervey
20f568ae94 Opening the 0.11 branch 2011-08-05 13:24:44 +02:00
Luis de Bethencourt
d8d93aad82 ges: easier to understand ges-launch summary 2011-08-01 13:42:17 +02:00
Luis de Bethencourt
5f457a23d1 ges: audio and video preset options in ges-launch 2011-08-01 13:40:48 +02:00
Thibault Saunier
ff15c17afb ges-launch: Add a proper error message on errors 2011-05-19 21:58:51 +02:00
Edward Hervey
ef455154a0 ges-launch-0.10: Cleanup for error cases and print statements
* Use g_error for fatal errors
* Don't exit the application from the middle of nowhere
* Properly cleanup even in error cases
* Don't print out things which aren't needed
2011-05-06 10:36:10 +02:00
Alessandro Decina
62a3a7ed8c android: make it ready for androgenizer
Remove the android/ top dir
Fixe the Makefile.am to be androgenized

To build gstreamer for android we are now using androgenizer which generates the needed Android.mk files.
Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-04-11 17:15:55 +02:00
Edward Hervey
bf2c2b8f7a ges-launch: Handle return value of regcomp() 2011-03-15 14:02:14 +01:00
Vincent Penquerc'h
857142a15d ges: Check that the gnonlin elements are present at initialization time
This avoids hanging with no obvious cause later when they're not.

https://bugzilla.gnome.org/show_bug.cgi?id=641246
2011-02-08 16:43:11 +01:00
Tim-Philipp Müller
493059f01c tools: ignore unversioned ges-launch as well 2011-01-31 19:01:46 +00:00
Tim-Philipp Müller
2ab7c30161 ges-launch: fix printf format issue 2011-01-31 19:01:24 +00:00
Stefan Kost
a447bc5b02 launch: fix typo in help output 2011-01-26 23:50:00 +02:00
Edward Hervey
7240050f75 ges-launch: Set restriction on video profile if present 2011-01-17 13:59:44 +01:00
Edward Hervey
ed92d148db ges-launch: Remove dead code and make functions/variables static 2011-01-12 17:52:10 +01:00
Edward Hervey
0f42801985 ges-launch: Fix and cleanup enum listing
It wasn't displaying anything lately.
2011-01-12 17:45:23 +01:00
Sebastian Dröge
4d44572452 ges-launch: Add GStreamer major/minor version to the executable filename
https://bugzilla.gnome.org/show_bug.cgi?id=639222
2011-01-11 18:19:08 +01:00
Edward Hervey
8ca6f66f4c GESTrackObject: Hide more variables and provide accessors for them 2010-12-16 15:00:46 +01:00
Edward Hervey
4c63aa21f2 ges: Switch to encoding-profile API from base
Remove dependency on gst-convenience.
2010-12-15 12:38:03 +01:00
Edward Hervey
ef7eb9efdd GESTransition: Make it a base class and add GESTimelineStandardTransition
This is to ensure people can create their own Layer Transition subclass.

API : GESTimelineTransition is now GESTimelineStandardTransition
2010-12-09 17:09:11 +01:00
Brandon Lewis
f1b6e175cd tools: add project file support to ges-launch 2010-11-27 18:08:19 +01:00
Edward Hervey
d2019f3a3d ges-launch: Gracefully handle missing properties 2010-11-25 14:03:07 +01:00
Edward Hervey
b5bf55e945 ges-launch: g_print => g_printerr for relevant messages 2010-11-11 17:44:29 +01:00
Edward Hervey
6364e8ec2c all: Changes for discoverer being merged upstream
Along with a whole bunch of Makefile fixups
2010-09-23 18:42:48 +02:00
Edward Hervey
ffc5502d1a ges-launch: Return 0 if no errors, else 1 2010-09-16 09:07:05 +02:00
Edward Hervey
a02a5c2320 Update for factorylist/convertframe being merged to gst core/base 2010-09-16 08:39:46 +02:00
Edward Hervey
d76535bc59 Update to moved gst-convenience 2010-09-16 08:39:01 +02:00
Brandon Lewis
da242d9f9a move ui to tests/examples 2010-09-02 18:03:38 +02:00
Brandon Lewis
360aa0049f add 'add_file' menu item 2010-09-02 18:03:38 +02:00
Brandon Lewis
c56adc6db5 flesh out ui design a bit more 2010-09-02 18:03:38 +02:00
Brandon Lewis
d4abb899ae quit when main window closes 2010-09-02 18:03:38 +02:00
Brandon Lewis
b7687c5126 check in UI implementation 2010-09-02 18:03:38 +02:00
Brandon Lewis
8d66e3af4f check in ui file 2010-09-02 18:03:38 +02:00
Edward Hervey
c655a86492 ges-launch: Fix memory leak 2010-08-31 13:29:37 +02:00
Brandon Lewis
9d584d4343 add option to ges-launch to save thumbnails periodicaly 2010-07-16 17:22:19 +02:00
Brandon Lewis
cc719507ea move and rename TRANSITION_VTYPE into enums.h and rename 2010-07-09 13:21:15 +02:00
Brandon Lewis
e3718b4213 GESTimelineBackgroundSource -> GESTimelineTestSource 2010-07-09 13:21:15 +02:00
Brandon Lewis
7e7a8ff16a add title sources to ges-launch 2010-07-09 13:21:10 +02:00
Brandon Lewis
440242810c use ges_timeline_background_source_new_for_nick when creating pattern sources 2010-07-09 13:21:08 +02:00
Brandon Lewis
9d277b4130 rewrite print_pattern_list to use GEnumValues 2010-07-09 13:21:08 +02:00
Brandon Lewis
158a9b418e remove unnecessary g_print 2010-07-09 13:21:08 +02:00
Brandon Lewis
9e0ece675a switch to using GESTimelineBackgroundSource objects for patterns 2010-07-09 13:21:08 +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
e15f981c5c ges-launch: Don't leak caps 2010-06-21 11:47:44 +02:00
Edward Hervey
8a7503ce2b ges-launch: Properly free profile and outputuri 2010-06-21 11:47:21 +02:00
Edward Hervey
5bc32ceb2b ges-launch: Cleanup profile 2010-06-17 11:45:27 +02:00
Brandon Lewis
63a0321829 tools/ges-launch.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