Commit graph

90 commits

Author SHA1 Message Date
Mathieu Duponchelle
f16ad15ef3 ges-launch: Only create a layer if needed.
That way scenarios can start with an empty timeline
2014-05-08 14:26:38 +02:00
Mathieu Duponchelle
49a21044ca ges-launch: When a scenario is set, don't request triplets 2014-05-08 14:25:22 +02:00
Tim-Philipp Müller
10820bd41d ges-launch: remove dead code
duration can't be smaller than 0 because it's unsigned,
and it can't be 0 because 0 is transformed to CLOCK_TIME_NONE
earlier.

Coverity CID 1211822.
2014-05-05 11:58:45 +01:00
Thibault Saunier
5785178e52 tools: Add a way to look for moved media sample recursively
In ges-launch let the user set a folder where the media sample that
move can be found recursing into that specified folder.

https://bugzilla.gnome.org/show_bug.cgi?id=729382
2014-05-02 16:59:08 +02:00
Thibault Saunier
2dd59ab53a tools: Add an option to disable mixing
+ Add a a GObject property so that the info is seralized

https://bugzilla.gnome.org/show_bug.cgi?id=729382
2014-05-02 16:59:08 +02:00
Thibault Saunier
36cc9f13ec tools: Handle times as doubles + concider duration=0 as TIME_NONE
https://bugzilla.gnome.org/show_bug.cgi?id=729382
2014-05-02 16:58:42 +02:00
Thibault Saunier
44cbc27cb8 tools: Disable --set-scenario if not compiled against gst-validate
https://bugzilla.gnome.org/show_bug.cgi?id=729382
2014-05-02 16:58:42 +02:00
Thibault Saunier
3197a02487 tools: Position printing is now done at the gst-validate level
https://bugzilla.gnome.org/show_bug.cgi?id=729382
2014-05-02 14:34:00 +02:00
Thibault Saunier
fe69b92455 ges-launch: Not being able to load an asset is an error 2014-03-26 11:45:07 +01:00
Thibault Saunier
1108a2c6ac ges-launch: Format the position printing as in gst-validate and friends 2014-03-20 17:25:53 +01:00
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
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