<div dir="ltr"><div><div>You will need to share a network clock across the different devices. These links can get you started:<br><br><a href="https://noraisin.net/diary/?p=954">https://noraisin.net/diary/?p=954</a><br><a href="https://cgit.freedesktop.org/gstreamer/gst-rtsp-server/tree/examples">https://cgit.freedesktop.org/gstreamer/gst-rtsp-server/tree/examples</a><br><br></div>Are you intending on transmitting the media to a common device to do the correlation? you will need to use a good network transmission format. rtpbin help you with that or matroska via tcp. Also, make sure you add a healthy amount of latency to your receiver app to ensure that there is a window to synchronize the media. It should roughly be more than the biggest latency amongst all the connections.<br><br></div>Dimitrios<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 23, 2017 at 3:49 PM, Toni Matsablokos <span dir="ltr"><<a href="mailto:tonimatsablokos@gmail.com" target="_blank">tonimatsablokos@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi all,<br><br></div>I am currently working on a project where I want to synchronize two cameras. The first one is an ip camera and the other is a usb webcam. For example using gst-launch I can see their streams with<br><br></div>1) gst-launch-1.0 -v souphttpsrc location=camera_uri ! jpegdec ! autovideoconvert ! autovideosink<br></div><div><br>2) gst-launch-1.0 v4l2src device=/dev/video0 ! videoparse format=GST_VIDEO_FORMAT_<wbr>GRAY16_LE width=640 height=480 ! autovideoconvert ! autovideosink<br><br></div><div>my question is if I can somehow synchronize these cameras. In particular, my goal is to find for each frame in the first camera, the frame in the second one that is most close in time.</div>In case synchronization is feasible, any hints/tips on how to proceed would be most helpful.<br><br></div>many thanks,<br></div>Toni<br></div>
<br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div>