<div dir="ltr"><div>Hi,</div><div><br></div><div>I see, and the rule is pretty straight forward, 2 clips can't fully overlap in a layer.</div><div><br></div><div>- Thibault<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 1, 2020 at 10:39 PM xmufzy <<a href="mailto:xmufzy@foxmail.com">xmufzy@foxmail.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">Well, the problem is I failed to add a new clip to the layer, So I need to<br>
follow the overlap rule<br>
<br>
<br>
0:00:00.082988805 31704 0x622200 INFO GST_ELEMENT_PADS<br>
gstelement.c:752:gst_element_add_pad:<videosrcbin> adding pad 'src'<br>
0:00:00.082991746 31704 0x622200 INFO GST_ELEMENT_PADS<br>
gstelement.c:999:gst_element_get_static_pad: found pad queue1:sink<br>
0:00:00.083017675 31704 0x622200 INFO GST_PADS<br>
gstpad.c:4309:gst_pad_peer_query:<queue1:sink> pad has no peer<br>
0:00:00.083715742 31704 0x622200 INFO GST_PADS<br>
gstpad.c:2378:gst_pad_link_prepare: trying to link videosrcbin:src and<br>
src:proxypad19<br>
0:00:00.083722877 31704 0x622200 INFO GST_PADS<br>
gstpad.c:2586:gst_pad_link_full: linked videosrcbin:src and src:proxypad19,<br>
successful<br>
0:00:00.083725022 31704 0x622200 INFO GST_EVENT<br>
gstevent.c:1610:gst_event_new_reconfigure: creating reconfigure event<br>
0:00:00.083728769 31704 0x622200 INFO GST_EVENT<br>
gstpad.c:5891:gst_pad_send_event_unchecked:<track-element-capsfilter:src><br>
Received event on flushing pad.<br>
Discarding<br>
0:00:00.083787272 31704 0x622200 INFO nlecomposition<br>
nlecomposition.c:884:_add_action_locked:<video_nlecomposition1> Adding<br>
Action for function: 0x8d92c0:_add_object_func<br>
0:00:00.083802242 31704 0x622200 INFO gestree<br>
ges-timeline-tree.c:1007:set_edit_move_values:<GESVideoUriSource@0x8c2390><br>
videourisource1 will move by setting start to 0:00:02.000000000<br>
0:00:00.083808188 31704 0x622200 INFO gestree<br>
ges-timeline-tree.c:1236:set_edit_trim_end_values:<GESVideoUriSource@0x8c2390><br>
videourisource1 will trim end by setting duration to 0:00:09.000000000<br>
0:00:00.083820383 31704 0x622200 INFO gestree<br>
ges-timeline-tree.c:753:check_overlap_with_element: videourisource1 (under<br>
uriclip1) [0:00:02.000000000 -<br>
0:00:11.000000000] (layer: 0) (track :<gesvideotrack0>) and videourisource0<br>
(under uriclip0) [0:00:00.000000000 - 0:00:12.000000000] (layer: 0) (track<br>
:<gesvideotrack0>) fully overlap<br>
0:00:00.083834717 31704 0x622200 INFO ges<br>
ges-track.c:1218:ges_track_add_element_full:<gesvideotrack0> Could not add<br>
the track element videourisource1<0x8c2390> [ 0:00:02.000000000<br>
(0:00:03.000000000) - 0:00:09.000000000(0:00:12.000000000) layer: 0] to the<br>
track because it breaks the timeline configuration rules<br>
0:00:00.083847483 31704 0x622200 INFO nlecomposition<br>
nlecomposition.c:884:_add_action_locked:<video_nlecomposition1> Adding<br>
Action for function: 0x8d8080:_remove_object_func<br>
0:00:00.083857936 31704 0x622200 INFO ges<br>
ges-clip.c:4491:ges_clip_add_child_to_track:<GESUriClip@0x8c05a0> Could not<br>
add the track element videourisource1<0x8c2390> [ 0:00:02.000000000<br>
(0:00:03.000000000) - 0:00:09.000000000(0:00:12.000000000) layer: 0] to the<br>
track <gesvideotrack0><br>
0:00:00.083877078 31704 0x622200 INFO ges<br>
ges-layer.c:779:ges_layer_add_clip_full:<GESLayer@0x8856e0> Could not add<br>
the clip uriclip1<0x8c05a0> [ 0:00:02.000000000 (0:00:03.000000000) -<br>
0:00:09.000000000(0:00:12.000000000) layer: 0] to the timeline<br>
<gestimeline0><br>
0:00:00.083886577 31704 0x622200 WARN ges<br>
ges-layer.c:787:ges_layer_add_clip_full:<gestimeline0> Adding the clip<br>
uriclip1<0x8c05a0> [ 0:00:02.000000000 (0:00:03.000000000) -<br>
0:00:09.000000000(0:00:12.000000000) layer: 0] to the timeline failed: The<br>
source "videourisource0" (parent: "uriclip0") would totally overlap the<br>
source "videourisource1" (parent: "uriclip1") in the track "gesvideotrack0"<br>
**<br>
ERROR:./poc_ges.cpp:108:int main(int, gchar**): assertion failed:<br>
(ges_layer_add_clip (layer, src))<br>
Bail out! ERROR:./poc_ges.cpp:108:int main(int, gchar**): assertion failed:<br>
(ges_layer_add_clip (layer, src))<br>
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<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>