Skip to main content

A simple, optimized way to programmatically create video with python.

Project description

fmov

fmov logo

Pepy Total Downloads PyPI - Python Version GitHub Issues or Pull Requests PyPI - License

The fastest video-creation library in Python. Support for sound effects, PIL, and OpenCV image generation.

Documentation

Rough Benchmarks from this example

FPS Resolution Video Time Render Time
1 1920x1080 30s 0.25s
12 1920x1080 30s 1.74s
24 1920x1080 30s 4.08s
30 1920x1080 30s 4.99s
60 1920x1080 30s 9.64s
100 1920x1080 30s 16.02s
120 1920x1080 30s 19.09s

https://github.com/user-attachments/assets/1bbe2acc-e563-4fa4-bbf0-b0e6f04f0016

Here's an example use of fmov for automated chess analysis videos (trimmed to 1:30 to allow for embedding)

Installing

Install fmov via pip:

pip install fmov

Dependencies

Make sure to have ffmpeg installed on your system and executable from the terminal

sudo apt install ffmpeg     # Linux
brew install ffmpeg         # MacOS
choco install ffmpeg        # Windows

Downloading FFmpeg

[!NOTE] PIL will be installed automatically, if you would like to use OpenCV, install it manually

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

fmov-0.4.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

fmov-0.4.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file fmov-0.4.2.tar.gz.

File metadata

  • Download URL: fmov-0.4.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for fmov-0.4.2.tar.gz
Algorithm Hash digest
SHA256 577a19915c3682a6bd32cb441d3786159d33f9afc350bb5adf79c3427ffaa8d5
MD5 dac17b2d7c05eb716ff7c49980b946b7
BLAKE2b-256 4d7d5c6da80dbb4f33ae821f10af637c72aa2cc43445f7358a601b74fdb1f87f

See more details on using hashes here.

File details

Details for the file fmov-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: fmov-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for fmov-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a82b888b047c48a83abe1d5fa3c678449e37bbc28dc57a7b4882d45e49aed4a9
MD5 785b56dc64bbca9de66c00badbec532a
BLAKE2b-256 d92526f4e5aaa875be0850f2a594028956a5809d8a9f0d9058d1dfffbf042c63

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