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.
Early App is distributed under the MIT License. You may obtain a copy of the License at: https://opensource.org/licenses/MIT
- CMake
- Boost libraries
- GStreamer
- ALSA
- Intel Media SDK
- --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.
-
Download sources.
-
Build:
$ mkdir build&&cd build
$ cmake ..
$ make
- Run:
$ src/earlyapp [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 ..
- Service enablement for splash video:
$ sudo systemctl enable earlyapp_gst.target
-
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.