trying to get to "hello world" with RTP

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

trying to get to "hello world" with RTP

Bert Douglas
Hi All,

Trying to get some basic rtp working.  No luck.
Thanks for looking.

--------------------------------------------------------

# rtp-source
gst-launch  \
      videotestsrc pattern=snow \
   !  video/x-raw-rgb, width=400, height=300, frame-rate=10/1 \
   !  rtpvrawpay \
   !  udpsink host=127.0.0.1 port=51234


# rtp-sink
gst-launch  \
      udpsrc uri=udp://127.0.0.1:51234 \
   !  rtpvrawdepay \
   !  video/x-raw-rgb, width=400, height=300, frame-rate=10/1 \
   !  ffmpegcolorspace \
   !  ximagesink


bertd@bertd-laptop:~/gstreamer/panocam$ . rtp-sink.sh
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstRtpVRawDepay:rtpvrawdepay0: Internal GStreamer error: negotiation problem.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstbasertpdepayload.c(361): gst_base_rtp_depayload_chain (): /GstPipeline:pipeline0/GstRtpVRawDepay:rtpvrawdepay0:
Not RTP format was negotiated
Execution ended after 12744218 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: trying to get to "hello world" with RTP

Tristan Matthews-2
2010/9/2 Bert Douglas <[hidden email]>
Hi All,

Trying to get some basic rtp working.  No luck.
Thanks for looking.

--------------------------------------------------------

# rtp-source
gst-launch  \
      videotestsrc pattern=snow \
   !  video/x-raw-rgb, width=400, height=300, frame-rate=10/1 \
   !  rtpvrawpay \
   !  udpsink host=127.0.0.1 port=51234


# rtp-sink
gst-launch  \
      udpsrc uri=udp://127.0.0.1:51234 \
   !  rtpvrawdepay \
   !  video/x-raw-rgb, width=400, height=300, frame-rate=10/1 \
   !  ffmpegcolorspace \
   !  ximagesink



You need to specify the caps property on your "rtp-sink" property.
See gst-plugins-good/tests/examples/rtp/client-H264.sh and the other rtp examples in that directory.


 
bertd@bertd-laptop:~/gstreamer/panocam$ . rtp-sink.sh
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstRtpVRawDepay:rtpvrawdepay0: Internal GStreamer error: negotiation problem.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstbasertpdepayload.c(361): gst_base_rtp_depayload_chain (): /GstPipeline:pipeline0/GstRtpVRawDepay:rtpvrawdepay0:
Not RTP format was negotiated
Execution ended after 12744218 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Tristan Matthews
email: [hidden email]
web: http://tristanswork.blogspot.com

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: trying to get to "hello world" with RTP

Tristan Matthews-2


2010/9/2 Tristan Matthews <[hidden email]>
2010/9/2 Bert Douglas <[hidden email]>

You need to specify the caps property on your "rtp-sink" property.

Sorry, you need to set the "caps" property on your "rtp-sink" pipeline's udpsrc.

--
Tristan Matthews
email: [hidden email]
web: http://tristanswork.blogspot.com

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel