Skip to main content

ScreenZ

Project description

ScreenZ

Installation

Requires Python 3.13 and FFmpeg.

Install using pip install --user screenz.

Make sure PATH is properly set. In particular, ffmpeg and ffprobe must be in the PATH for the tool to function.

Usage

Generate screens for a single video:

screenz video.mp4 output.jpg

Generate screens for all videos:

screenz --type recursive Videos Screens

Generate a collage of all videos:

screenz --type videos Videos Collage

Generate a collage from all images:

screenz --type images Videos Collage

Generate an histogram of video length distributions:

screenz --type histogram Videos histogram.png

Advanced

Colors can be configured using the --background, --foreground and --accent options. They take colors in the #rrggbb format, or any color name supported by Pillow.

The background can also be a tiled image instead of a solid color by by prefixing the image path with image: as a value to the --background option.

Font can be changed using the --font option. It takes the name of a built-in font, or the path to a .ttf or .otf file. In this case, the --font-size is used to specify the pixel size.

The built-in fonts are: 6x12b, 6x12n, 8x14b, 8x14n, 8x16b, 8x16n, 10x18b, 10x18n, 10x20b, 10x20n, 11x22b, 11x22n, 12x24b, 12x24n, 14x28b, 14x28n, 16x32b and 16x32n.

The number of cells is controlled with --count, and their size with --size. Cells may be bigger or smaller than the requested size to account for aspect ratio, depending on the value of the --scale option. The defaults are adjusted to be compliant with the upload rules on a specific site.

Reference

Use screenz --help to see the full documentation on options.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

screenz-1.12.0.tar.gz (72.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

screenz-1.12.0-py3-none-any.whl (85.5 kB view details)

Uploaded Python 3

File details

Details for the file screenz-1.12.0.tar.gz.

File metadata

  • Download URL: screenz-1.12.0.tar.gz
  • Upload date:
  • Size: 72.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.3 Linux/6.12.28-1-lts

File hashes

Hashes for screenz-1.12.0.tar.gz
Algorithm Hash digest
SHA256 d2335f20eaed693b55691dca71ec74a569b8bf56c201b8645148193f3f2aafc8
MD5 c508a85b2ec3816f774ba36cc1844004
BLAKE2b-256 ddc4d76a3bd62d7625c8e6a6e5382bacba6d439921a1c0b90ea1f6ca92dccf9b

See more details on using hashes here.

File details

Details for the file screenz-1.12.0-py3-none-any.whl.

File metadata

  • Download URL: screenz-1.12.0-py3-none-any.whl
  • Upload date:
  • Size: 85.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.3 Linux/6.12.28-1-lts

File hashes

Hashes for screenz-1.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 138e8cb2c80348cd367091289406d7f81bfb1068e54a6d3676751686bdcce679
MD5 c35a503f0e96746a91c2c11479c116b7
BLAKE2b-256 d631482e457846e716afc3fcf8977962991ba3167433dedd84d97e06dcba6139

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page