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规范制定硬件加速解 ...
随机推荐
- git 放弃merge 回到上一次commit
用git reset --hard 放弃正在合并中merge,返回上一次的commit
- @JsonIgnore注解
注解名称:@JsonIgnore 作用:在实体类向前台返回数据时用来忽略不想传递给前台的属性或接口. Eg:User实体中会有字段password字段,当返回用户信息给前台的时候,当然是不希望将pas ...
- mysql 压力测试工具sysbench
2.1 只读示例 ./bin/sysbench --test=/usr/share/sysbench/tests/include/oltp_legacy/oltp.lua --mysql-host=1 ...
- mysqldump 备份与恢复数据库
备份数据库 mysqldump -u root -plvtao test > /home/bak.sql 数据库还原,常用source 命令登陆 mysql -u root -p mysql&g ...
- 渗透之路基础 -- 跨站伪造请求CSRF
漏洞产生原因及原理 跨站请求伪造是指攻击者可以在第三方站点制造HTTP请求并以用户在目标站点的登录态发送到目标站点,而目标站点未校验请求来源使第三方成功伪造请求. XSS利用站点内的信任用户,而CSR ...
- STL用法之set
[C++::STL]之set的用法 c++ set求差集,并集,交集
- Linux 逻辑卷扩容
Linux 逻辑卷扩容 关键词:pv(物理卷).vg(卷组) .lv(逻辑卷) 今天在用linux过程中,根分区容量不够了,突然想起来好久没更新博客,就来说说逻辑卷扩容的问题吧. 1.扩容前的检查 记 ...
- LG4213 【模板】杜教筛(Sum)和 BZOJ4916 神犇和蒟蒻
P4213 [模板]杜教筛(Sum) 题目描述 给定一个正整数$N(N\le2^{31}-1)$ 求 $$ans_1=\sum_{i=1}^n\varphi(i)$$ $$ans_2=\sum_{i= ...
- 微信小程序 图片加载失败处理方法
微信小程序 官方文档对image 媒体组件加载失败 没有太多的解释,使用中出现了几个小问题,今天抽空记录一下 WXML: <image class="userinfo-avatar&q ...
- The Last Goodbye 电影《霍比特人3:五军之战》插曲
https://music.163.com/#/song?id=29755223 I saw the light fade from the sky我看到天空褪去色彩On the wind I hea ...