GsrtRTPbin
Matias Hernandez Arellano
msdark at archlinux.cl
Tue Apr 5 08:59:13 PDT 2011
(sorry for my english)
Hi... finally i managed to work with AppSink and AppSrc using OpenCV for a heavy image processing
so, now i want to stream the result over the networks (appsrc pipeline).
for this i test with this pipeline (saw somewhere in the network)
gst-launch gstrtpbin name=rtpbin \
v4l2src ! ffmpegcolorspace ! ffenc_h263 ! rtph263ppay ! rtpbin.send_rtp_sink_0 \
rtpbin.send_rtp_src_0 ! udpsink port=5000 \
rtpbin.send_rtcp_src_0 ! udpsink port=5001 sync=false async=false \
udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0 \
audiotestsrc ! amrnbenc ! rtpamrpay ! rtpbin.send_rtp_sink_1 \
rtpbin.send_rtp_src_1 ! udpsink port=5002 \
rtpbin.send_rtcp_src_1 ! udpsink port=5003 sync=false async=false \
udpsrc port=5007 ! rtpbin.recv_rtcp_sink_1
but this show an error:
ERROR: The flow don't want to PAUSE
ERROR: the element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate format
Check your filtered caps, if any
So i tried using some filtered caps but with this:
gst-launch gstrtpbin name=rtpbin \
v4l2src ! video/x-raw-yuv,width=640,height=480 ! ffmpegcolorspace ! ffenc_h263 ! rtph263ppay ! rtpbin.send_rtp_sink_0 \
rtpbin.send_rtp_src_0 ! udpsink port=5000 \
rtpbin.send_rtcp_src_0 ! udpsink port=5001 sync=false async=false \
udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0 \
audiotestsrc ! amrnbenc ! rtpamrpay ! rtpbin.send_rtp_sink_1 \
rtpbin.send_rtp_src_1 ! udpsink port=5002 \
rtpbin.send_rtcp_src_1 ! udpsink port=5003 sync=false async=false \
udpsrc port=5007 ! rtpbin.recv_rtcp_sink_1
I have this error:
Warning: wrong pipeline: Can't link ffmpegcsp0 to ffenc_h2630
So.. what i missing????
any idea?
---
Matías Hernandez Arellano
Ingeniero de Software/Proyectos en VisionLabs S.A
CDA Archlinux-CL
www.msdark.archlinux.cl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110405/b9ed581b/attachment-0001.htm>
More information about the gstreamer-devel
mailing list