vv

command module
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2026 License: MIT Imports: 46 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

vv

Small and simple video player, built on the iv library. Every decoder is pure Go.

Pictures of 8 to 16 bits in 4:2:0, 4:2:2 or 4:4:4 are shown with the stream's color matrix and range. Raw H.264 and HEVC Annex B streams are read from a file or from stdin (-).

Sound goes to PulseAudio, else ALSA (Linux), OSS (FreeBSD), Core Audio (macOS) and WASAPI (Windows). Without a sound device the video plays silently.

Installation

CGO_ENABLED=0 go install github.com/gen2brain/iv/cmd/vv@latest

Or download the latest binaries from the releases.

Keybindings

Pause

  • Space

Step one frame (pauses)

  • .

Seek 5 seconds back / forward

  • Left / Right

Seek 1 minute back / forward

  • Down / Up

Go to the start

  • Home

Toggle Fullscreen

  • f / F11

Quit

  • q / Escape

Usage

Usage: vv [<flags>] file|-
  --threads
    	Decoder threads, 0 is one less than GOMAXPROCS, 1 is serial [VV_THREADS]. (default "0")
  --fps
    	Frame rate of raw Annex B streams that do not signal one [VV_FPS]. (default "25")
  --matrix
    	Color matrix: auto (from the stream), 601, 709 or 2020 [VV_MATRIX]. (default "auto")
  --loop
    	Play in a loop [VV_LOOP]. (default "false")
  --fullscreen
    	Start in fullscreen [VV_FULLSCREEN]. (default "false")
  --noaudio
    	Play without sound [VV_NOAUDIO]. (default "false")
  --quiet
    	Do not print the playback status [VV_QUIET]. (default "false")
  --bench
    	Decode and convert as fast as possible, without display [VV_BENCH]. (default "false")

In a terminal, vv prints the position, frame rates, drops and the frame path once per second; --quiet turns it off. To use a config file, create file $XDG_CONFIG_HOME/vv/config, one flag per line (e.g. loop true).

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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