当前位置:网站首页>[experience sharing] Why is the green screen displayed after the video picture decoding fails?
[experience sharing] Why is the green screen displayed after the video picture decoding fails?
2022-04-22 16:02:00 【ShaYQ】
Project scenario :
Project scenario : When we deal with video data decoding , We often encounter decoding failure and green screen , At this time, we usually check the program code at the decoding end .
Problem description
When something goes wrong , Have you considered the following questions :

“ Why the green screen , Not a yellow curtain 、 Blue screen or other colors ?”
Cause analysis :
- After decoding the video data , yes YUV Format , That is, by Y\U\V Component composition ;
- If the final picture shows , It is necessary to YUV Format to RGB,RGB It's three primary colors red、green、blue For short ;
- When we decode , Will usually YUV The data of the video picture is initialized to 0;
- When decoding fails , according to YUV And RGB The conversion formula of , In the end by the Y(0)\U(0)\V(0) Convert to get us RGB Corresponding value , This value is the corresponding “ Green curtain ” The color of the ;
So here's a summary :
Interested students can pay attention to YUV And RGB Format , And the mutual conversion formula .
版权声明
本文为[ShaYQ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204221557116507.html
边栏推荐
- 每周推薦短視頻:存量時代如何重構企業核心競爭力?
- 企业级知识管理(KM)建设方法及过程
- Altium designer除了GND以外的Nets自动布线
- 396.旋转函数
- Advantages and disadvantages of keyword exact matching
- 腾讯云堡垒机开启OTP认证
- MySQL operator explanation and regular expression query
- Zero negative comment on the reputation of Jihu products BAIC Blue Valley has captured the hearts of users with high-end hard core strength
- 7个月,158家单位参编,《2021网信自主创新调研报告》来了
- Crystal Chem β-乳球蛋白 ELISA 试剂盒 II说明书
猜你喜欢

4.21 summary
![[binary number] same tree](/img/5d/48bf7a987eeb45d0a1cbf836e3b1e7.png)
[binary number] same tree

This API hub is powerful. It contains open APIs such as nailing enterprise wechat, and can be debugged directly!

太卷了~(2022版)大厂面经 + 详细笔记帮你搞定面试

Altium designer generates PCB production files and proofing process (taking jialichuang mall as an example)

SQL statement - multi table joint query

7个月,158家单位参编,《2021网信自主创新调研报告》来了

华为交换机配置

Performance evaluation of rust asynchronous framework

思科交换机配置
随机推荐
sql語句———多錶聯查
做短视频自媒体挣不到Q?教你6招
短信平台API接口demo示例-Node/SMS/Send
Servlet 的使用与对应的九个内置对象
基于移动目标防御(MTD)的终端安全解决方案
【洛谷】P1157 组合的输出(dfs)
Radio button selected
JUC(三)ThreadLocal
以前用淘宝助理备份的文件内的商品,全部重新上架到淘宝店铺
Grafana series (IX): introduction to Loki, an open source cloud native logging solution
Talk about data subcontracting and related tips
Construction method and process of enterprise level knowledge management (km)
npm的使用
Introduce file path problem-$_ Server ['document_root'] represents the root directory of the website
比JC-1荧光染料灵敏10倍的线粒体膜电位检测试剂盒
4.21 summary
sql语句———多表联查
基于jedis的redis操作工具类
It's too voluminous ~ (2022 version) large factory face experience + detailed notes to help you finish the interview
这个API Hub厉害了,收录了钉钉企业微信等开放Api,还能直接调试 !