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 硬解码相关的更多相关文章

  1. MediaCodec在Android视频硬解码组件的应用

    https://yq.aliyun.com/articles/632892 云栖社区> 博客列表> 正文 MediaCodec在Android视频硬解码组件的应用   cheenc 201 ...

  2. vlc源码分析(六) 调用OpenMAX硬解码H.265

    H.265(HEVC)编码格式能够在得到相同编码质量视频的前提下,使用相当于H.264(AVC)一半的存储容量,虽然H.265的算法复杂度比H.264高一个数量级,但是硬件水平在不断提高,因此H.26 ...

  3. EasyPlayerPro安卓流媒体播放器实现Android H.265硬解码流程

    本文转自EasyDarwin团队成员John的博客:http://blog.csdn.net/jyt0551/article/details/74502627 H.265编码算法作为新一代视频编码标准 ...

  4. 【Android 直播软件开发:音视频硬解码篇】

    开篇 炙手可热,望而生畏的音视频开发 时至今日,短视频App可谓是如日中天,一片兴兴向荣.随着短视频的兴起,音视频开发也越来越受到重视,但是由于音视频开发涉及知识面比较广,入门门槛相对较高,让许许多多 ...

  5. 查看Android支持的硬解码信息

    通过/system/etc/media_codecs.xml可以确定当前设备支持哪些硬解码.通过/system/etc/media_profiles.xml可以知道设备支持的具体profile和lev ...

  6. 【GPU编解码】GPU硬解码---DXVA

    前面介绍利用NVIDIA公司提供的CUVID库进行视频硬解码,下面将介绍利用DXVA进行硬解码. 一.DXVA介绍 DXVA是微软公司专门定制的视频加速规范,是一种接口规范.DXVA规范制定硬件加速解 ...

  7. 【GPU编解码】GPU硬解码---CUVID

    问题描述:项目中,需要对高清监控视频分析处理,经测试,其解码过程所占CPU资源较多,导致整个系统处理效率不高,解码成为系统的瓶颈. 解决思路: 利用GPU解码高清视频,降低解码所占用CPU资源,加速解 ...

  8. Android 用MediaCodec实现视频硬解码

    http://blog.csdn.net/halleyzhang3/article/details/11473961 http://www.360doc.com/content/14/0119/10/ ...

  9. 【GPU编解码】GPU硬解码---DXVA (转)

    前面介绍利用NVIDIA公司提供的CUVID库进行视频硬解码,下面将介绍利用DXVA进行硬解码. 一.DXVA介绍 DXVA是微软公司专门定制的视频加速规范,是一种接口规范.DXVA规范制定硬件加速解 ...

随机推荐

  1. 修改Mysql 字符集,支持Emoji表情

    插入失败 java.sql.SQLException: Incorrect string value: '\xF0\x9F\x92\x94' for column 'name' at row 1 at ...

  2. WampServer详解

    php能做什么,它是运行在服务器端的,web网站大部分数据都是存储在服务器上的,PHP就是用来处理这些存储在服务器的数据.跨平台,服务器可以是多种平台上的服务器,脚本语言,免费. wampserver ...

  3. SHELL脚本编程的条件测试

    SHELL脚本编程的条件测试 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 一.条件测试概述 判断某需求是否满足,需要由测试机制来实现 专用的测试表达式需要由测试命令辅助完成测试过 ...

  4. pandas速查手册(中文版)

    本文翻译自文章:Pandas Cheat Sheet - Python for Data Science 对于数据科学家,无论是数据分析还是数据挖掘来说,Pandas是一个非常重要的Python包.它 ...

  5. window下关闭占用端口使用

    怎么在window下关闭端口! 1:查看特定端口被占用情况 命令:   netstat -ano 和 netstat -ano|findstr 端口号 netstat -ano:查看电脑所有端口被占用 ...

  6. K-means: optimization objective(最小化cost function来求相应的参数)

    类似于linear regression,K-means算法也optimization objective或者是试图使cost function求最小值. 了解K-means算法的optimizati ...

  7. maven基础整理

    转载:https://www.cnblogs.com/hzg110/p/6936101.html maven官网:http://maven.apache.org/index.html 一.为什么使用M ...

  8. 180908 python 字符串内建函数

    Python 的字符串内建函数 Python 的字符串常用内建函数如下: 序号 方法及描述 1 capitalize()将字符串的第一个字符转换为大写 2 center(width, fillchar ...

  9. NIO原理详解

    版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明.本文链接:https://blog.csdn.net/CharJay_Lin/article/d ...

  10. vs 在高分屏下开发 winform 配置

    一.窗体控件大小 第一种方法:使用网格避免整除误差 在选项中将Windows窗体设计器的LayoutMode(布局模式)改成SnapToGrid(对齐到网格),并将Default Grid Cell ...