<div dir="ltr"><div>Using gstreamer 1.16.1</div><div><br></div>My goal is to create a GESTimeline that contains a video clip which freezes on a single frame, or which plays back at a modified rate of speed.<div><br></div><div>So I make a GESEffect and attached it to my GESClip as follows.</div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace"><br>GESEffect* gesRateEffect = ges_effect_new("videorate");<br><br>gobject::setDouble(reinterpret_cast<GObject*>(gesRateEffect), <span style="background-color:rgb(255,255,0)">"max-rate", 0.0</span>);<br>gobject::setDouble(reinterpret_cast<GObject*>(gesRateEffect), <span style="background-color:rgb(255,255,0)">"rate", 0.0</span>);<br>gobject::setBool(reinterpret_cast<GObject*>(gesRateEffect), <span style="background-color:rgb(255,255,0)">"skip-to-first", true</span>);<br><br>ges_container_add(<br>    reinterpret_cast<GESContainer*>(gesUriClip),<br>    reinterpret_cast<GESTimelineElement*>(gesRateEffect)<br>);</font><br></div><div><br></div></blockquote>I build out the rest of my timeline and then I call `ges_timeline_save_to_uri`, and the clip gets serialized with an effect having different values.</div><div><br></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><effect asset-id='videorate' clip-id='0' type-name='GESEffect' track-type='4' track-id='1' properties='properties, active=(boolean)true, track-type=(int)4;' metadatas='metadatas;' children-properties='properties, GstVideoRate::average-period=(guint64)0, GstVideoRate::drop-only=(boolean)false, GstVideoRate::max-duplication-time=(guint64)0, GstVideoRate::<span style="background-color:rgb(255,255,0)">max-rate=(int)2147483647</span>, GstVideoRate::new-pref=(double)1, GstBaseTransform::qos=(boolean)false, GstVideoRate::<span style="background-color:rgb(255,255,0)">rate=(double)1</span>, GstVideoRate::silent=(boolean)true, GstVideoRate::<span style="background-color:rgb(255,255,0)">skip-to-first=(boolean)false</span>;'><br></effect><br></div></blockquote></div><div><br></div><div>Even stranger, when I look at the *.dot files in my GST_DEBUG_DUMP_DOT_DIR, I don't see any evidence that this effect is being applied (not that I know what to look for).</div><div><br></div><div>Why is GES modifying my GESEffect?  Can I prevent it from doing this?</div><div><br></div><div>Is there a better way to achieve my goal?<br></div></div>