<div dir="ltr"><div>Hi again,</div><div><br></div><div>Actually this has been fixed in master: <a href="https://gitlab.freedesktop.org/gstreamer/gst-editing-services/merge_requests/89/commits">https://gitlab.freedesktop.org/gstreamer/gst-editing-services/merge_requests/89/commits</a></div><div><br></div><div>This is gonna be cherry-picked in the next 1.16.X stable release.</div><div><br></div><div>Regards</div><div><br></div><div>- Thibault<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Dec 29, 2019 at 8:44 PM Thibault Saunier <<a href="mailto:tsaunier@gnome.org">tsaunier@gnome.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Vince,</div><div><br></div><div>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?</div><div><br></div><div>BR,</div><div><br></div><div>- Thibault<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Dec 29, 2019 at 11:31 AM Vincent Achard <<a href="mailto:vincent.achard@gmail.com" target="_blank">vincent.achard@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello<br><br>The actual <a href="https://gstreamer.freedesktop.org" target="_blank">https://gstreamer.freedesktop.org</a> ges-launch tutorial says:<br><br>"ges-launch-1.0 +clip /path/to/media inpoint=4.0<br><br>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."<br><br>However, my experience is:<br><br>ges-launch-1.0 +clip file.ogg inpoint=2<br>>>>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<br><br>ges-launch-1.0 +clip file.ogg inpoint=2 duration=2<br>>>>succeeds (I see the preview with correct cut)<br><br><br>file.ogg contains one video/x-theora stream and is 0:00:24.024000000 long<br><br><br>looking through the debug log I find in the case that fails :<br><br>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<br><br><br>my guess is that the default duration is the total length, therefore an inpoint > 0 will result in failure<br><br>indeed:<br>ges-launch-1.0 +clip file.ogg inpoint=0<br>>>>succeeds<br><br>I am using a self compiled 1.16.0 gstreamer version <br><br>am I missing something?<br><br>or should the tutorial be modified, as this is misleading (and it's one of the first examples: newcomers could want to run away?) <br><br>please apologize for my bad english, and if this is not the right place to post<br><br>cheers!<br><div><br></div><div>Vince</div></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>
</blockquote></div>