<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hello,</div>

<div> </div>

<div>can someone provide a litte example code (c, python, whatever) how to use the streamsynchronizer plugin?</div>

<div> </div>

<div>usually i am creating my piplines like this:</div>

<div> </div>

<div>src = Gst.ElementFactory.make("filesrc")<br/>
src.set_property("location", path)<br/>
pipeline.add(src)</div>

<div> </div>

<div>decoder = Gst.ElementFactory.make("decodebin")<br/>
pipeline.add(decoder)</div>

<div> </div>

<div>venc = Gst.ElementFactory.make("x264enc")<br/>
pipeline.add(venc)</div>

<div> </div>

<div>aenc = Gst.ElementFactory.make("voaacenc")<br/>
pipeline.add(aenc)</div>

<div> </div>

<div>decoder.connect("pad-added", gst_pad_added, aenc, venc)</div>

<div> </div>

<div>So the pad_added callback links from decoder pads to audio and video element pads accordingly.</div>

<div>gst-inspect for streamsynchronizer has pad-added signals as well. Do i need a pad--added callback as well?</div>

<div> </div>

<div>Thanks,</div>

<div>Jens</div></div></body></html>