当前位置:网站首页>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 .
边栏推荐
- function/symbol ‘pango_context_set_round_glyph_positions‘ not found in library ‘libpango-1.0.so.0‘x
- At5147-[agc036d]negative cycle [DP, model conversion]
- Today's sleep quality record 79 points
- Unity dropdown (editable, inputable) drop-down selection box with Text Association
- Docker安装MySQL
- Download of common getshell tools
- SPI服务发现机制
- Dream CMS foreground search SQL injection
- Conversion of unity3d model center point (source code)
- The concept of data guard broker and the configuration process of data guard broker
猜你喜欢
![[multithreading] detailed explanation of JUC (callable interface, renntrantlock, semaphore, countdownlatch), thread safe set interview questions](/img/3a/b0bdf66e11e66234a222d977fd933c.png)
[multithreading] detailed explanation of JUC (callable interface, renntrantlock, semaphore, countdownlatch), thread safe set interview questions

jconsole线程面板中的阻塞总数和等待总数(转)

LeetCode 745. Prefix and suffix search

传输层 -------- TCP(一)

Deep learning for generic object detection: a survey

Unity高版本退回低版本报错问题

Sword finger offer II 041 Average value of sliding window

Synchronized lock upgrade

Leetcode 1304. N different integers with zero and

Getting started with web security - deploy snort open source ids/ips system
随机推荐
03-2、
Unity高版本退回低版本报错问题
Qt--优秀开源项目
Huawei machine test: Message decompression
Mysql索引的类型(单列索引、组合索引 btree索引 聚簇索引等)
Basic operation of tree
STC8H开发(十四): I2C驱动RX8025T高精度实时时钟芯片
Cmake common commands (V)
TCP拥塞控制详解 | 7. 超越TCP
Deep Learning for Generic Object Detection: A Survey-论文阅读笔记
A curated list of awesome Qt and QML
Chapter 1 of creating virtual machine (vmvare virtual machine)
466-82(3、146、215)
LeetCode 558. Intersection of quadtree
Performance optimization @contented to reduce pseudo sharing
Download of common getshell tools
《MySQL DBA封神打怪之路》专栏学习大纲
Accident caused by the combination of annotation transaction + distributed lock at the read committed level -- disorder of activity purchase opportunities
JVM hook hooks function
Detailed explanation of Euler angle, axis angle, quaternion and rotation matrix