ptmv

An utf-8/truecolor image and video viewer for the terminal

MIT License

Stars
40

Features

  • View images form any terminal
  • Watch videos from any terminal
  • Watch youtube videos from any terminal (-y, --youtube)
  • Play videos at any fps (--fps) with sound
  • Resize images / videos (--width, --height)
  • Easy to use

Requirements

  • A terminal that supports truecolor (list) and utf-8 (most terminals should support utf-8).

Usage

ptmv FILE [OPTIONS]
  • Required arguments

    • FILE

      File to display/play or youtube url

  • Optional arguments

    • -y. --youtube View youtube videos

    • --height Set height (setting both width and height will ignore original aspect ratio)

    • --width Set width (setting both width and height will ignore original aspect ratio)

    • --start-time

      Set start position for video.

    • -f, --fps Set fps (default 15 fps)

    • -m, --mute Mute audio

    • -h, --help Display help