Git Product home page Git Product logo

meta-marsboard-bsp's Introduction

This repo extends the FSL Community BSP with an additional Yocto layer to support the i.MX6 based MarS Board

It all started in 2014 with a .dts and defconfig by Hariharan Veerappan.

Full docs are in the wiki

Test Setup

Board connected via USB to a linux host using minicom. image-multimedia-full boots from the microSD card

Test Cases

Video Playback on HDMI

A 1080p clip is played (audio+video) on HDMI with sound and about 5% CPU load: gst-play-1.0 big_buck_bunny_1080p_h264.mov

You must first downlaod the clip from the internet, e.g. by typing wget https://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_1080p_h264.mov

Video Streaming Playback

gst-launch-1.0 uridecodebin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! imxipuvideotransform ! imxipuvideosink

Video Recording from USB Webcam

An UVC compliant webcam with motionJPEG output was used (Microsoft LifeCam Studio). The video stream is re-coded in H.264 and wrapped in a good old .avi container.

gst-launch-1.0 v4l2src device=/dev/video0 ! 'image/jpeg,width=640,height=480' ! imxvpudec ! imxipuvideotransform ! imxvpuenc_h264 ! avimux ! filesink location=cam.avi

The .avi file can be viewed using

gst-play-1.0 cam.avi

Qt

On the build host bitbake shell enter: bitbake image-multimedia-full-with-qt and install that image on the board.

On the board console enter: Qt5_CinematicExperience -platform eglfs and watch the demo on HDMI monitor.

More examples are installed in parallel folders.

GPU3D

OpenGL ES 2.0 (GLES2) is available for HW accelerated 3D rendering. As the images do not include a window manager, full screen rendering is supported based on EGL.

cd /opt/viv_samples/vdk/; ./tutorial3_es20

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.