Skip to main content

PyVideo Forge

PyVideo Forge is a Python CLI/library for practical video enhancement:

  • interpolates motion to 120 or 240 FPS;
  • removes consecutive duplicate frames before interpolation;
  • upscales and pads video to 4K (3840x2160) by default;
  • removes source metadata and chapters;
  • keeps audio when present;
  • optionally samples frames and asks an OpenAI-compatible vision model for a visual edit brief, including a requested replacement character.

It uses the ffmpeg and ffprobe binaries already available on many server environments. It does not pretend that FFmpeg alone can generate a new anime character into every frame: the analyze command produces a grounded plan for that separate generative-video stage.

Install

pip install pyvideo-forge

Enhance

pyvideo-forge enhance input.mp4 output-4k-240fps.mp4 \
  --fps 240 --width 3840 --height 2160

Use --fps 120 for a faster result. Duplicate frames and source metadata are removed by default.

Analyze with AI

The local probe works without AI. For visual understanding, configure an OpenAI-compatible endpoint and key in the environment, then run:

pyvideo-forge analyze input.mp4 \
  --character "Goku Ultra Instinct"

The package supports AI_INTEGRATIONS_OPENAI_BASE_URL and AI_INTEGRATIONS_OPENAI_API_KEY without printing or persisting their values.

Development

pip install -e ".[dev]"
python -m pytest
python -m build
python -m twine check dist/*

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyvideo_forge-0.1.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

pyvideo_forge-0.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file pyvideo_forge-0.1.0.tar.gz.

File metadata

  • Download URL: pyvideo_forge-0.1.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.11

File hashes

Hashes for pyvideo_forge-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2d8fb67ec864c4e4bf95bcb261e832bbad1988ba7cdbdc9fd9b60bde6ddd5e20
MD5 571ef7c55eca448b605eb6d249af67b0
BLAKE2b-256 4a1f3d6c9a419399d0107b04a4a3be927267579a4501467fffa0823da8e6940a

See more details on using hashes here.

File details

Details for the file pyvideo_forge-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyvideo_forge-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.11

File hashes

Hashes for pyvideo_forge-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89d083a0018b726731553b0627827314af629e2b09b6153d33ecaebd85d5b3e2
MD5 cc0edb256b70c9df00aa677b7d10959b
BLAKE2b-256 13910fe00914aed893865a716a1878e3d55b51d1796f3d75e6a862dd68c815cc

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page