Git Product home page Git Product logo

machybris_examples's Introduction

machybris_examples - (C) by mac-l1

examples of how to use machybris in your code - for sharing and study purposes; these include demo's for androids EGL/GLES and rockchips VPU support in linux

if you like this, please donate

install

sudo apt-get install curl
curl -O http://mac-l1.com/install_machybris.sh; bash install_machybris.sh
git clone https://github.com/mac-l1/machybris_examples.git
cd machybris_examples
./make_all.sh

examples

  • test_vpu:
    simple encoder / decoder example for raw video bitstreams (eg h264, ...) to/from vpu frames (nv21) using vpu; with decode every x-th nv21 frame is converted to tga image file that you can display with eog; use gstreamer, ffmpeg or avconv to decode/ encode raw streams (eg .mov or h264 movie file to h264 video bit stream)

  • test_hwcomposer:
    original test_hwcomposer of libhybris that shows 'the swirl'; use "cd test_hwcomposer; ./test_hwc" to run

  • arm-examples: rotozoom and framebufferobject
    ported RotoZoom and FrameBufferObject EGL/GLES examples from ARM that shows a rotating image (use "cd arm-examples; ./roto.sh" to run) and a rotating cube (use "cd arm-examples; ./fbo.sh" to run) to demo some GLES magic

  • recorder: h264recorder
    my h264recorder that captures the 1920x1020 framebuffer/screen into a raw h264 bytestream movie using rockchips vpu and rkon2 libs; use "cd recorder; ./screenrecord_h264.sh mymovie.mp4" to run; i used this to record my youtube demo

  • player: h264player and h265player
    my h264player that plays h264 movies (only 1920x1080 format is hard-coded!) to either simple framebuffer/screen or using EGL/GLES for some rotating magic with the movie frames; it uses rockchips vpu and rkon2 libs and androids EGL/GLES lib; use "cd player; ./play_h264.sh [fd|roto|fbo] sintel_trailer-1080p.mp4" to play; i used this in my youtube demos. also added a h265player that plays hevc/h265 movies (only 1920x1080 is supported!); use "cd player; ./play_h265.sh [fd|roto|fbo] bbb_1080p_c.ts" to play

cheers! -- mac-l1

and again, if you like this, please donate

machybris_examples's People

Contributors

mac-l1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

machybris_examples's Issues

running on Android

hi mac,
I read most of you threads about hw decoder of rk3288 on freaktab and t-firefly, I have two question:

  1. Can I use your https://github.com/mac-l1/machybris_examples on Android to test H264 decoding?
  2. I see all your threads is about linux, Is it possible to use your source to test on Android?
    Thanks

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.