<div dir="ltr">Were you able to solve this problem? I think that your Rx video caps may not be correct. I would remove the payload=96 first, but maybe the profile, config, ssrc, clock base and seqnum base. Try testing pipelines with fewer and fewer caps to find what works. You can also increase logging on GST_ELEMENT_PAD to 3 or 4 to see better log messages. <br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 28, 2014 at 9:53 AM, metind <span dir="ltr"><<a href="mailto:metin.duman@arcelik.com" target="_blank">metin.duman@arcelik.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
<br>
I am using this pipeline to send audio video (audio 5000 and video 5002);<br>
gst-launch-0.10 -v audiotestsrc ! audioconvert ! ffenc_aac ! queue !<br>
rtpmp4apay ! udpsink host=127.0.0.1 port=5000 videotestsrc ! ffenc_mpeg4 !<br>
queue ! rtpmp4vpay send-config=true ! udpsink host=127.0.0.1 port=5002<br>
<br>
and the debug text is;<br>
Setting pipeline to PAUSED ...<br>
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps =<br>
video/x-raw-yuv, width=(int)320, height=(int)240, framerate=(fraction)30/1,<br>
format=(fourcc)I420, color-matrix=(string)sdtv, chroma-site=(string)mpeg2<br>
/GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0.GstPad:src: caps =<br>
audio/x-raw-int, width=(int)16, depth=(int)16, rate=(int)44100,<br>
channels=(int)1, endianness=(int)1234, signed=(boolean)true<br>
Pipeline is PREROLLING ...<br>
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps =<br>
audio/x-raw-int, width=(int)16, depth=(int)16, rate=(int)44100,<br>
channels=(int)1, endianness=(int)1234, signed=(boolean)true<br>
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps =<br>
audio/x-raw-int, width=(int)16, depth=(int)16, rate=(int)44100,<br>
channels=(int)1, endianness=(int)1234, signed=(boolean)true<br>
/GstPipeline:pipeline0/ffenc_mpeg4:ffenc_mpeg40.GstPad:src: caps =<br>
video/mpeg, width=(int)320, height=(int)240, framerate=(fraction)30/1,<br>
mpegversion=(int)4, systemstream=(boolean)false<br>
/GstPipeline:pipeline0/ffenc_mpeg4:ffenc_mpeg40.GstPad:sink: caps =<br>
video/x-raw-yuv, width=(int)320, height=(int)240, framerate=(fraction)30/1,<br>
format=(fourcc)I420, color-matrix=(string)sdtv, chroma-site=(string)mpeg2<br>
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = video/mpeg,<br>
width=(int)320, height=(int)240, framerate=(fraction)30/1,<br>
mpegversion=(int)4, systemstream=(boolean)false<br>
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = video/mpeg,<br>
width=(int)320, height=(int)240, framerate=(fraction)30/1,<br>
mpegversion=(int)4, systemstream=(boolean)false<br>
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:src: caps = video/mpeg,<br>
width=(int)320, height=(int)240, framerate=(fraction)30/1,<br>
mpegversion=(int)4, systemstream=(boolean)false<br>
/GstPipeline:pipeline0/GstRtpMP4VPay:rtpmp4vpay0.GstPad:sink: caps =<br>
video/mpeg, width=(int)320, height=(int)240, framerate=(fraction)30/1,<br>
mpegversion=(int)4, systemstream=(boolean)false<br>
/GstPipeline:pipeline0/GstRtpMP4VPay:rtpmp4vpay0.GstPad:src: caps =<br>
application/x-rtp, media=(string)video, clock-rate=(int)90000,<br>
encoding-name=(string)MP4V-ES, profile-level-id=(string)1,<br>
config=(string)000001b001000001b58913000001000000012000c48d8800f50a041e1463000001b24c61766335332e33352e30,<br>
payload=(int)96, ssrc=(uint)475401716, clock-base=(uint)2048383010,<br>
seqnum-base=(uint)16002<br>
/GstPipeline:pipeline0/GstRtpMP4APay:rtpmp4apay0: timestamp = 2804015880<br>
/GstPipeline:pipeline0/GstRtpMP4APay:rtpmp4apay0: seqnum = 28046<br>
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps =<br>
application/x-rtp, media=(string)audio, clock-rate=(int)44100,<br>
encoding-name=(string)MP4A-LATM, cpresent=(string)0,<br>
config=(string)40002410adca00, payload=(int)96, ssrc=(uint)1608778944,<br>
clock-base=(uint)2804014857, seqnum-base=(uint)28046<br>
/GstPipeline:pipeline0/GstRtpMP4VPay:rtpmp4vpay0: timestamp = 2048383010<br>
/GstPipeline:pipeline0/GstRtpMP4VPay:rtpmp4vpay0: seqnum = 16002<br>
/GstPipeline:pipeline0/GstUDPSink:udpsink1.GstPad:sink: caps =<br>
application/x-rtp, media=(string)video, clock-rate=(int)90000,<br>
encoding-name=(string)MP4V-ES, profile-level-id=(string)1,<br>
config=(string)000001b001000001b58913000001000000012000c48d8800f50a041e1463000001b24c61766335332e33352e30,<br>
payload=(int)96, ssrc=(uint)475401716, clock-base=(uint)2048383010,<br>
seqnum-base=(uint)16002<br>
Pipeline is PREROLLED ...<br>
Setting pipeline to PLAYING ...<br>
New clock: GstSystemClock<br>
<br>
<br>
And then to get only video part, i am using this pipeline;<br>
<br>
GST_DEBUG=*:2 gst-launch-0.10 udpsrc port=5002 caps="application/x-rtp,<br>
media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,<br>
profile-level-id=(string)1,<br>
config=(string)000001b001000001b58913000001000000012000c48d8800f50a041e1463000001b24c61766335332e33352e30,<br>
payload=(int)96, ssrc=(uint)475401716, clock-base=(uint)2048383010,<br>
seqnum-base=(uint)16002" ! rtpmp4vdepay ! ffdec_mpeg4 ! xvimagesink<br>
<br>
but it gives error as;<br>
<br>
Setting pipeline to PAUSED ...<br>
Pipeline is live and does not need PREROLL ...<br>
Setting pipeline to PLAYING ...<br>
0:00:00.482447186 13540 0x93ceee0 WARN bin<br>
gstbin.c:2399:gst_bin_do_latency_func:<pipeline0> failed to query latency<br>
New clock: GstSystemClock<br>
0:00:00.513829649 13540 0x94e7b20 ERROR ffmpeg :0::<br>
warning: first frame is no keyframe<br>
0:00:00.515966142 13540 0x94e7b20 WARN ffmpeg<br>
gstffmpegdec.c:2297:gst_ffmpegdec_frame:<ffdec_mpeg40> ffdec_mpeg4: decoding<br>
error (len: -1, have_data: 0)<br>
0:00:00.516267452 13540 0x94e7b20 WARN basesrc<br>
gstbasesrc.c:2625:gst_base_src_loop:<udpsrc0> error: Internal data flow<br>
error.<br>
0:00:00.516416326 13540 0x94e7b20 WARN basesrc<br>
gstbasesrc.c:2625:gst_base_src_loop:<udpsrc0> error: streaming task paused,<br>
reason not-negotiated (-4)<br>
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data<br>
flow error.<br>
Additional debug info:<br>
gstbasesrc.c(2625): gst_base_src_loop ():<br>
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0:<br>
streaming task paused, reason not-negotiated (-4)<br>
Execution ended after 32306592 ns.<br>
Setting pipeline to PAUSED ...<br>
Setting pipeline to READY ...<br>
Setting pipeline to NULL ...<br>
Freeing pipeline ...<br>
<br>
<br>
I think i used correct caps for video but couldnt play it. I need your<br>
advice to solve this problem.<br>
<br>
Best regards,<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/udp-caps-fail-tp4667243.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/udp-caps-fail-tp4667243.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>