Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

badge.video

Declared in BadgeOS/modules/sg2k/video.nix.

badge.video.enable

Whether to enable the video boot specialisation: H.264 clips on HDMI via the vendor VDEC/VO path, advanced with the USER button.

Type: boolean

Default:

config.hardware.sg2k.hdmi.enable

Example:

true

Declared by:

badge.video.directory

Folder scanned for H.264 Annex-B elementary streams (*.264 / *.h264), played in sorted order. Convert with, e.g.: ffmpeg -i in.mp4 -an -c:v libx264 -bsf:v h264_mp4toannexb -f h264 out.264

Type: string

Default:

"/var/lib/nix-badge-video"

Declared by:

badge.video.fps

Rate, in frames/sec, at which clips are fed to the decoder.

Type: signed integer

Default:

60

Declared by:

badge.video.longPressMs

USER-button hold, in milliseconds, at or above which a press counts as “previous” instead of “next”.

Type: signed integer

Default:

600

Declared by: