当前位置:网站首页>Developing those things: how to solve the problem of long-time encoding and decoding of RK chip video processing?
Developing those things: how to solve the problem of long-time encoding and decoding of RK chip video processing?
2022-07-19 11:34:00 【TSINGSEE】
Streaming video live includes the following steps : collection —> Handle —> Coding and encapsulation —> Push stream to server —> Server stream distribution —> Player streaming .
In the process of streaming media processing and coding , There will be two playback modes: hard decoding and soft decoding . The difference between the two is , Hard decoding is to use the special decoding chip on the hardware device to speed up decoding . Generally speaking , The decoding speed of hard decoding is relatively fast , But there is also another problem , That's compatibility . As hard decoding is implemented by various hardware manufacturers , Uneven quality , So it is easy to have compatibility problems .
Soft decoding uses CPU The computing power to decode , If CPU The ability is weak , Then the decoding speed will be slow , And the equipment will also produce heating and other phenomena , But because of the unified algorithm , So the compatibility is good . For the same platform , The same hardware environment , Hardware coding is faster than software coding ,CPU Lower occupancy , So under the condition of hardware coding , Try to use hardware coding .
When testing products, technicians found , stay RK Used in Ruixin micro mpp When hardware encoding and decoding , Will decode the yuv Data is copied through memory function memcpy, It takes a long time to copy , about 80-100ms , This will cause the decoded data speed to fall behind , It will affect the playback effect .
In this case , We also provide a solution . The process here is 264->yuv->jpeg, for fear of yuv Data copying takes time , The new interface input parameter is H.264 data , Frame frequency , A reference to jpeg data . because yuv Direct use of data mpp Of memory , This operation reduces memory movement , Therefore, the encoding and decoding time is greatly reduced , Meet business needs .
As a family, it originated from EasyDarwin Open source framework for technology-based enterprises , In the development process , We are also happy to communicate code technology with all technology development enthusiasts 、 Share development experience , To provide you with some small reference .
TSINGSEE Qingxi video focuses on the research and development of video streaming media technology , In terms of video capabilities and services , Continuous combination AI、 big data 、 Edge of computing 、 Internet of things and other emerging technologies , Enrich platform function modules , Reach the diversified needs of users . At present, we have launched diversified video platforms for the market , Such as EasyCVR、EasyGBS、EasyDSS、EasyNVR etc. , It can realize the access of multiple types of equipment 、 Multi protocol support 、 Multi format video stream output 、 Multi terminal platform compatibility . Interested users can go to the demonstration platform for experience or deployment testing .
边栏推荐
- SPI service discovery mechanism
- STC8H开发(十四): I2C驱动RX8025T高精度实时时钟芯片
- The case has been solved --- no matter how to change the code from the logic of MQ consumption, it will not take effect
- Cmake common commands (V)
- What happened to cinder in openstack-m
- 传输层 -------- TCP(一)
- What do you look at after climbing the wall? The most popular foreign website - website navigation over the wall
- From "passive" to "active", how can zeta technology help to upgrade "rfid2.0"?
- 开发那些事儿:如何解决RK芯片视频处理编解码耗时很长的问题?
- OA系统与MES系统的异同点
猜你喜欢
Un modèle de détection par défaut basé sur le réseau neuronal évolutif rapide dans le contrôle de la qualité des produits - lire les notes
Leetcode 1304. N different integers with zero and
Leetcode 1328. Destroy palindrome string (yes, solved)
【多线程】JUC详解 (Callable接口、RenntrantLock、Semaphore、CountDownLatch) 、线程安全集合类面试题
[multithreading] detailed explanation of JUC (callable interface, renntrantlock, semaphore, countdownlatch), thread safe set interview questions
Hot discussion: my husband is 34 years old this year and wants to read a doctoral degree. What should I do in the future to do scientific research?
LeetCode 558. Intersection of quadtree
synchronized锁升级
A fastandrobust volutionalneuralnetwork based defect detection model inproductqualitycontrol reading notes
SPI服务发现机制
随机推荐
传输层 -------- TCP(一)
LOJ 2324 - "Tsinghua training 2017" small y and binary tree
Codeforces - 587e (linear basis + segment tree + difference)
XSS.haozi.me刷题
Configure spectrum navigation for Huawei wireless devices
委派双亲之类加载器
Unity高版本退回低版本报错问题
【PostgreSQL 】PostgreSQL 15对distinct的优化
8. Fixed income investment
TCP拥塞控制详解 | 7. 超越TCP
TCP拥塞控制详解 | 7. 超越TCP
委派雙親之類加載器
《MySQL DBA封神打怪之路》专栏学习大纲
Mysql索引的类型(单列索引、组合索引 btree索引 聚簇索引等)
02-3、指针和引用的区别
Docker安装MySQL
PPDE第二季度迎新 | 欢迎22位AI开发者加入飞桨开发者技术专家计划!
synchronized锁升级
An error, uncaught typeerror: modalfactory is not a constructor
Unity Dropdown(可编辑,可输入)下拉选择框,带文本联想