Giter Club home page Giter Club logo

earlyapp's Introduction

Early App

Introduction

This software is a testing application that runs on Clear Linux to verify cold boot to audio, video and RVC (Reverse View Camera) functionalities on Intel platforms.

License

Early App is distributed under the MIT License. You may obtain a copy of the License at: https://opensource.org/licenses/MIT

Dependencies

  • CMake
  • Boost libraries
  • GStreamer
  • ALSA
  • Intel Media SDK

Program options

  • --help: Show usage.
  • -v [ --version ]: Print version number.
  • -c [ --camera-input ] <cam input> Camera input source selection. Only supported with use-gstreamer option.
  • -s [--splash-video] <file path>: Set splash video path.
  • -d [--cbc-device] <device path>: Set CBC device path.
  • --bootup-sound <file path>: Set bootup sound path.
  • --rvc-sound <file path>: Set RVC sound path.
  • -w [--width] <nubmer>: Set display width.
  • -h [--height] <number>: Set display height.
  • --gpio-number <number>: GPIO number for KPI measurements. Negative values will be ignored.
  • --gpio-sustain <number>: GPIO sustaining time in ms for KPI measurements.
  • --use-gstreamer : Use GStreamer for auido, camera and video.
  • --gstcamcmd <custom definition>: Custom GStreamer camera command. Only supported with use-gstreamer option.

Building

  1. Download sources.

  2. Build:

$ mkdir build&&cd build
$ cmake ..
$ make
  1. Run:
$ src/earlyapp [options]

Compilation options

  • USE_LOGOUTPUT : Enable detailed log output to standard out.
$ cmake -DUSE_LOGOUTPUT=ON ..
  • USE_DMESGLOG : Enable log output to dmesg.
$ cmake -DUSE_DMESGLOG=ON ..

Earlyapp in UEFI environment

  1. Service enablement for splash video:
$ sudo systemctl enable earlyapp_gst.target
  1. Using camera on runtime

    Pre-requisite: export XDG_RUNTIME_DIR, WAYLAND_DISPLAY and GST_PLUGIN_PATH

$ src/earlyapp --use-gstreamer --camera-input test 

To use earlyapp with CBC please refer to our Early App user guide.

earlyapp's People

Contributors

liujianjunhq avatar litcoder avatar hongzhanchen avatar jwang11 avatar padmaraoi avatar yinthong avatar clefrks avatar byang-intel avatar wayne0811 avatar ftang1 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.