rockchip 硬解码相关
http://opensource.rock-chips.com/wiki_Mpp
MPP
You can get mpp source from git.
git clone -b release https://github.com/rockchip-linux/mpp.git
cmake -DRKPLATFORM=ON -DHAVE_DRM=ON && make
Gstreamer
We offer the Gstreamer Rockchip, it is a standard Gstreamer plugin for the hardware decoder and encoder at Rockchip platform. I would suggest all the user in the Linux don't develop the MPP directly unless you know what you are doing. Choose Gstreamer rocckchip in you convenience.
Source:
git clone https://github.com/rockchip-linux/gstreamer-rockchip.git
Build:
./autogen.sh --disable-rkximage && make
出现错误:
[toybrick@localhost gstreamer-rockchip]$ ./autogen.sh --disable-rkximage && make
+ passing argument --disable-rkximage to configure
+ options passed to configure: --disable-rkximage
+ check for build tools
checking for autoreconf ...
/usr/bin/autoreconf
checking for pkg-config ...
/usr/bin/pkg-config
Can't exec "autopoint": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345.
autoreconf: failed to run autopoint: No such file or directory
autoreconf: autopoint is needed because this package uses Gettext
解决方法:
yum install -y gettext-devel
出现错误:
gst/rockchipmpp/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
gst/rockchipmpp/Makefile.am:1: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
gst/rockchipmpp/Makefile.am:1: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
gst/rockchipmpp/Makefile.am:1: If 'LT_INIT' is in 'configure.ac', make sure
gst/rockchipmpp/Makefile.am:1: its definition is in aclocal's search path.
gst/vpudec/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
gst/vpudec/Makefile.am:1: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
gst/vpudec/Makefile.am:1: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
gst/vpudec/Makefile.am:1: If 'LT_INIT' is in 'configure.ac', make sure
gst/vpudec/Makefile.am:1: its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1
解决方法:
sudo dnf install libtool
出现错误:
configure: Package 'gstreamer-1.0', required by 'virtual:world', not found
configure: error: no gstreamer-1.0 >= 1.12.0 (GStreamer) found
解决方法:
[toybrick@localhost gstreamer-rockchip]$ dnf search gstreamer1
Last metadata expiration check: 0:00:30 ago on Tue 13 Aug 2019 03:00:33 AM EDT.
==================================================================================================== Name Exactly Matched: gstreamer1 =====================================================================================================
gstreamer1.aarch64 : GStreamer streaming media framework runtime
=================================================================================================== Summary & Name Matched: gstreamer1 ====================================================================================================
mingw32-gstreamer1-plugins-good.noarch : Cross compiled GStreamer1 plug-ins good
mingw64-gstreamer1-plugins-good.noarch : Cross compiled GStreamer1 plug-ins good
gstreamer1-rtsp-server-devel.aarch64 : Development files for gstreamer1-rtsp-server
mingw32-gstreamer1-plugins-bad-free.noarch : Cross compiled GStreamer1 plug-ins "bad"
mingw64-gstreamer1-plugins-bad-free.noarch : Cross compiled GStreamer1 plug-ins "bad"
======================================================================================================== Name Matched: gstreamer1 =========================================================================================================
perl-GStreamer1.noarch : Bindings for GStreamer 1.x
gstreamer1-libav.aarch64 : GStreamer 1.0 libav-based plug-ins
gstreamer1-devel.aarch64 : Libraries/include files for GStreamer streaming media framework
gstreamer1-vaapi.aarch64 : GStreamer plugins to use VA API video acceleration
libnice-gstreamer1.aarch64 : GStreamer plugin for libnice
mingw32-gstreamer1.noarch : MinGW Windows Streaming-Media Framework Runtime
mingw64-gstreamer1.noarch : MinGW Windows Streaming-Media Framework Runtime
python2-gstreamer1.aarch64 : Python bindings for GStreamer
python3-gstreamer1.aarch64 : Python bindings for GStreamer
gstreamer1-devel-docs.noarch : Developer documentation for GStreamer streaming media framework
gstreamer1-plugins-fc.aarch64 : Future Composer input plugin for GStreamer 1.0.x
gstreamer1-rtsp-server.aarch64 : GStreamer RTSP server library
gstreamer1-plugins-base.aarch64 : GStreamer streaming media framework base plugins
gstreamer1-plugins-good.aarch64 : GStreamer plugins with good code and licensing
gstreamer1-plugins-ugly.aarch64 : GStreamer 1.0 streaming media framework "ugly" plug-ins
gstreamer1-plugins-entrans.aarch64 : GStreamer plug-ins from GEntrans
gstreamer1-plugins-bad-free.aarch64 : GStreamer streaming media framework "bad" plugins
gstreamer1-plugins-good-gtk.aarch64 : GStreamer "good" plugins gtk plugin
gstreamer1-vaapi-devel-docs.noarch : Developer documentation for GStreamer VA API video acceleration plugins
gstreamer1-libav-devel-docs.noarch : Development documentation for the libav GStreamer plug-in
gstreamer1-plugins-ugly-free.aarch64 : GStreamer streaming media framework "ugly" plugins
gstreamer1-plugins-base-devel.aarch64 : GStreamer Base Plugins Development files
gstreamer1-plugins-base-tools.aarch64 : Tools for GStreamer streaming media framework base plugins
gstreamer1-plugins-good-extras.aarch64 : Extra GStreamer plugins with good code and licensing
gstreamer1-plugins-entrans-docs.noarch : Documentation for GStreamer plug-ins from GEntrans
mingw32-gstreamer1-plugins-base.noarch : Cross compiled GStreamer media framework base plug-ins
mingw64-gstreamer1-plugins-base.noarch : Cross compiled GStreamer media framework base plug-ins
gstreamer1-plugins-bad-freeworld.aarch64 : GStreamer 1.0 streaming media framework "bad" plug-ins
gstreamer1-plugins-bad-free-devel.aarch64 : Development files for the GStreamer media framework "bad" plug-ins
gstreamer1-rtsp-server-devel-docs.noarch : Developer documentation for GStreamer-based RTSP server library
gstreamer1-plugins-bad-free-extras.aarch64 : Extra GStreamer "bad" plugins (less often used "bad" plugins)
gstreamer1-plugins-base-devel-docs.noarch : Developer documentation for GStreamer Base plugins library
gstreamer1-plugins-ugly-free-devel.aarch64 : Development files for the GStreamer media framework "ugly" plug-ins
gstreamer1-plugins-bad-free-wildmidi.aarch64 : GStreamer "bad" plugins wildmidi plugin
gstreamer1-plugins-bad-free-fluidsynth.aarch64 : GStreamer "bad" plugins fluidsynth plugin
dnf install gstreamer1-devel gstreamer1-plugins-base-devel
rockchip 硬解码相关的更多相关文章
- MediaCodec在Android视频硬解码组件的应用
https://yq.aliyun.com/articles/632892 云栖社区> 博客列表> 正文 MediaCodec在Android视频硬解码组件的应用 cheenc 201 ...
- vlc源码分析(六) 调用OpenMAX硬解码H.265
H.265(HEVC)编码格式能够在得到相同编码质量视频的前提下,使用相当于H.264(AVC)一半的存储容量,虽然H.265的算法复杂度比H.264高一个数量级,但是硬件水平在不断提高,因此H.26 ...
- EasyPlayerPro安卓流媒体播放器实现Android H.265硬解码流程
本文转自EasyDarwin团队成员John的博客:http://blog.csdn.net/jyt0551/article/details/74502627 H.265编码算法作为新一代视频编码标准 ...
- 【Android 直播软件开发:音视频硬解码篇】
开篇 炙手可热,望而生畏的音视频开发 时至今日,短视频App可谓是如日中天,一片兴兴向荣.随着短视频的兴起,音视频开发也越来越受到重视,但是由于音视频开发涉及知识面比较广,入门门槛相对较高,让许许多多 ...
- 查看Android支持的硬解码信息
通过/system/etc/media_codecs.xml可以确定当前设备支持哪些硬解码.通过/system/etc/media_profiles.xml可以知道设备支持的具体profile和lev ...
- 【GPU编解码】GPU硬解码---DXVA
前面介绍利用NVIDIA公司提供的CUVID库进行视频硬解码,下面将介绍利用DXVA进行硬解码. 一.DXVA介绍 DXVA是微软公司专门定制的视频加速规范,是一种接口规范.DXVA规范制定硬件加速解 ...
- 【GPU编解码】GPU硬解码---CUVID
问题描述:项目中,需要对高清监控视频分析处理,经测试,其解码过程所占CPU资源较多,导致整个系统处理效率不高,解码成为系统的瓶颈. 解决思路: 利用GPU解码高清视频,降低解码所占用CPU资源,加速解 ...
- Android 用MediaCodec实现视频硬解码
http://blog.csdn.net/halleyzhang3/article/details/11473961 http://www.360doc.com/content/14/0119/10/ ...
- 【GPU编解码】GPU硬解码---DXVA (转)
前面介绍利用NVIDIA公司提供的CUVID库进行视频硬解码,下面将介绍利用DXVA进行硬解码. 一.DXVA介绍 DXVA是微软公司专门定制的视频加速规范,是一种接口规范.DXVA规范制定硬件加速解 ...
随机推荐
- jenkins rpm卸载
rpm卸载 1.rpm -e jenkins rpm -ql jenkins 检查是否卸载成功 2.彻底删除残留文件:find / -iname jenkins | xargs -n 1000 rm ...
- pre-departure preparation-to chengdu or shenzhen
编辑本文 (一)思想要点 1.行动改变自己,做自己的救世主. 2.成为一个技术大拿. 3.当生活吊打了你,不用悲伤,尽快反击(力所能及的做事),不要停歇,因为不能再给生活喘息的机会. 4.遇到什么问题 ...
- Mysql中decode函数的几种用法
1.使用decode判断字符串是否一样 decode(value,if1,then1,if2,then2,if3,then3,...,else) 含义为 IF 条件=值1 THEN RETURN(va ...
- test20190826 NOIP2019 模拟赛
100+100+40=240.我觉得如果没做过第三题考场上却能想出来的都是神仙. 基因突变 [问题描述] 邪恶的 707 刚刚从白垩纪穿越回来,心中产生了一个念头:我要统治人类! 但是统治人类是很庞大 ...
- ajax同步与异步的区别
jquery中ajax方法有个属性async用于控制同步和异步,默认是true,即ajax请求默认是异步请求,有时项目中会用到AJAX同步.这个同步的意思是当JS代码加载到当前AJAX的时候会把页面里 ...
- Java - 框架之 Struts2
一. Package 标签 1. 标签属性:name : 包的名称,只有在一个项目中不重名即可.extends : 继承哪个包,默认为 struts-default.name ...
- 求序列A中每个数的左边比它小的数的个数(树状数组)
给定一个有N个正整数的序列A(N<=10^5,A[i]<=10^5),对序列中的每一个数,求出序列中它左边比它小的数的个数. 思路:树状数组的经典应用(裸题) #include <i ...
- 洛谷 P2296 寻找道路 题解
每日一题 day42 打卡 Analysis 首先,预处理,把每条边反向. 从终点开始bfs,标记从终点开始可以走到的点. 第二步,枚举每一个点,如果这个点没有被标记,则枚举它的每一条出边(反向后的) ...
- Oracle substr() 字符截取函数
1.substr函数格式 (俗称:字符截取函数) 格式1: substr(string string, int a, int b); 格式2:substr(string string, int a ...
- learning java Runtime 类 获取内存及处理器核数信息
var rt = Runtime.getRuntime(); System.*)); System.*)); System.*)); System.out.println(rt.availablePr ...