Gstreamer 0.10 pipeline udpsrc and udpsink
Arun Raghavan
arun at arunraghavan.net
Mon Jul 25 04:29:31 UTC 2016
On Sun, 24 Jul 2016, at 01:53 AM, AlexZhou wrote:
> I just learn how to use gstreamer pipeline to receive the udp packets
> with a
> custom socket. And i want to broadcast the pipeline to a udpsink likes
> 127.0.0.1:5000. Now i donot know whether it is available to use the
> udpsrc
> and udpsink at the same time. Following commend line is working with the
> xvimagesink:PIPELINE_DEF = "udpsrc do-timestamp=true name=src
> blocksize=1316
> closefd=false buffer-size=5600 !" \ "mpegtsdemux !" \
> "queue !" \ "ffdec_h264 max-threads=0 !" \
> "ffmpegcolorspace !" \ "xvimagesink force-aspect-ratio=True
> name=video"I want to replace the xvimagesink with a udpsink and build a
> sdp
> file for my vlc player to display it.Thanks for reply, and any help :]
You'll want to pass the output to rtph264pay (to do RTP payloading,
assuming that's what you want), and then you can pass it on to udpsink.
-- Arun
More information about the gstreamer-devel
mailing list