Skip to main content

OpenBBQ mascot

OpenBBQ

Website · Documentation · 中文说明

OpenBBQ turns a video URL or local file into an editable bilingual subtitle draft and a burned video through one AI-agent prompt.

OpenBBQ provides a default agent init/next/apply/finish facade so different agents can turn one simple prompt into an editable bilingual subtitle draft. The default workflow aims for a reliable 70–80 point first pass: useful without manual setup, but intentionally not presented as a professionally reviewed final subtitle.

OpenBBQ keeps structural correctness, bounded translation batches, artifact freshness, and one-time export/burn deterministic. The agent handles translation and may correct an obvious ASR occurrence or learn a reusable glossary term while translating. Low-confidence words, reading-speed budgets, and glossary consistency are advisory, not mandatory review queues.

An explicit --glossary always wins. Otherwise, once a URL fetch identifies the author, OpenBBQ binds a stable author-and-target glossary automatically. Canonical terms learned in the task overlay are published conflict-safely after delivery (ASR-misspelling aliases stay with the task) and reused by later videos from the same author in that target language—without asking the model to choose a glossary.

For professional work, open the same workspace with openbbq review or import the exported ASS into Aegisub or an editor. Human edits are authoritative and the automatic workflow does not overwrite them. Fine-grained ASR, glossary, translation, export, and burn commands remain available as expert tools.

Why OpenBBQ?

In Chinese fansub and creator communities, the process of translating and subtitling foreign-language videos is often called "barbecue". Raw untranslated material is "raw meat"; the translated, subtitled result is "cooked meat".

OpenBBQ is an open-source, agent-native workflow for turning raw video into editable bilingual subtitles and burned output.

Requirements

  • Python 3.12 or newer
  • uv, used to install the openbbq command and manage Python dependencies
  • ffmpeg, used for video download, audio/video merging, audio extraction, and video burning; subtitle burning also needs FFmpeg with libass support
  • An ASR backend. OpenBBQ currently supports whisper.cpp through its Python binding
  • An ASR model. Models are not downloaded with the package. After installation, run openbbq models list, then explicitly run openbbq models pull ...
  • The Silero VAD model used to detect speech regions before transcription. Download it with openbbq models pull-vad silero-v6.2.0
  • A local desktop browser if the video platform requires login, human verification, or a browser challenge

Install

Agent Install

Read the [install guide](https://openbbq.acane.dev/install-agent.md) and help me install [OpenBBQ](https://github.com/ACAne0320/OpenBBQ).

Manual Install

uv tool install 'openbbq[whispercpp]'
openbbq doctor
openbbq models list
openbbq models pull large-v3-turbo
openbbq models pull-vad silero-v6.2.0
openbbq doctor

Quickstart

After installing OpenBBQ and its agent skill, give the agent one simple prompt:

Make this video into a bilingual Chinese-English subtitled video: https://www.youtube.com/watch?v=...

The agent should run the complete workflow and return the editable ASS plus the hard-subtitled video. You do not need to describe ASR, batching, glossary maintenance, export, or burning in the prompt.

The underlying agent entry point is:

openbbq --json agent init '<video-or-url>' --workspace workspaces/demo --to zh [--glossary <name>]
openbbq --json agent next --workspace workspaces/demo

Continue following agent next until it returns done. A normal task has only mechanical commands, translation batches of at most 20 cues, one finish, and no default visual QA.

For local files, YouTube login, professional review, ASS presets, outputs, and command details, see the Usage Guide.

For agent setup and the packaged OpenBBQ skill, see the Agent Install Guide and the OpenBBQ Skill.

Roadmap

  • Demo video
  • Detailed documentation site
  • Windows and Linux support
  • More ASR backends
  • More video-platform authentication support
  • Agent-led discovery of videos worth translating
  • Reproducible target-language translation briefs
  • Visual translation review for manual translators
  • More subtitle editing and publishing workflows

License

Apache-2.0. See LICENSE.

Metadata

Release files for openbbq 0.0.16

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

Source distribution (sdist)

Source distribution for openbbq 0.0.16
File Size Uploaded
openbbq-0.0.16.tar.gz 576.5 kB Details

Built distribution (wheel)

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

Total release size: 1.2 MB

Release files / openbbq-0.0.16.tar.gz

Download URL openbbq-0.0.16.tar.gz
Size 576.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0ff178de3a908f1fd00a481b3faad8b8139cf2d400fc7d1bda6df4375dfc8186
BLAKE2b-256 checksum
How to use checksums
81282cb50e60040f7b9dcd4022e2c687efbed9763241889d35b96ae19a1b48e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / openbbq-0.0.16-py3-none-any.whl

Download URL openbbq-0.0.16-py3-none-any.whl
Size 594.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5118e0425fafa311bc05f6c1ac3efc1af4a8096d314596864b739be34be827d
BLAKE2b-256 checksum
How to use checksums
8641800ae4f8251d57d48e6805d5ddcf0e85d4a84813c914f543e07640ddef2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.0.17

2 release files

This release

0.0.16 This release

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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