vid

package
v1.0.260758 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package vid is a terminal-native video player: live frames decoded to half-block cells, not a GUI nest (that's the GUI-TUI Bridge's job). Decoding is always two ffmpeg subprocesses (video frames + the file's own audio track, decoded independently — see the package doc comment on internal/ffdecode for why one process per stream rather than a single multi-pipe invocation), never a linked decoder library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App is the Vid player.

func New

func New() *App

func (*App) Close

func (a *App) Close() error

func (*App) Draw

func (a *App) Draw(cv *uiapp.Canvas) error

func (*App) Handle

func (a *App) Handle(e uiapp.Event) error

func (*App) Init

func (a *App) Init(ctx *uiapp.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL