How to segment seek in dynamic pipeline

Thibault Saunier tsaunier at gnome.org
Wed Sep 2 04:04:42 UTC 2020


Hi,

I see, and the rule is pretty straight forward, 2 clips can't fully overlap
in a layer.

- Thibault

On Tue, Sep 1, 2020 at 10:39 PM xmufzy <xmufzy at foxmail.com> wrote:

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


More information about the gstreamer-devel mailing list