# this is a networked pipeline between two machines. # the first machine grabs video and also does I/O through a serial port. # the second machine receives the video and displays it. # # the first pipeline below reads 3 mjpeg streams from an Axis webcam server # combine them with 2 test video sources and send the # whole to a remote pipeline (defined at the bottom of this paste). # When this pipeline is started, it generates interrupted system # calls in a different thread which handles I/O through a serial port. # Any idea what could be the cause of this ? # # NB : sometimes (5%?) all works perfectly fine. # gnomevfssrc location="http://mediupcam.unice.fr/axis-cgi/mjpg/video.cgi?camera=1&resolution=176x144" ! multipartdemux ! image/jpeg,width=176,height=144,framerate=\(fraction\)25/5 ! decodebin ! ffmpegcolorspace ! videobox alpha=1 border-alpha=0 fill=0 top=0 left=0 right=-704 ! video/x-raw-yuv,width=880,height=144 ! queue ! VideoMixer. gnomevfssrc location="http://mediupcam.unice.fr/axis-cgi/mjpg/video.cgi?camera=2&resolution=176x144" ! multipartdemux ! image/jpeg,width=176,height=144,framerate=\(fraction\)25/5 ! decodebin ! ffmpegcolorspace ! videobox alpha=1 border-alpha=0 fill=0 top=0 left=-176 right=-528 ! video/x-raw-yuv,width=880,height=144 ! queue ! VideoMixer. gnomevfssrc location="http://mediupcam.unice.fr/axis-cgi/mjpg/video.cgi?camera=3&resolution=176x144" ! multipartdemux ! image/jpeg,width=176,height=144,framerate=\(fraction\)25/5 ! decodebin ! ffmpegcolorspace ! videobox alpha=1 border-alpha=0 fill=0 top=0 left=-352 right=-352 ! video/x-raw-yuv,width=880,height=144 ! queue ! VideoMixer. videotestsrc pattern=smpte is-live=True ! video/x-raw-yuv,framerate=\(fraction\)25/5,width=176,height=144 ! ffmpegcolorspace ! videobox alpha=1 border-alpha=0 fill=0 top=0 left=-528 right=-176 ! video/x-raw-yuv,width=880,height=144 ! queue ! VideoMixer. videotestsrc pattern=smpte is-live=True ! video/x-raw-yuv,framerate=\(fraction\)25/5,width=176,height=144 ! ffmpegcolorspace ! videobox alpha=1 border-alpha=0 fill=0 top=0 left=-704 right=0 ! video/x-raw-yuv,width=880,height=144 ! queue ! VideoMixer. videomixer name=VideoMixer ! queue ! ffmpegcolorspace ! video/x-raw-yuv,format=\(fourcc\)YUV9,width=880,height=144,framerate=\(fraction\)25/5 ! gdppay ! queue ! tcpclientsink host=192.168.1.1 port=12345 protocol=1 # here ends the pipeline which generates interrupted system calls # in the thread which handles I/O through the serial port. # On the other end this pipeline is used : # tcpserversrc host=192.168.1.1 port=12345 protocol=1 \ ! queue ! gdpdepay ! video/x-raw-yuv,format=(fourcc)YUV9,width=880,height=144,framerate=\(fraction\)25/5 ! ffmpegcolorspace ! ximagesink