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. kubernetes 配置网络插件 flannel

    概述 在学习docker时知道docker有四种常用的网络模型 bridge:桥接式网络 joined:联盟式网络,共享使用另外一个容器的网络名称空间 opened:容器直接共享使用宿主机的网络名称空 ...

  2. kali linux 虚拟机克隆之后版本回退问题

    今天在做虚拟机的克隆的之后发现 之前kali linux 系统内核升级后的更改全部又回退到之前的版本,也就是说之前安装的软件被删除了,现在需要自己重新安装一遍  ,(我滴个乖乖哟) 这里就不放图了.

  3. Python入门篇-封装与解构和高级数据类型集合(set)和字典(dict)

    Python入门篇-封装与解构和高级数据类型集合(set)和字典(dict) 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 一.封装和结构 #!/usr/bin/env pytho ...

  4. dict排序

    根据dict值排序 c = {1:10,2:9,3:8} c = sorted(c.items(), key=lambda d: d[1], reverse=1) reverse=1 从大到小排列 起 ...

  5. mysql 数据库的时间与字符串转换

    .当前日期.时间 now() 获取 当前日期和时间 :: curdate() 当前日期, curtime() 当前时间 :: current_time() : //同curtime(),current ...

  6. postgresql —— 表的继承

    示例: CREATE TABLE cities ( --父表 name text, population float, altitude int ); CREATE TABLE capitals ( ...

  7. RANSEC算法

    移步:https://blog.csdn.net/u010128736/article/details/53422070 clc;clear;close all; %%%二维直线拟合 %%%生成随机数 ...

  8. 在idea中调试spark程序-配置windows上的 spark local模式

    spark程序大致有如下运行模式: standalone模式:spark自带的模式 spark on yarn:利用hadoop yarn来做集群的资源管理 local模式:主要在测试的时候使用, 这 ...

  9. YAML_02 playbook的ping脚本检测

    ansible]# vim ping.yml --- - hosts: all   remote_user: root   tasks:      - ping: ansible]# ansible- ...

  10. W3C统一验证工具和PR值

    W3C统一验证工具(http://validator.w3.org/)用于分析代码. PR值全称为PageRank(网页级别),PR值是Google用于标识网页的等级.重要性.网站的好坏的重要标准之一 ...