当前位置:网站首页>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
边栏推荐
- Application and definition of interface
- Section 1 array and slicing in Chapter 6
- AI CC 2019 installation tutorial under win10 (super detailed - small white version)
- A sword is a sword. There is no difference between a wooden sword and a copper sword
- Three types of jump statements
- 将编译安装的mysql加入PATH环境变量
- PolarMask is not in the models registry
- 什么是软件验收测试,第三方软件检测机构进行验收测试有什么好处?
- Notes sur l'apprentissage profond (Ⅱ) - - Principe et mise en oeuvre de la fonction d'activation
- Photoshop installation under win10
猜你喜欢
A sword is a sword. There is no difference between a wooden sword and a copper sword
AI CC 2019 installation tutorial under win10 (super detailed - small white version)
Mechanical design knowledge point planning
将编译安装的mysql加入PATH环境变量
深度學習筆記(二)——激活函數原理與實現
Use of rotary selector wheelpicker
Redis(17) -- Redis缓存相关问题解决
Software testing process
you need to be root to perform this command
Common net HP UNIX system FTP server listfiles returns null solution.
随机推荐
Mechanical design knowledge point planning
Leetcode punch in diary day 01
ROS series (4): ROS communication mechanism series (4): topic communication practice
Using VBA interval to extract one column from another in Excel
Application and definition of interface
Definition, understanding and calculation of significant figures in numerical analysis
Design and implementation of redis (5): master-slave replication strategy and optimization
Activity supports multi window display
Overview of knowledge map (II)
[microservices] (x) -- Unified gateway
2021-08-31
Cmake qmake simple knowledge
Design and implementation of redis (3): persistence strategy RDB, AOF
Process seven state transition diagram
Download and configuration of idea
The art of concurrent programming (6): explain the principle of reentrantlock in detail
Three types of cyclic structure
Vs Studio modifie le langage C scanf et d'autres erreurs
How Zotero quotes in word jump to references / hyperlink
STM32 advanced timer com event