本文转自:http://blog.csdn.net/cai6811376/article/details/52637158

使用ffplay播放视频源时,rtsp/rtmp等,会有一定的延时,这里我们可以通过设置ffplay播放参数将延时控制到最小。

ffplay.exe -i rtmp://xxxxxxx -fflags nobuffer
减少缓冲

也可以减少分析码流的时间

ffplay.exe -i rtmp://xxxxxxx -analyzeduration 1000000
码流分析时间设置,单位为微秒

RTSP低延时播放:

ffplay.exe -i rtsp://xxx -fflags nobuffer -analyzeduration 1000000 -rtsp_transport tcp

获取更多信息

邮件:support@easydarwin.org

WEB:www.EasyDarwin.org

Copyright © EasyDarwin.org 2012-2016

EasyDarwin

转载于:https://www.cnblogs.com/babosa/p/9217887.html

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐