<div dir="ltr"><div><div><div><div><div>Pipeline is along the lines of:<br><br></div>udpsrc -> tsdemux -> video and audio<br></div>  video -> h264parser -> rtpH264Pay -> rtpbin (session 0) --> multiudpsink<br></div>  audio -> decodebin -> audioconvert -> audioresample -> voaacenc -> rtpMP4GPay -> rtpbin (session 1) -> multiudpsink<br><br></div>In other words video is being passed through while audio is being transcoded.<br><br><br></div><div>I would like the video and audio rtp streams to start at the same time but I can't make that happen; Video always starts before audio (due to the latency in the audio transcoding). <br><br></div><div>If I transcode the video as well then the rtp streams <i>do</i> <i>start at the same time</i>. Given that the latency in transcoding the video is much higher than that to transcode the audio how is it that gstreamer is about to synchronise in this instance but not when I am simply parsing the video?<br><br></div><div>Is there a plugin that will synchronise the two streams before hitting the rtpbin? I have already tried passing both streams into a multiqueue and a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-streamsynchronizer.html">streamsynchronizer</a> but neither made a difference.<br></div></div>