problem with udp
Tim-Philipp Müller
t.i.m at zen.co.uk
Wed Sep 12 13:42:11 PDT 2012
On Wed, 2012-09-12 at 16:21 -0400, Chuck Crisler wrote:
> I am trying to send a video stream between 2 systems using udp and it
> doesn't seem to work. I am using gstreamer 0.10.29.
>
> Capture pipeline: gst-launch -v v4l2src always-copy=FALSE
> device=/dev/video0 ! 'video/x-raw-yuv,
> format=(fourcc)I420,width=640,height=480,framerate=10/1' !
> ffmpegcolorspace ! \
> queue ! ffmpegcolorspace ! x264enc byte-stream=TRUE bitrate=256 !
> mpegtsmux ! udpsink host=192.168.10.237,port=6000
Try passing tune=zerolatency to x264enc if your version has that
parameter..
> Receive pipeline: gst-launch -v udpsrc port=6000 ! mpegtsdemux !
> ffdec_h264 ! ffmpegcolorspace ! xvimagesink
You might need a parser (h264parse) between the mpeg demuxer and
ffdec_h264. Also try xvimagesink sync=false for good measure.
> According to wireshark there aren't any udp packets on the Tx NIC (I
> think). I have tried substituting filesink/filesrc for the
> udpsink/udpsrc and that worked. I also merged the 2 pipelines simply
> connecting the mpegtsmux ! mpedtsdemux and that worked. So I think
> that I have messed up the udp somehow.
>
> gst-plugins-good 0.10.23
That's quite old, perhaps you could try something newer?
Cheers
-Tim
More information about the gstreamer-devel
mailing list