Video streaming in the same machine using gstreamer is too slow

suspension manusha1980 at gmail.com
Mon Jul 20 09:42:49 PDT 2015


I am trying to setup video streaming on IMX6 SOC based platform. Following
gstreamer chain which I created to see if hardware decoding and encoding
works fine. Here I decode video, then encode it, and then send it through
rtpmp4vpay. This stream gets consumed by rtpmp4vdepay and sent through a
decoder to the video sink. I dont have any UDP sink/sources in this chain. I
created this chain to verify if hardware encoding/decoding works properly.


/gst-launch filesrc
location=/media/lacie/The.Dictator.2012.UNRATED.480p.BluRay.x264-mSD.mkv !
matroskademux ! vpudec ! vpuenc ! rtpmp4vpay mtu=1400 pt=96 ssrc=0
timestamp-offset=0 seqnum-offset=0 send-config=true !rtpmp4vdepay ! vpudec !
fpsdisplaysink/

If I split this chain to two - A server chain with a UDP sink and a client
chain with a UDPSource, the play becomes very slow.

Server chain:

/gst-launch filesrc location=<movie>.mkv ! decodebin ! vpuenc ! rtpmp4vpay
mtu=50000 pt=96 ssrc=0 timestamp-offset=0 seqnum-offset=0 send-config=true !
udpsink host=localhost port=5000/

Client chain:

/gst-launch udpsrc uri=udp://0.0.0.0:5000 caps="application/x-rtp,
media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
profile-level-id=(string)1,
config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335322e3132332e30,
payload=(int)96, ssrc=(uint)298758266, clock-base=(uint)3097828288,
seqnum-base=(uint)63478" ! rtpmp4vdepay ! vpudec ! autovideosink/

Can this be a network issue?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Video-streaming-in-the-same-machine-using-gstreamer-is-too-slow-tp4672759.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list