Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
gstreamer WebM直播,如何减少延迟?_Gstreamer_Live Streaming_Webm - Fatal编程技术网

gstreamer WebM直播,如何减少延迟?

gstreamer WebM直播,如何减少延迟?,gstreamer,live-streaming,webm,Gstreamer,Live Streaming,Webm,已更新: 我使用下面的管道从摄像头使用webm实时流媒体进行视频流 gst-launch-1.0 v4l2src ! videoconvert ! video/x-raw,format=I420,width=320,height=240 ! vp8enc end-usage=cbr cpu-used=5 threads=4 target-bitrate=2048 max-quantizer=40 min-quantizer=10 cq-level=10 ! webmmux streamable=

已更新: 我使用下面的管道从摄像头使用webm实时流媒体进行视频流

gst-launch-1.0 v4l2src ! videoconvert ! video/x-raw,format=I420,width=320,height=240 ! vp8enc end-usage=cbr cpu-used=5 threads=4 target-bitrate=2048 max-quantizer=40 min-quantizer=10 cq-level=10 ! webmmux streamable=true !  shout2send ip=192.168.1.139 port=8000 password=uurmi321 mount=/test.webm max-bitrate=2048
在firefox上观看视频时

通过在vp8enc添加一些属性,延迟将减少到6到8秒

但是,我需要减少到1到2秒


我还需要设置哪些属性?

我首先分析是什么引入了延迟。。使用
怎么样!vp8enc!rtpvp8pay!udpsink
并与vlc播放器检查输出。。用这句话分析一下延误。。如果它仍然太长,那么检查一些vp8enc参数,如果它不是icecast服务器的原因(如果我正确理解shout2cast)…但是我想在web浏览器中播放该流,所以我使用了shout2send元素。ok nice:)我不知道哪些属性。。也许可以在IRC上询问,但也可以尝试我的建议,这将显示icecast服务器增加了多少(这可能是6秒;)我可以知道如何检查icecast服务器吗?正如我所说,已经使用vp8enc rtpvp8pay和udpsink制作了一个管道,并在vlc上播放,测量时间。。如果低于逻辑上的6秒,则icecase服务器为额外时间。。其简单的对比测试,消除了链中的shout2send和icecast。。否则,我不知道如何更直接地测量icecast服务器延迟。。