Skip to main content

FFMPerative - Chat to Compose Video


FFMPerative is your copilot for video editing workflows. Powered by Large Language Models (LLMs) through an intuitive chat interface, now you can compose video edits in natural language to do things like:

  • Change Speed, Resize, Crop, Flip, Reverse Video/GIF
  • Speech-to-Text Transcription and Closed-Captions

Just describe your changes like these examples.

Setup

Requirements

PyPI:

pip install ffmperative

Or pip install from source:

git clone https://github.com/remyxai/FFMPerative.git
cd FFMPerative && pip install .

ffmperative defaults to inference using the local model on CPU. To use the remotely hosted endpoint, set an environment variable with a huggingface token:

export HF_ACCESS_TOKEN=<your-token-here>

and use the optional --remote flag

Quickstart

Add closed-captions with:

ffmperative do --prompt "merge subtitles 'captions.srt' with video 'video.mp4' calling it 'video_caps.mp4'"

Features

Python Usage

Simply import the library and pass your command as a string to ffmp.

from ffmperative import ffmp

ffmp("sample the 5th frame from '/path/to/video.mp4'", remote=True)

Compose 🎞️

Use the compose call to compose clips into an edited video. Use the optional --prompt flag to guide the composition by text prompt.

ffmperative compose --clips /path/to/video/dir --output /path/to/my_video.mp4 --prompt "Edit the video for social media"

Resources

Community

Metadata

Release files for ffmperative 0.0.7.post1

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

Built distribution (wheel)

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

Release files / ffmperative-0.0.7.post1-py3-none-any.whl

Download URL ffmperative-0.0.7.post1-py3-none-any.whl
Size 17.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
467c815218503b8e43ec8e5a611a75d4853c3940c2207c1f043672be9ffdc36e
BLAKE2b-256 checksum
How to use checksums
48f63f51b8e85f5397dc57a68528c04015be12f48f7c15c9ac3e4b06fc9108da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Security for ffmperative 0.0.7.post1

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