Skip to content Skip to sidebar Skip to footer

Video Transitions With Gstreamer & Gnonlin Not Working

I've been trying to combine 2 videos together with gstreamer with a short transition (like smpte) between them using gstreamer & gnonlin in python. However I can't get the gnlo

Solution 1:

It looks like the problem is in the properties of your second source file.

in stead of:

gsrc2.props.start          = 2 * gst.SECOND
gsrc2.props.duration       = 6 * gst.SECOND
gsrc2.props.media_start    = 0gsrc2.props.media_duration = 2 * gst.SECOND
gsrc2.props.priority       = 2

try:

gsrc2.props.start          = 2 * gst.SECOND
gsrc2.props.duration       = 4 * gst.SECOND
gsrc2.props.media_start    = 0gsrc2.props.media_duration = 4 * gst.SECOND
gsrc2.props.priority       = 2

This seems to work as expected for me.

Post a Comment for "Video Transitions With Gstreamer & Gnonlin Not Working"