udp audio streaming issue

pradeep.linux pradeep.mundlapudi5 at gmail.com
Wed Feb 6 16:00:18 UTC 2019


Thanks Tim.

When i try to do live streaming(audio + video ) from sender to receiver,
there is video & audio lag of ~500 ms to 1second at receiver. Can you Please
suggest on how to correct this?. Also please suggest how to get rid of
slight jitter in video at receiver.

Below are my pipelines.

*sender:(db820c)*
gst-launch-1.0 -e v4l2src device=/dev/video10 ! videoconvert !
video/x-raw,format=NV12,width=1280,height=720 ! v4l2h264enc
extra-controls="controls,h264_profile=4,video_bitrate=10000000;" ! h264parse
config-interval=10 ! queue ! mpegts. alsasrc name=hello1 ! webrtcdsp
echo-cancel=true noise-suppression=true ! webrtcechoprobe !
'audio/x-raw,format=S16LE, rate=48000' ! queue max-size-time=20000000000
max-size-bytes=204857600 max-size-buffers=3000 ! volume volume=10.0 ! level
! audioconvert ! avenc_aac ! aacparse ! mpegts.  mpegtsmux name=mpegts
alignment=7 ! udpsink host=192.168.51.6 port=5000

*Receiver:(my laptop)*
gst-launch-1.0 -e -v udpsrc port=5000 ! tsdemux name=demux demux. ! queue
max-size-bytes=0 max-size-buffers=0 max-size-time=0 leaky=downstream !
h264parse ! avdec_h264 ! videoconvert ! autovideosink  demux. ! queue
max-size-bytes=0 max-size-buffers=0 max-size-time=0 leaky=downstream  !
aacparse ! avdec_aac ! audioconvert ! autoaudiosink 

Thanks,
Pradeep



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list