Hi all,
I'm trying to send raw video over udpsink, this pipeline works perfectly, sender: 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=160,height=120' ! udpsink receiver: gst-launch-0.10 -v udpsrc caps="video/x-raw-yuv, format=(fourcc)I420, width=(int)160, height=(int)120, framerate=(fraction)5/1" ! autovideosink but if i try to change width and height doesn't work anymore, sender: 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, any hints, thanks Nicola ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |