<div dir="ltr">Hi all,<div><br></div><div>I have a c program to read and send the raw image/video by udp.</div><div>The packet size (buffer) is restrained by datagrams protocol as smaller than 2^16</div><div>So one frame will be packed separately and transmitted.</div><div><br></div><div>The receiver side, I am using gstreamer (udpsrc). </div><div>GST_DEBUG=3 gst-launch-1.0 udpsrc port=8888 buffer-size=XXXXXXXXX ! "video/x-raw,format=I420,width=XXXX,height=XXXX,framerate=1/1" ! videoconvert ! ximagesink sync=false<br></div><div><br></div><div>But it shows:</div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:calibri,sans-serif">invalid video buffer received<span></span></span></p>

<span lang="EN-US" style="font-size:11pt;font-family:calibri,sans-serif">invalid buffer size: xxxxx<xxxxxxx (received buffer size <
the picture size I specified in caps)</span><br></div><div><span lang="EN-US" style="font-size:11pt;font-family:calibri,sans-serif"><br></span></div><div><font face="calibri, sans-serif"><span style="font-size:14.6667px">How to notify the udpsrc to wait and buffer all packets for one frame and then display?</span></font></div><div><font face="calibri, sans-serif"><span style="font-size:14.6667px"><br></span></font></div><div><font face="calibri, sans-serif"><span style="font-size:14.6667px">Thanks in advanced! </span></font></div></div>