<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi there,<br><br>I have been having trouble trying to rtp any type of encoded video.&nbsp; 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..<br><br>Client ..<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gst-launch udpsrc port=1234 ! rtpjpegdepay ! filesink location=xx.jpeg<br><br>Server ..<br><br><br><br>
&nbsp;&nbsp;&nbsp;&nbsp; gst-launch videotestsrc ! ffenc_mjpeg ! rtpjpegpay ! rtpbin localport=5000 destinations=127.0.0.1:1234<br><br><br>When I start the server the client says .. 'Not RTP format was negotiated'<br><br>Setting pipeline to PAUSED ...<br>Pipeline is live and does not need PREROLL ...<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br>ERROR: from element /GstPipeline:pipeline0/GstRtpJPEGDepay:rtpjpegdepay0: Internal GStreamer error: negotiation problem.&nbsp; Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.<br>Additional debug info:<br>gstbasertpdepayload.c(360): gst_base_rtp_depayload_chain (): /GstPipeline:pipeline0/GstRtpJPEGDepay:rtpjpegdepay0:<br>Not RTP format was negotiated<br>Execution ended after 2704325327 ns.<br>Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br><br>Meanwhile the server has said ..<br><br>gst-launch videotestsrc ! ffenc_mjpeg ! rtpjpegpay ! rtpbin localport=5000 destinations=127.0.0.1:1234<br>Setting pipeline to PAUSED ...<br>/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, framerate=(fraction)30/1<br>Pipeline is PREROLLING ...<br>/GstPipeline:pipeline0/ffenc_mjpeg:ffenc_mjpeg0.GstPad:src: caps = image/jpeg, width=(int)320, height=(int)240, framerate=(fraction)30/1<br>/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<br>/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<br>/GstPipeline:pipeline0/GstRtpJPEGPay:rtpjpegpay0.GstPad:sink: caps = image/jpeg, width=(int)320, height=(int)240, framerate=(fraction)30/1<br>/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<br>/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<br>/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<br>/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<br>Pipeline is PREROLLED ...<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br>&nbsp; <br><br>..and continues to roll<br><br>I might move onto gstrtpbin later, but I'd like to make sure I can get the basics working first.<br><br>-John<br><br><br><br><br></body>
</html>