<div dir="ltr">Dear all,<div><br></div><div>In Gstreamer 1.4.4 the udpsink plugin with sync=true works in real-time. It means to stream a 2 minutes video file it takes 2 minutes (like a live source)</div><div><br></div><div>In Gstreamer 1.7.1 (also in 1.6.0) the udpsink plugin with sync=true works similar to sync=false. It means to stream a 2 minutes video file it takes 5 seconds (like a on demand source)<br></div><div><br></div><div>I used the next pipelines in the different Gstreamer versions:</div><div><br></div><div><div style="font-size:12.8px">1) Create a sample file</div><div style="font-size:12.8px">gst-launch-1.0 -e videotestsrc ! video/x-raw, framerate=10/1, width=320, height=240, format=I420 ! timeoverlay font-desc="sans bold 40" halignment=0 valignment=2 ! x264enc bitrate=200 key-int-max=10 ! h264parse config-interval=1 ! mpegtsmux ! filesink location=test.ts</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">2) Stream the file</div><div style="font-size:12.8px">gst-launch-1.0 filesrc location=test.ts ! tsparse ! tsdemux ! h264parse ! mpegtsmux ! rndbuffersize min=1316 max=1316 ! udpsink port=5014 host=127.0.0.1 sync=true enable-last-sample=false send-duplicates=false blocksize=1316</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">3) Play the Stream</div><div><span style="font-size:12.8px">gst-launch-1.0 udpsrc uri=udp:/</span>/<a href="http://127.0.0.1:5014">127.0.0.1:5014</a><span style="font-size:12.8px"> ! video/mpegts ! tsdemux name=demux ! video/x-h264 ! queue ! decodebin ! autovideosink</span></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Best,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Angel</div><div style="font-size:12.8px"><br></div></div>