当前位置:网站首页>Qt程序集成EasyPlayer-RTSP流媒体播放器出现画面闪烁是什么原因?
Qt程序集成EasyPlayer-RTSP流媒体播放器出现画面闪烁是什么原因?
2022-04-23 03:46:00 【TSINGSEE】
TSINGSEE青犀视频旗下的视频平台都具备灵活的视频能力、可拓展性强、开放度高,同时为了满足用户的集成与二次开发需求,我们也提供了丰富的API接口及SDK,便于用户调用和集成。TSINGSEE青犀视频的各个视频平台可支持不同的协议接入,如国标GB28181、RTSP/Onvif、RTMP,以及海康EHOME、海康SDK、大华SDK等,可灵活满足用户的平台项目建设需求。

有用户反馈,在Qt程序中集成EasyPlayer-RTSP播放器,在现场使用时出现视频和背景图交替现象(闪烁)。

对此,我们进行了排查。
1)首先,使用其他播放器播放RTSP地址视频流,测试是否会出现闪烁情况。使用VLC播放RTSP流,并未出现闪烁情况。
2)排查是否为丢帧和解码失败情况。在排查中了解到,调试信息中表明未有此类情况(注:如果丢帧和解码失败不会出现闪烁的情况,会显示跳帧),所以排除是该缘故。
3)猜测可能是Qt程序中某种操作导致刷新界面。Qt中有update()方法,此方法会刷新界面操作。
找到问题的原因后,解决起来就比较简单了。找到Qt中update函数,去除即可。
以下是模拟update,定时刷新界面(启动定时器(200ms)刷新):


TSINGSEE青犀视频的EasyPlayer播放器含有多个版本,包括EasyPlayer-RTSP、EasyPlayer-Pro、EasyPlayer.js等,可支持H.264及H.265等视频格式的播放。

EasyPlayer流媒体播放器灵活性强,多个衍生版本无论是在对接设备型号种类,还是在对接编码的兼容性上,都具备较高的可用性和稳定性,而且EasyPlayer上层有一套成熟的视频缓冲与追帧算法,在视频能力应用上表现十分优异。感兴趣的用户可以前往演示平台进行体验及部署测试。
版权声明
本文为[TSINGSEE]所创,转载请带上原文链接,感谢
https://blog.csdn.net/TsingSee/article/details/124348364
边栏推荐
- Abstract classes, interfaces and common keywords
- Design and implementation of redis (2): how to handle expired keys
- ROS series (IV): ROS communication mechanism series (2): Service Communication
- Photoshop installation under win10
- [string] ranking of country names ----- problem solving notes
- Summary of knowledge map (I)
- VS Studio 修改C语言scanf等报错
- 变量、常量、运算符
- Mechanical design knowledge point planning
- VS Studio 修改C語言scanf等報錯
猜你喜欢

How Zotero quotes in word jump to references / hyperlink

Mechanical design knowledge point planning

淺學一下I/O流和File類文件操作

Design and implementation of redis (3): persistence strategy RDB, AOF

MySQL zip installation tutorial

Concepts of objects and classes

Let matlab2018b support the mex configuration of vs2019

Add the compiled and installed Mysql to the path environment variable

将编译安装的mysql加入PATH环境变量

Basic knowledge of convolutional neural network
随机推荐
Win10 boot VMware virtual machine boot seconds blue screen problem perfect solution
2021-08-31
Digital image processing third edition Gonzalez notes Chapter 2
Source code and update details of new instance segmentation network panet (path aggregation network for instance segmentation)
Development record of primary sensitive word detection
Design and implementation of redis (1): understand data structures and objects
Key point detection of human hand based on mediapipe
Initial experience of talent plan learning camp: communication + adhering to the only way to learn open source collaborative courses
JS - accuracy issues
Identifier, keyword, data type
PyMOL usage
[AI vision · quick review of NLP natural language processing papers today, issue 29] Mon, 14 Feb 2022
JS takes out the same elements in two arrays
Seekbar custom style details
The art of concurrent programming (6): explain the principle of reentrantlock in detail
SQL topic exercise summary
将编译安装的mysql加入PATH环境变量
Chapter VI, Section III pointer
vscode删除卸载残余
Definition format of array