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.17

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.17
File Size Uploaded
openbbq-0.0.17.tar.gz 577.5 kB Details

Built distribution (wheel)

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

Total release size: 1.2 MB

Release files / openbbq-0.0.17.tar.gz

Download URL openbbq-0.0.17.tar.gz
Size 577.5 kB
Tags Source
SHA-256 checksum
How to use checksums
63c47ef92f81341ec25fd01146b1b1242537c44e34eb55a1e32bcd5506239bd9
BLAKE2b-256 checksum
How to use checksums
7ff108a05c39a43a2c4195bb4922abf726bdf292280d66e41072288bba2253d7
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.17-py3-none-any.whl

Download URL openbbq-0.0.17-py3-none-any.whl
Size 595.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b56881961919f3e12396a38c044218a4a9690105519e264469a0654a007492d5
BLAKE2b-256 checksum
How to use checksums
69670e80719da33163ffd7670697694f5004054b04bcba3aaee9ba0d674e5cdd
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

This release

0.0.17 This release

2 release files

0.0.16

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