[gst-devel] Using gstreamer to transmit H264 file over RTP

Farah Akhtar farahakhtar_24c at yahoo.com
Sat Jun 5 22:46:26 CEST 2010


Thanks for the earlier advice. I figured I had to install a later release of
gstreamer than Hardy would let me do. So, I updated my ubuntu to 10.04 Lucid and
now have the latest gstreamer libraries. (The rtph264pay element does have a
config-interval property that I couldnt find earlier.)

I am now able to run the pipe fine. I still have to give a Ctrl+C at the
receiver for the pipe to stop playing. Is that fine? 

My working pipeline:

gst-launch-0.10 -v filesrc location=June/akiyo_qcif.264 ! h264parse !
video/x-h264 ! rtph264pay pt=96 config-interval=5 ! udpsink host=
port=42050 sync=false

gst-launch-0.10 udpsrc port=42050 caps="application/x-rtp, media=(string)video,
clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96,
ssrc=(guint)4091714163, clock-base=(guint)4007889851, seqnum-base=(guint)31909"
! rtph264depay ! filesink location=June/test6.264

I give the sender caps in the receiver pipe obviously.

Thanks for help.

More information about the gstreamer-devel mailing list