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.11.0.tar.gz (69.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.11.0-py3-none-any.whl (81.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: screenz-1.11.0.tar.gz
  • Upload date:
  • Size: 69.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.11.0.tar.gz
Algorithm Hash digest
SHA256 b0a0fdf82a11d224271b7f6713a6c060e202f9bf1149411b010b0e985d20ac2c
MD5 749355cd62f39b5e92cc63fe67bb1752
BLAKE2b-256 4f459fbbe8efbbf8d64bff58fff5026b20c5006082a9e3f1402d68249f1a1261

See more details on using hashes here.

File details

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

File metadata

  • Download URL: screenz-1.11.0-py3-none-any.whl
  • Upload date:
  • Size: 81.1 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.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80f45eb189efd56f9921a9db405dd349455d8e8ef3286e52f265ec4f24034ba5
MD5 f9f937ad5daef7605a97010465b3a540
BLAKE2b-256 91b5a65d51a82d3d0bdea9d1cf1bdb2646554bdb99ed55692b6a824e24bacf36

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