hlssink latency

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

hlssink latency

Jerry Geis-2
I am using this command for hlssink.
Works well.   I found my audio issue - the browser was starting with audio muted.

I am trying to decode audio with:
gst-launch-1.0 rtspsrc name=myrtsp location=rtsp://192.168.2.101:8080/video/h264 ! queue ! rtph264depay ! h264parse config-interval=-1 ! mpegtsmux name=mymux ! hlssink playlist-root=hlssink.camera.1650.%05d.ts target-duration=1 max-files=3 playlist-length=2 playlist-location=playlist.camera.1650.m3u8 myrtsp. ! queue ! decodebin ! audioconvert ! audioresample ! audiorate ! avenc_aac bitrate=96000 compliance=-2 ! mymux.

The latency is running like 5 seconds all on local lan with beefy server.
any way to greatly reduce that ?

Jerry

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: hlssink latency

Nicolas Dufresne-5


Le mar. 31 déc. 2019 13 h 00, Jerry Geis <[hidden email]> a écrit :
I am using this command for hlssink.
Works well.   I found my audio issue - the browser was starting with audio muted.

I am trying to decode audio with:
gst-launch-1.0 rtspsrc name=myrtsp location=rtsp://192.168.2.101:8080/video/h264 ! queue ! rtph264depay ! h264parse config-interval=-1 ! mpegtsmux name=mymux ! hlssink playlist-root=hlssink.camera.1650.%05d.ts target-duration=1 max-files=3 playlist-length=2 playlist-location=playlist.camera.1650.m3u8 myrtsp. ! queue ! decodebin ! audioconvert ! audioresample ! audiorate ! avenc_aac bitrate=96000 compliance=-2 ! mymux.

The latency is running like 5 seconds all on local lan with beefy server.
any way to greatly reduce that ?

It's nearly impossible to do better then that with HLS. Webrtc could be an option.


Jerry
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel