FFMPerative

remyxaiMIT更新放缓

用自然语言对话就能自动生成 FFmpeg 命令完成视频剪辑、拼接和格式转换,省去手写复杂命令行的麻烦。

Chat to Compose Video

暂无版本207star14fork同步于 2026-11-07 07:33 UTC

怎么上手

由 README 提炼,执行前请确认
pip install ffmperative
硬件要求按 README 说明

README 未说明显存或 GPU 要求,仅要求 Python 3 与 ffmpeg;若使用其 LLaMA2 检查点则需自行准备模型环境。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

用自然语言聊天指令驱动 ffmpeg 完成视频剪辑的 LLM 助手

用自然语言对话就能自动生成 FFmpeg 命令完成视频剪辑、拼接和格式转换,省去手写复杂命令行的麻烦。

核心能力

  • 把自然语言指令翻译成 ffmpeg 命令执行剪辑
  • 支持变速、缩放、裁剪、翻转、倒放等基础操作
  • 支持语音转文字并合并 SRT 字幕到视频
  • 提供 compose 子命令按文本提示拼接多段素材
  • 可作为 Python 库直接调用 ffmp 函数

容易踩的坑

需先在系统里单独安装 ffmpeg 可执行文件;字幕合并等示例依赖已有的 srt 与视频文件路径;README 提到 LLaMA2 检查点需从 Hugging Face 另行获取。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    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 .
    

    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'")
    

    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