pipelines for sending/receiving movies (audio+video)

Arjen Veenhuizen arjen.veenhuizen at tno.nl
Mon Aug 15 09:53:01 UTC 2016


For one, you are missing a payloader which makes sure that your audio and
video packets fit in the MTU. Since you are multiplexing to MPEG2TS,
rtpmp2tpay (and rtmp2tdepay) are suitable. Furthermore, you are missing a
video and audio parser so we have to add them as well. 

The following sender pipeline should work:


Notice the -v command line argument which enables verbose logging output. In
the log you will find a line which reads something like:
caps="application/x-rtp,....". These are the caps that you need on the
receiver side. Furthermore, you need an rtpjitterbuffer to make sure that
any out-of-order received udp packets are put back in order.

Your receiver pipeline would look like:

gst-launch-1.0 -e -v udpsrc port=10000 caps="application/x-rtp, ..." !
rtpjitterbuffer ! rtpmp2tdepay ! tsdemux name=demux demux. ! queue !
h264parse ! openh264dec ! videoconvert ! autovideosink demux. ! queue !
aacparse ! avdec_aac ! audioconvert ! autoaudiosink 

Perhaps you do not need the aacparse, so if it fails try the pipeline
without it.




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/pipelines-for-sending-receiving-movies-audio-video-tp4679081p4679086.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list