STREAMER Synchronizing multiple sources to a common receiver

LC lienes.cirules at gmail.com
Mon Nov 28 21:58:30 UTC 2016


- RTSP senders are rtspsrc with specified uri. 
- Wireless network in most cases.
- those file synchronization ideally could be based on each request. So that
if some frame drops, the next request would be sourced synchronously. I
expect that both frames on each file captured on separate cameras start with
exactly the same frame. Currently i have doubt that this is possible,
because if one frames gets dropped, there is automatically different count
of frames in each file. Unless dropped frame results in coppy of the last
frame.

- i mainly think of scenario like this on receiver side: gst-launch-1.0 -v
rtpbin name=rtpbin                                          \
    udpsrc
caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H263-1998"
\
            port=5000 ! rtpbin.recv_rtp_sink_0                               
\
        rtpbin. ! ... ! filesink location=file1.mp4                    \
     udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0                              
\
     rtpbin.send_rtcp_src_0 ! udpsink port=5005 sync=false async=false       
\
    udpsrc
caps="application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)AMR,encoding-params=(string)1,octet-align=(string)1"
\
            port=5002 ! rtpbin.recv_rtp_sink_1                               
\
        rtpbin. ! ... ! filesink location=file2.mp4                          
\
     udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1                              
\
     rtpbin.send_rtcp_src_1 ! udpsink port=5007 sync=false async=false

But as you sad, rtspsrc implements it's own rtpbin, this approach described
in
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-rtpbin.html
should not be used. 

As i understood, there is no way to synchronise 2 IP cameras with no
reference clock.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/STREAMER-Synchronizing-multiple-sources-to-a-common-receiver-tp4677395p4680921.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list