Skip to main content

msprites, media thumbnail sprites, multipule thumbnail spirtes

Requirements:

1. FFmpeg
2. ImageMagick Montage

Steps:

1. Extract images using ffmpeg. You can configure size of image and image rate per second(IPS)
2. Convert Image in spirtesheet of grid ROWSxCOLS
3. Create a webvtt file of spritesheet images

Recomanded Values for IPS: 1 0.50: 1 image every 2 seconds) 0.25: 1 image in every 4 second 0.20: 1 image in every 5 second 0.10: 1 image in every 10 second 0.05: 1 image in every 20 second

It uses temp folder for storage. for persistence storage move these different folder or location.

Installation pip install msprites

How to use:

import os
from msprites import Settings as SpriteSetting
from msprites import MontageSprites

SpriteSetting.load(ips=0.50)
sprite = MontageSprites.from_media(
    path="..SampleVideo_360x240_20mb.mp4",create_webvtt=True
)

print(sprite.dir.name)
for filename in os.listdir(sprite.dir.name):
    print(filename)

Metadata

Release files for msprites 1.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for msprites 1.0.8
File Size Uploaded Provenance Actions
msprites-1.0.8.tar.gz 4.0 kB Without provenance Details for msprites-1.0.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for msprites 1.0.8
File Interpreter ABI Platform Actions
msprites-1.0.8-py3-none-any.whl Python 3 none any Details for msprites-1.0.8-py3-none-any.whl

Total release size: 10.9 kB

Release files / msprites-1.0.8.tar.gz

Download URL msprites-1.0.8.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6f72ec4b8eb772df65552f7bae0bebe29b238a46a45e3444f1015694c629a7a6
BLAKE2b-256 checksum
How to use checksums
2bb62ecc6f37618bb49b7e6dbd40c8515ec30b1ce0287875b1a028aee95f0681
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.6

Release files / msprites-1.0.8-py3-none-any.whl

Download URL msprites-1.0.8-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8468eab9c39cfb5acbdbdd74bcd9ed68267ac653456699414075c42cfd88c79f
BLAKE2b-256 checksum
How to use checksums
9490d66b47a5442ca9c7be7c5ab58295a70725ec6befdc16699d7268d3d4ebd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.6

Security for msprites 1.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page