GsrtRTPbin

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

GsrtRTPbin

Matias Hernandez Arellano


Inicio del mensaje reenviado:

De: Matias Hernandez Arellano <[hidden email]>
Fecha: 5 de abril de 2011 11:59:11 GMT-04:00
Para: Discussion of the development of and with GStreamer <[hidden email]>
Asunto: GsrtRTPbin

(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.

---
Matías Hernandez Arellano
Ingeniero de Software/Proyectos en VisionLabs S.A
CDA Archlinux-CL





Matías Hernandez Arellano
Ingeniero de Software/Proyectos en VisionLabs S.A
CDA Archlinux-CL





_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel