real time - gstreamer - How to reduce streaming delay? -
i developing video chat application , need realtime streaming audio , video in sync. did......
- video encoding x264 encoder , decoding
- audio encoding lamemp3 encoder , decoding
- 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
Post a Comment