Skip to main content

ScreenZ

Project description

ScreenZ

Installation

Package

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.

Precompiled

Precompiled binaries for Windows are available in the repository releases.

Those do not require Python or FFmpeg to be present. Simply extract and run.

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 Images 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.13.0.tar.gz (74.5 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.13.0-py3-none-any.whl (87.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: screenz-1.13.0.tar.gz
  • Upload date:
  • Size: 74.5 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.13.0.tar.gz
Algorithm Hash digest
SHA256 544998046997d485e1478be2d5cc7ab6bee84d1ce5b163e36ccee70bc21657c3
MD5 1d4a47794ddd866a1f07bb54f1fa0c80
BLAKE2b-256 280bad283d804167e2a3ec4ec7a8ddc71626aa845d8f4cea7b0d1d422bb97966

See more details on using hashes here.

File details

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

File metadata

  • Download URL: screenz-1.13.0-py3-none-any.whl
  • Upload date:
  • Size: 87.2 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.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38c53cfc655733fda2b5bd3f932cb057cdd7ae6edc40305da9e8ad27152bc38c
MD5 b07ce5e08db88a31e340638af880e0b7
BLAKE2b-256 5b8d63accbc70793a8cdda3c0430292e23e7f8518a7c30851686b1ef1e706faa

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