Posts: 2
Joined: Tue Feb 09, 2016 10:22 am

gstreamer breaks connection

Mon Feb 15, 2016 9:44 pm

hello there,

right now i am trying to realise a project in which i have pairs of pi's to send a webcam feed from one to the other to play it on a tv. (Pi A + Webcam --> Pi B + TV)

Pi A runs like this:

Code: Select all

gst-launch-1.0 v4l2src device=/dev/video0 ! "image/jpeg,width=640, height=480,framerate=15/1" ! rtpjpegpay ! udpsink host= port=5200
Pi B runs like this:

Code: Select all

gst-launch-1.0 udpsrc port=5200 !  application/x-rtp, encoding-name=JPEG,payload=26 !  rtpjpegdepay !  jpegdec !  autovideosink
this works well via the network, if i use my logitech cams BUT when i use another cam (creative vf-0040) the stream starts normally and then stops after 1-60 seconds with this error (on Pi B):

Code: Select all

ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming task paused, reason error (-5)
Execution ended after 0:00:36.143186084
i couldn't find a solution so far, but i'm not a professional by any means.
does anyone of you maybe know what could be the problem?

thanks a lot,

Return to “Graphics, sound and multimedia”