当前位置:网站首页>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
边栏推荐
- How Zotero quotes in word jump to references / hyperlink
- Overview of knowledge map (II)
- According to the category information and coordinate information of the XML file, the category area corresponding to the image is pulled out and stored in the folder.
- The art of concurrent programming (3): an in-depth understanding of the principle of synchronized
- On the principle of concurrent programming and the art of notify / Park
- SQL topic exercise summary
- The fourth operation
- vscode删除卸载残余
- Common auxiliary classes
- Installation and configuration of clion under win10
猜你喜欢
随机推荐
对象和类的概念
作为一名码农,女友比自己更能码是一种什么体验?
Use the thread factory to set the thread name in the thread pool
Picture synthesis video
Database - MySQL -- Navicat import SQL error 1067 - invalid default value for 'paydate‘
Applet - more than two pieces of folding and expansion logic
Win10 boot VMware virtual machine boot seconds blue screen problem perfect solution
Openvino only supports Intel CPUs of generation 6 and above
Activity supports multi window display
Deep learning notes (II) -- principle and implementation of activation function
JS changes the words separated by dashes into camel style
Why is it necessary to divide the variance by 255^2 when adding Gaussian noise using the imnoise function of MATLAB
Several common methods of multithreading
The principle and solution of not allowing pasting in an English Network
JS takes out the same elements in two arrays
If statement format flow
Design and implementation of redis (2): how to handle expired keys
变量、常量、运算符
Identifier and type conversion
Digital image processing third edition Gonzalez notes Chapter 2