NLE failure when splitting a clip that contains an effect
- new project
- import this video: https://toombs.tk/youtube/heatsink/VID_20180624_140415.mp4
- insert clip at end of timeline
- apply any video effect to the clip
- move playhead anywhere in the clip
- split the clip at playhead position
This causes a crash with the following output at stdout:
% pitivi
*** I import the video. ***
ERROR 12:55:54 pipeline pitivi+utils+pipeline+pipeline0 _handleErrorMessage: error from <__gi__.GstVideoTestSrc object at 0x7f92107621b0 (GstVideoTestSrc at 0x55e05467ee30)>: gst-stream-error-quark: Internal data stream error. (1) (gstbasesrc.c(3055): gst_base_src_loop (): /pitivi+utils+pipeline+Pipeline:pitivi+utils+pipeline+pipeline0/GESTimeline:gestimeline0/GESVideoTrack:gesvideotrack0/NleComposition:video_nlecomposition0/GstBin:current-bin/NleSource:nlesource6/GstBin:bin5/GstVideoTestSrc:src:
streaming stopped, reason not-negotiated (-4)) (../../../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:484)
ERROR 12:55:54 pipeline pitivi+utils+pipeline+pipeline0 _recover: Resetting pipeline because error detected during playback. Try 1 (../../../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:471)
*** I apply effect. ***
Traceback (most recent call last):
File "/usr/lib/pitivi/python/pitivi/effects.py", line 667, in _onValueChangedCb
toplevel=True):
File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/usr/lib/pitivi/python/pitivi/undo/undo.py", line 190, in started
self.begin(action_group_name, **kwargs)
File "/usr/lib/pitivi/python/pitivi/undo/undo.py", line 215, in begin
raise UndoWrongStateError("Toplevel operation started as suboperation", self.stacks)
pitivi.undo.undo.UndoWrongStateError: ('Toplevel operation started as suboperation', [Effect property change: [<TrackElementPropertyChanged <GES.Effect object at 0x7f9213d2ccf0 (GESEffect at 0x55e0531d0a10)>.GstGLTransformation::rotation-z: 0.0 -> 180.0>]])
*** I split clip at playhead position. ***
** (pitivi:4701): WARNING **: 13:00:36.034: gstgltransformation.c:413: invalid property id 11 for "mvp-matrix" of type 'GParamBoxed' in 'GstGLTransformation'
ERROR 13:00:36 pipeline pitivi+utils+pipeline+pipeline0 _handleErrorMessage: error from <__gi__.NleComposition object at 0x7f9210780cf0 (NleComposition at 0x55e054544400)>: gst-stream-error-quark: The NleComposition structure is not valid (1) (nlecomposition.c(2661): _relink_children_recursively (): /pitivi+utils+pipeline+Pipeline:pitivi+utils+pipeline+pipeline0/GESTimeline:gestimeline0/GESVideoTrack:gesvideotrack0/NleComposition:video_nlecomposition0:
<GESEffect:nleoperation1> Not enough sinkpads to link all objects to the operation ! 1 / 0, current toplevel seek seek event: 0x55e054665750, time 99:99:99.999999999, seq-num 4853, GstEventSeek, rate=(double)1, format=(GstFormat)GST_FORMAT_TIME, flags=(GstSeekFlags)GST_SEEK_FLAG_FLUSH+GST_SEEK_FLAG_ACCURATE, cur-type=(GstSeekType)GST_SEEK_TYPE_SET, cur=(gint64)35443233748, stop-type=(GstSeekType)GST_SEEK_TYPE_SET, stop=(gint64)365098000000;) (../../../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:484)
ERROR 13:00:36 pipeline pitivi+utils+pipeline+pipeline0 _recover: Resetting pipeline because error detected during playback. Try 1 (../../../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:471)
ERROR 13:00:41 pipeline pitivi+utils+pipeline+pipeline0 _async_done_not_received_cb: we didn't get async done, this is a bug (../../../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:299)
ERROR 13:00:41 pipeline pitivi+utils+pipeline+pipeline0 _recover: Resetting pipeline because error detected during playback. Try 2 (../../../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:471)
ERROR 13:00:46 pipeline pitivi+utils+pipeline+pipeline0 _async_done_not_received_cb: we didn't get async done, this is a bug (../../../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:299)
ERROR 13:00:46 pipeline pitivi+utils+pipeline+pipeline0 _recover: Resetting pipeline because error detected during playback. Try 3 (../../../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:471)
ERROR 13:00:51 pipeline pitivi+utils+pipeline+pipeline0 _async_done_not_received_cb: we didn't get async done, this is a bug (../../../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:299)
ERROR 13:01:08 pipeline pitivi+utils+pipeline+pipeline0 _recover: Declaring pipeline dead, because 3 successive reset attempts failed (../../../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:466)
%
So far, I've seen this operation fail with the "OpenGL Video FLip Filter", the "Video Flipper" and "Agingtv".
I am running version 0.999 with gstreamer version 1.14.3 on archlinux.
Edited by Thibault Saunier