evovpeg is the media codec component of the evo framework. It probes and decodes media for Glass and encodes H.264/AAC output for Outcast. Glass's audible playback continues through MPD; Outcast owns its streaming destinations.
evovpeg is a component, not an application: the software that uses it fetches and verifies it, and nothing here is installed by hand. If you came for a download, read Which file is for what first.
Linux programs are statically linked with no shared-library dependencies. Windows programs use only Windows system DLLs. Android programs use the platform's Bionic runtime and no bundled third-party shared libraries:
| Program | Purpose |
|---|---|
bin/evovpeg (evovpeg.exe on Windows) |
Decode video/audio or encode H.264/AAC streams on stdout. |
bin/evovprobe (evovprobe.exe on Windows) |
Report selected audio/video stream properties. |
FFmpeg device capture/output modules and non-free components are disabled. Protocols are restricted to file, pipe, tcp, http, https and tls. HTTPS uses statically linked mbedTLS; H.264 encoding uses statically linked x264, making the resulting programs GPL-covered. The build, package and release checks verify the enabled component set and reject ELF interpreters and dynamic dependencies.
A release carries twelve files. A Glass player uses exactly one of them, and normally fetches it by itself:
| Release file | What it is for |
|---|---|
evovpeg-<version>-arm.tar.gz |
A Glass player on Volumio's arm image (Raspberry Pi, from the Pi 2 up). It holds the same build as the armv7 archive. |
evovpeg-<version>-armv7.tar.gz |
A Glass player on an armv7 image. |
evovpeg-<version>-armv8.tar.gz |
A Glass player on an armv8 (64-bit ARM) image. |
evovpeg-<version>-x64.tar.gz |
A Glass player on an x64 image. |
evovpeg-<version>-windows-x64.zip |
The Glass remote for Windows. It travels inside the remote's own zip and is not installed separately. |
evovpeg-<version>-android-armeabi-v7a.zip, -android-arm64-v8a.zip, -android-x86_64.zip |
The Glass remote for Android, one per ABI. They travel inside the remote's package and are not installed separately. |
evovpeg-sources-<version>.tar.xz |
The corresponding source of the builds, published for the licences. Not installable. |
manifest.json |
Which archive belongs to which target, with the path and SHA-256 of both programs in each. |
SHA256SUMS, SHA256SUMS.sig |
The SHA-256 of every file above and its Ed25519 signature. |
How it reaches a player:
- Normally, Glass's Manager fetches the archive for the player's architecture ("Fetch the decoder"), verifies it and keeps the two programs under the player's own folder. Nothing is downloaded by hand.
- A player that cannot reach GitHub (Glass 0.11.50 or later): download the one
tar.gznamed for the player's architecture on another machine and hand it, as downloaded and without unpacking, to the Manager's "Install from a file" on the System tab, with the switch there turned on. The Manager's Video tab names the exact file; on the player,grep VOLUMIO_ARCH /etc/os-releasegives the architecture. Glass verifies the archive by the signature it carries inside, with no network. - The Glass remotes for Windows and Android carry evovpeg inside their own packages.
There is no install by hand and no need for one: unpacking an archive and copying the programs onto a player is not how Glass takes it.
The software decode profile includes H.264, H.265/HEVC, H.266/VVC, MPEG-2, MPEG-4 Part 2, VP8, VP9 and AV1 video, plus AAC, AAC-LATM, AC-3, E-AC-3, DTS, TrueHD, MLP, MP3, MP2, Opus, Vorbis, FLAC, ALAC, WMA v2 and PCM audio. AV1 uses the statically linked dav1d library. Audio decoding produces PCM and does not replace MPD's playback path. Supported input containers and elementary streams are recorded in components/ffmpeg/configure.txt and checked against the built binary on every target.
ARM builds include upstream V4L2 M2M decoder registrations for H.264, HEVC, MPEG-2, MPEG-4 Part 2, VP8 and VP9 alongside the software decoders. These registrations require a compatible V4L2 M2M device and driver at runtime; the build does not claim hardware execution. x64 remains software-only. VAAPI and V4L2 request API decoders are not included.
Linux targets are armv7 (also released as arm), armv8 and x64. Windows provides x64 executables. Android targets the Glass app's armeabi-v7a, arm64-v8a and x86_64 ABIs at API 24. Android binaries use the system runtime; Glass currently does not enable its movie-decoding module on Android, so these binaries alone do not add movie playback to the app. MediaCodec acceleration is not enabled.
For local-only input, pass -protocol_whitelist file,pipe before each input. For HTTPS, pass -tls_verify 1 -ca_file CA_FILE before the input. Protocol whitelists constrain input access; they are not a process-wide network sandbox. The caller owns credentials, destinations and operating-system access restrictions.
Probe a file:
evovprobe -v error -select_streams v:0 \
-show_entries stream=codec_name,width,height,r_frame_rate -of csv=p=0 FILEDecode from a seek position to a back-pressured pipe:
evovpeg -nostdin -loglevel error -ss SECONDS -i FILE \
-an -sn -f rawvideo -pix_fmt yuv420p -Each frame is width * height * 3 / 2 bytes. Decoder errors end the output stream; the caller owns playback timing and presentation.
Decode the media's audio track separately for analysis or synchronization:
evovpeg -nostdin -loglevel error -ss SECONDS -i FILE \
-vn -sn -ac 1 -ar 8000 -f f32le -This writes mono 8 kHz float PCM to stdout. Glass drains the video and audio invocations independently; MPD remains responsible for audible playback.
Render a PNG, JPEG or WebP picture once at the output size:
evovpeg -nostdin -v error -i picture.png \
-vf 'scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,format=yuv420p' \
-frames:v 1 -f rawvideo picture.yuvEncode that frame repeatedly with stereo signed 16-bit PCM on stdin, producing H.264/AAC FLV on stdout:
evovpeg -nostdin -v error \
-f rawvideo -pix_fmt yuv420p -video_size 1280x720 -framerate 10 \
-stream_loop -1 -i picture.yuv -f s16le -ar 44100 -ac 2 -i pipe:0 \
-map 0:v:0 -map 1:a:0 -c:v libx264 -preset veryfast \
-tune stillimage,zerolatency -profile:v main -b:v 500k \
-maxrate 500k -bufsize 1000k -g 20 -keyint_min 20 -sc_threshold 0 \
-c:a aac -b:a 128k -ar 48000 -f flv -flush_packets 1 pipe:1Use 720x1280 and matching scale/pad dimensions for portrait output. Keep the GOP at twice the frame rate for two-second keyframe intervals. The zerolatency tune disables lookahead buffering; callers own pacing, bitrate, frame-rate and quality selection. Raw video and PCM can also arrive on separate pipe descriptors. Fragmented MP4 output uses -f mp4 -movflags +cmaf -frag_duration MICROSECONDS -flush_packets 1 pipe:1. RTMP transport and HLS/DASH delivery remain the caller's responsibility.
Each version is released as one archive per target: arm, armv7, armv8, x64, windows-x64, android-armeabi-v7a, android-arm64-v8a and android-x86_64. The arm archive is the armv7 build, following evopeg's existing architecture bundle. Linux archives are named evovpeg-<version>-<arch>.tar.gz; Windows and Android archives are .zip. Which file is for what says who takes which.
Releases include signed SHA256SUMS and a manifest.json mapping target names to archive names and recording each decoder/prober path and SHA-256 digest. evovpeg-sources-<version>.tar.xz contains the verified upstream sources and complete build recipe and is covered by the signed checksums. Consumers verify the selected archive and its internal manifest before use.
Every archive, tar.gz or zip, holds the same tree:
MANIFEST SHA-256 and path of every file below
MANIFEST.sig Ed25519 signature of MANIFEST
evovpeg-<version>-<arch>/
bin/evovpeg evovpeg.exe on Windows
bin/evovprobe evovprobe.exe on Windows
licenses/ NOTICE and the licence texts of everything in the programs
build.json the commit, the exact sources and each file's SHA-256
README.md this file
LICENSE the MIT licence of the recipe
This layout is a contract with Glass. Glass's "Install from a file" identifies an archive by its top folder (the component's name, the version and the architecture) and trusts it by MANIFEST.sig alone, with no network. The top folder's name, the two programs' paths, MANIFEST and MANIFEST.sig at the archive's root, the licences and build.json do not change without the change being raised with Glass first.
The signatures are made with the evo release key (Ed25519), the same key Glass's releases are signed with. Its public half is keys/release-signing.pub in this repository. With the archive, SHA256SUMS, SHA256SUMS.sig and that key in one folder (OpenSSL 3 or later):
openssl pkeyutl -verify -pubin -inkey release-signing.pub -rawin -in SHA256SUMS -sigfile SHA256SUMS.sig
sha256sum -c SHA256SUMS --ignore-missingThe first line answers Signature Verified Successfully; the second answers OK for every file that is there. An archive checks itself the same way, with no need of the sums (unzip in place of tar -xzf for a .zip):
tar -xzf evovpeg-<version>-<arch>.tar.gz
openssl pkeyutl -verify -pubin -inkey release-signing.pub -rawin -in MANIFEST -sigfile MANIFEST.sig
sha256sum -c MANIFESTDocker is required. Linux targets are built natively in Debian bookworm; Windows x64 is cross-built with MinGW-w64 and Android targets with the pinned Android NDK 27.2.12479018. The build container has network disabled. Source archives are pinned by URL and SHA-256 in components/ffmpeg/*.lock and fetched before the offline build.
scripts/check.sh # shell, lock, expected-set and workflow checks
./build.sh # all Linux, Windows and Android targets
./build.sh x64 # one target
./build.sh windows-x64
./build.sh android-arm64-v8aLinux builds verify architecture, static linkage, component lists, probe/decode, seek, audio output, encode and warning gates. Windows builds verify PE format and Windows-system-only DLL imports, then run the codec suite and HTTP/HTTPS/TLS/frame-parity checks on a native Windows runner. Android builds verify each ABI and platform-only dependencies; CI runs probe/decode parity on an Android x86_64 emulator. Android armv7 throughput remains to be measured before changing the generic byte-swap loop.
The recipe and packaging are MIT-licensed. The resulting programs are GPL version 3 or later. x264 is GPL 2-or-later, dav1d is BSD 2-Clause, mbedTLS is used under Apache-2.0, and zlib uses the Zlib license. licenses/NOTICE and the license files in every archive identify the included components and terms. Exact upstream source URLs and hashes are in components/ffmpeg/*.lock; build instructions and source patches are included in this repository. Non-free components are disabled.