real time - gstreamer - How to reduce streaming delay? -


i developing video chat application , need realtime streaming audio , video in sync. did......

  1. video encoding x264 encoder , decoding
  2. audio encoding lamemp3 encoder , decoding
  3. mpegts muxing , demuxing

my sender command:

gst-launch-1.0 -e mpegtsmux name="muxer" ! udpsink host=172.20.4.19 port=5000 v4l2src ! video/x-raw, width=640,height=480 ! x264enc tune=zerolatency byte-stream=true ! muxer. pulsesrc ! audioconvert ! lamemp3enc target=1 bitrate=64 cbr=true ! muxer. rtph264pay

my reciever command:

gst-launch-1.0 udpsrc port=5000 ! decodebin name=dec ! queue ! autovideosink dec. ! queue ! audioconvert ! audioresample ! autoaudiosink

however getting delay of more 1 second. causing delay (assuming did enherintly wrong)? , how minimize it?


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -