In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how to use PX2 to hard decode H.264 naked code stream, which may not be well understood by many people. In order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
Rayeager PX2 development board has a very strong multimedia processing ability, if you need to call hardware acceleration to decode ordinary media files / code streams, you only need to call multimedia-related interfaces according to Android standards.
According to the special needs of some industry users, Rayeager PX2 actually opens the interface to decode the naked code stream such as H.264.
A code is provided here to decode the H.264 naked stream. If you have some experience in Android system development, you can quickly understand and rewrite it. How to use it:
Extract the code in the root directory of PX2's Android compilation environment, enter the ChipSPARK_PX2_H264_DECODER folder, and execute the following command to compile:
Mm-B
The executable file can be generated, and the path is: out/target/product/rkpx2/system/bin/vpu_apiDemo
Push the file to the PX2 development board via adb, and note that chmod 777 gives execution permission.
Perform decoding in adb shell with the following command:
. / vpu_apiDemo-I h364 bitstream file-coding 7
-coding 7 indicates that the file is H.264 encoded. In fact, the code can be modified to decode many other types of code streams and even encode them. The relevant decoding status can be seen through logcat.
After reading the above, do you have any further understanding of how to use PX2 to hard decode H.264 naked stream? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 202
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.