[gst-devel] no video with rtpjpegpay and udpsink
john oliver
johnwpoliver at hotmail.com
Thu Jun 11 19:09:02 CEST 2009
Hi there,
I have been having trouble trying to rtp any type of encoded video. Whenever I add a payload to an already encoded video file, I can never see anything at the receiver. I'd appreciate it if anybody could take a quick look at the elements in my pipline. I've also tried this using just gst-launch as a server and both client on the same host, using a video test source..
Client ..
gst-launch udpsrc port=1234 ! rtpjpegdepay ! filesink location=xx.jpeg
Server ..
gst-launch videotestsrc ! ffenc_mjpeg ! rtpjpegpay ! rtpbin localport=5000 destinations=127.0.0.1:1234
When I start the server the client says .. 'Not RTP format was negotiated'
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstRtpJPEGDepay:rtpjpegdepay0: Internal GStreamer error: negotiation problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstbasertpdepayload.c(360): gst_base_rtp_depayload_chain (): /GstPipeline:pipeline0/GstRtpJPEGDepay:rtpjpegdepay0:
Not RTP format was negotiated
Execution ended after 2704325327 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Meanwhile the server has said ..
gst-launch videotestsrc ! ffenc_mjpeg ! rtpjpegpay ! rtpbin localport=5000 destinations=127.0.0.1:1234
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, framerate=(fraction)30/1
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/ffenc_mjpeg:ffenc_mjpeg0.GstPad:src: caps = image/jpeg, width=(int)320, height=(int)240, framerate=(fraction)30/1
/GstPipeline:pipeline0/ffenc_mjpeg:ffenc_mjpeg0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstRtpJPEGPay:rtpjpegpay0.GstPad:src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)JPEG, payload=(int)96, ssrc=(guint)32682654, clock-base=(guint)3519935330, seqnum-base=(guint)25630
/GstPipeline:pipeline0/GstRtpJPEGPay:rtpjpegpay0.GstPad:sink: caps = image/jpeg, width=(int)320, height=(int)240, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstRTPBin:rtpbin0/GstRTPSend:rtpsend0.GstPad:datasink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)JPEG, payload=(int)96, ssrc=(guint)32682654, clock-base=(guint)3519935330, seqnum-base=(guint)25630
/GstPipeline:pipeline0/GstRTPBin:rtpbin0.GstGhostPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)JPEG, payload=(int)96, ssrc=(guint)32682654, clock-base=(guint)3519935330, seqnum-base=(guint)25630
/GstPipeline:pipeline0/GstRTPBin:rtpbin0.GstGhostPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)JPEG, payload=(int)96, ssrc=(guint)32682654, clock-base=(guint)3519935330, seqnum-base=(guint)25630
/GstPipeline:pipeline0/GstRTPBin:rtpbin0.GstGhostPad:sink.GstProxyPad:proxypad0: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)JPEG, payload=(int)96, ssrc=(guint)32682654, clock-base=(guint)3519935330, seqnum-base=(guint)25630
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
..and continues to roll
I might move onto gstrtpbin later, but I'd like to make sure I can get the basics working first.
-John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090611/5f866f1d/attachment.htm>
More information about the gstreamer-devel
mailing list