当前位置:网站首页>EasyGBS调用获取实时快照接口时,出现白色方块该如何解决?
EasyGBS调用获取实时快照接口时,出现白色方块该如何解决?
2022-06-29 15:24:00 【EasyGBS】
EasyGBS国标视频云服务可支持通过国标GB28181协议将设备接入,实现视频的实时监控直播、录像、语音对讲、云存储、告警等功能,同时也支持将接入的视频流进行全终端、全平台分发,分发的视频流包括RTSP、RTMP、FLV、HLS、WebRTC等格式。平台部署简单,无需插件就能实现web浏览器播放,也支持手机浏览器、微信、PC等各种终端的无插件播放。

有用户反馈,使用EasyGBS调用获取实时快照接口的时候,出现白色小方块,并不显示实时快照。为提高用户体验感,增强平台功能,技术人员立即对此进行了排查,以下为排查过程与解决方法:
1) 首先,调用接口查看,如下图:

2)经分析,出现该现象是因为EasyGBS平台默认快照是I帧封装为base64,默认没有转化为jpg格式的图片,所以返回不是以jpg模式进行返回的,我们可以修改默认返回为jpg。
打开easygbs.ini:

3)找到to_jpg=参数:

4)将false改为true,这样就会将I帧转化为jpg:

5)保存后,重启EasyGBS,然后再次调用接口就能正常返回快照了:

6)修改后可以正常返回jpg格式的快照,如下图所示:

我们在此前的文章中也介绍过关于EasyGBS平台快照的相关技术文章,感兴趣的用户可以查看我们往期的博文进行了解。
国标GB28181协议视频平台EasyGBS既可以作为业务平台,也能作为视频能力平台进行调用,是安防市场主流的视频监控平台。感兴趣的用户可以前去演示平台进行体验,或者下载进行部署测试,欢迎大家的关注。
边栏推荐
- MySQL scheduled full database backup & rolling deletion of backup data before the specified date
- PostgreSQL source code learning (25) -- transaction log ⑥ - wait for log writing to complete
- Lumiprobe deoxyribonucleic acid phosphate CpG 1000 solid carrier
- Get the width of text component content
- message from server: “Host ‘xxxxxx‘ is blocked because of many connection errors; unblock with ‘m
- Chapter IX app project test (the end of this chapter)
- MySQL为什么选择B+树存储索引
- Lumiprobe reactive dye miscellaneous dye: BDP FL ceramide
- 这是少了什么依赖嘛?FlinkSql打包运行的时候报错,但是本地idea跑的时候是没问题的,求解,谢
- Hi, you have a code review strategy to check
猜你喜欢

12.UDP协议-bite

Lumiprobe reactive dye miscellaneous dye: BDP FL ceramide

Lumiprobe reactive dye cycloalkyne dye: af488 dbco, 5 isomer

14.IP协议-bite

MCS: discrete random variable - binomial distribution

Lumiprobe reactive dye - amino dye: cyanine 5 amine

ImgUtil 图片处理工具类,文字提取,图片水印

Middle order and post order traversal to construct binary tree [recursive partition interval and backtracking splicing subtree + similarity and difference between middle post order and middle pre orde

MySQL JSON array operation JSON_ array_ append、json_ array_ insert

GWD:基于高斯Wasserstein距离的旋转目标检测 | ICML 2021
随机推荐
Informatics Olympiad all in one 1000: introductory test questions
Take another picture of cloud redis' improvement path
阿里云体验有奖:使用PolarDB-X与Flink搭建实时数据大屏
Several imaging modes of polarimetric SAR
LeetCode-1188. Designing finite blocking queues
c#Sqlite类库
雷达的类型
js获取上个月第一天以及本月的最后一天
Lumiprobe reactive dye miscellaneous dye: BDP FL ceramide
【力扣10天SQL入门】Day7+8 计算函数
Why MySQL chooses b+ tree to store indexes
Implementing redis distributed locks using custom annotations
12.udp protocol -bite
中序和后序遍历构建二叉树[递归划分区间与回溯拼接子树+中后序和中前序的相似与不同]
Lumiprobe reactive dye cycloalkyne dye: af488 dbco, 5 isomer
Biovendor free light chain( κ and λ) Chemical properties of ELISA Kit
LeetCode-1188. 设计有限阻塞队列
Flink SQL任务TaskManager内存设置
Unity C basic review 28 - delegation with return (p449)
MySQL JSON array operation JSON_ array_ append、json_ array_ insert