ges-launch tutorial

Thibault Saunier tsaunier at gnome.org
Mon Dec 30 01:31:52 UTC 2019


Hi again,

Actually this has been fixed in master:
https://gitlab.freedesktop.org/gstreamer/gst-editing-services/merge_requests/89/commits

This is gonna be cherry-picked in the next 1.16.X stable release.

Regards

- Thibault

On Sun, Dec 29, 2019 at 8:44 PM Thibault Saunier <tsaunier at gnome.org> wrote:

> Hi Vince,
>
> This is indeed an error in the documentation, we need to specify the
> duration if we specify the inpoint right now, we could handle that in a
> better way in ges-launch but for now, could you make a patch to update the
> documentation?
>
> BR,
>
> - Thibault
>
> On Sun, Dec 29, 2019 at 11:31 AM Vincent Achard <vincent.achard at gmail.com>
> wrote:
>
>> Hello
>>
>> The actual https://gstreamer.freedesktop.org ges-launch tutorial says:
>>
>> "ges-launch-1.0 +clip /path/to/media inpoint=4.0
>>
>> Assuming "media" is a 10 second long media sample, this will play the
>> sample from the 4th second to the 10th, resulting in a 6-seconds long
>> playback."
>>
>> However, my experience is:
>>
>> ges-launch-1.0 +clip file.ogg inpoint=2
>> >>>fails with error: ERROR: Could not create timeline because: Couldn't
>> add clip with id file:///path/to/file.ogg to layer with priority -1
>>
>> ges-launch-1.0 +clip file.ogg inpoint=2 duration=2
>> >>>succeeds (I see the preview with correct cut)
>>
>>
>> file.ogg contains one video/x-theora stream and is 0:00:24.024000000 long
>>
>>
>> looking through the debug log I find in the case that fails :
>>
>> 0:00:00.140059961  3054      0x111ce30 INFO                 gestree
>> ges-timeline-tree.c:403:check_track_elements_overlaps_and_values:
>> videourisource0<0x12ea190> [ 0:00:00.000000000 (0:00:02.000000000) -
>> 0:00:24.024000000(0:00:24.024000000) layer: 0]  inpoint + duration
>> 26024000000 > max_duration 24024000000
>>
>>
>> my guess is that the default duration is the total length, therefore an
>> inpoint > 0 will result in failure
>>
>> indeed:
>> ges-launch-1.0 +clip file.ogg inpoint=0
>> >>>succeeds
>>
>> I am using a self compiled 1.16.0 gstreamer version
>>
>> am I missing something?
>>
>> or should the tutorial be modified, as this is misleading (and it's one
>> of the first examples: newcomers could want to run away?)
>>
>> please apologize for my bad english, and if this is not the right place
>> to post
>>
>> cheers!
>>
>> Vince
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191229/e7b38587/attachment.htm>


More information about the gstreamer-devel mailing list