<div dir="ltr"><div>When I play the below example(in windows)</div><div><br></div><div>Server</div><div>gst-launch-1.0 videotestsrc ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000</div><div>Client</div><div>gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtpjitterbuffer ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink</div><div><br></div><div><br></div><div>It works perfectly well.</div><div><br></div><div>But when I play the same example with dx9screencapsrc</div><div>Server</div><div>gst-launch-1.0 dx9screencapsrc ! video/x-raw,framerate=30/1 ! queue ! videoconvert ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000</div><div>Client</div><div>gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtpjitterbuffer ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink</div><div><br></div><div>client gives me the below error</div><div>C:\Users\ashg>gst-launch-1.0 -v udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtpjitterbuffer ! rtph264depay ! h264parse ! avde</div><div>c_h264 ! autovideosink</div><div>Setting pipeline to PAUSED ...</div><div>Pipeline is live and does not need PREROLL ...</div><div>Setting pipeline to PLAYING ...</div><div>New clock: GstSystemClock</div><div>/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = "application/x-rtp\,\ encoding-name\=\(string\)H264\,\ payload\=\(int\)96\,\ media</div><div>\=\(string\)video\,\ clock-rate\=\(int\)90000"</div><div>/GstPipeline:pipeline0/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink: caps = "application/x-rtp\,\ encoding-name\=\(string\)H264\,\ payload\=\(int\)</div><div>96\,\ media\=\(string\)video\,\ clock-rate\=\(int\)90000"</div><div>/GstPipeline:pipeline0/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink: caps = "application/x-rtp\,\ encoding-name\=\(string\)H264\,\ payload\=\(int\)</div><div>96\,\ media\=\(string\)video\,\ clock-rate\=\(int\)90000"</div><div>/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src: caps = "video/x-h264\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ co</div><div>dec_data\=\(buffer\)01f40032ffe1001967f40032919b280f004bd80880000003008000001e478c18cb01000668ebec448440\,\ level\=\(string\)5\,\ profile\=\(string\)h</div><div>igh-4:4:4"</div><div>/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = "video/x-h264\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ codec_da</div><div>ta\=\(buffer\)01f40032ffe1001967f40032919b280f004bd80880000003008000001e478c18cb01000668ebec448440\,\ level\=\(string\)5\,\ profile\=\(string\)high-4:</div><div>4:4\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ width\=\(int\)1920\,\ height\=\(int\)1200\,\ framerate\=\(fraction\)30/1\,\ parsed\=\(boolean\)true"</div><div>Redistribute latency...</div><div>/GstPipeline:pipeline0/avdec_h264:avdec_h264-0.GstPad:sink: caps = "video/x-h264\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ codec_d</div><div>ata\=\(buffer\)01f40032ffe1001967f40032919b280f004bd80880000003008000001e478c18cb01000668ebec448440\,\ level\=\(string\)5\,\ profile\=\(string\)high-4</div><div>:4:4\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ width\=\(int\)1920\,\ height\=\(int\)1200\,\ framerate\=\(fraction\)30/1\,\ parsed\=\(boolean\)true"</div><div>/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = "video/x-h264\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ codec_d</div><div>ata\=\(buffer\)01f40032ffe1001967f40032919b280f004bd80880000003008000001e478c18cb01000668ebec448440\,\ level\=\(string\)5\,\ profile\=\(string\)high-4</div><div>:4:4"</div><div>/GstPipeline:pipeline0/avdec_h264:avdec_h264-0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)Y444\,\ width\=\(int\)1920\,\ height\=\(int\)1200\</div><div>,\ interlace-mode\=\(string\)progressive\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ chroma-site\=\(string\)mpeg2\,\ colorimetry\=\(string\)bt709\,\ fra</div><div>merate\=\(fraction\)30/1"</div><div>ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data flow error.</div><div>Additional debug info:</div><div>gstbasesrc.c(2943): gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:</div><div>streaming task paused, reason not-negotiated (-4)</div><div>Execution ended after 0:00:08.986212260</div><div>Setting pipeline to PAUSED ...</div><div>Setting pipeline to READY ...</div><div>Setting pipeline to NULL ...</div><div>Freeing pipeline ...</div><div><br></div><div><br></div><div>What problem it can be?</div><div><br></div><div>Secondly, is it possible to send the byte streams(dx9screencapsrc) over the udp sink server and then onĀ </div><div>client side, parse with h264 and play it.</div><div>For e.g below works for videotestsrc</div><div>gst-launch-1.0 videotestsrc ! x264enc ! udpsink host=127.0.0.1 port=5000</div><div>gst-launch-1.0 udpsrc port=5000 ! h264parse ! avdec_h264 ! autovideosink</div><div><br></div><div>Can I do the same with dx9screencapsrc?</div></div>