[gst-devel] raw video and udpsink: works only with 160x120

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Oct 20 10:30:17 CEST 2009


On Tue, 2009-10-20 at 09:47 +0200, Mailing List SVR wrote:

Hi,

> I'm trying to send raw video over udpsink, this pipeline works perfectly,
> 
> gst-launch-0.10 -v v4l2src ! queue ! videorate !
>  'video/x-raw-yuv,format=(fourcc)I420,oadframerate=5/1' ! videoscale !
>  'video/x-raw-yuv,format=(fourcc)I420,width=160,height=120' ! udpsink
> 
> ...
>
> but if i try to change width and height doesn't work anymore,
>
> gst-launch-0.10 -v v4l2src ! queue ! videorate !
>  'video/x-raw-yuv,format=(fourcc)I420,framerate=5/1' ! videoscale !
>  'video/x-raw-yuv,format=(fourcc)I420,width=320,height=240' ! udpsink
> 
> with tcpdump I don't see any packet on lo interface,

There's a maximum UDP packet size, IIRC it's around 64 kB, but may well
be different. You could try using an RTP payloader/depayloader (e.g.
rtpvrawpay) on each end.

 Cheers
  -Tim






More information about the gstreamer-devel mailing list