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.10.2.tar.gz (68.3 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.10.2-py3-none-any.whl (79.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for screenz-1.10.2.tar.gz
Algorithm Hash digest
SHA256 776e0cb6e35c43c299b71bec4b327eacbe14e6190c631e74d5cd072f215439f3
MD5 acdca40f9001d7348bdbd9fa66383dcf
BLAKE2b-256 f9051244793b500941e73d51baf38decd95f681a974ea1a474869dea2abfa495

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for screenz-1.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a7430d83752e8da3131e129e7a07316656c1f6f117a204328f9ecd84eb50b2cf
MD5 631979b87320a70b819d6901d7f7b13b
BLAKE2b-256 c7c5312253c24dd0de8eb6b29d2b4fc43c526fb1d60f2f09bc63a2f4d0da5c49

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