Giter Club home page Giter Club logo

rkmppenc's Introduction

rkmppenc

by rigaya

Build Linux Packages

日本語版はこちら>>

This software is meant to investigate performance and image quality of hw encoder on rockchip SoCs, which is used on SBCs such as Orange Pi, Nano Pi, and Radxa ROCK.

Example of 1080p transcoding using hw encoder and decoder in ROCK 5B (RK3588 SoC). rkmppenc_encode_sample

Downloads & update history

github releases

Install

Install instructions for Linux.

Build

Build instructions for Linux

System Requirements

Linux

Debian/Ubuntu It may be possible to run on other distributions (not tested).

Usage and options of rkmppenc

Option list and details of rkmppenc

Precautions for using rkmppenc

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.

Main usable functions

rkmppenc

  • Encoding using mpp
    • H.264/AVC
    • HEVC
  • Each encode mode of mpp
    • CQP (fixed quantization)
    • VBR (Variable bitrate)
    • CBR (Constant bitrate)
  • Supports hw decoding
    • H.264 / AVC
    • HEVC
    • MPEG2
    • VP9
    • AV1
  • Resize filter by 2d hw accerelator (via librga im2d API)
  • HW deinterlace filter (via mpp iep v2 API)
  • OpenCL filters
  • Supports various formats such as avs, vpy, y4m, and raw
  • Supports demux/muxing using libavformat
  • Supports decode using libavcodec

Using Radxa ROCK 5B HDMI In

Radxa ROCK 5B (RK3588) HDMI In uses v4l2 multi-planar API, and does not respond to some v4l2 API queries. Therefore, it cannot be captured by ffmpeg 6.0.

rkmppenc uses ffmpeg with modification to support v4l2 multi-planar API, and workarounds to avoid errors. For example, HDMI In can be captured by following command line.

rkmppenc --input-format v4l2 -i /dev/video0 \
  --input-option channel:0 --input-option ignore_input_error:1 --input-option ts:abs \
  --audio-source "hw:<n>:format=alsa/codec=aac;enc_prm=aac_coder=twoloop;bitrate=192" \
  -o out.ts

rkmppenc source code

About source code

Character code: UTF-8-BOM
Line feed: CRLF
Indent: blank x4

rkmppenc's People

Contributors

rigaya avatar tsukumijima avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.