Skip to main content

OpenBBQ

中文说明 · Usage Guide

OpenBBQ is a command-line tool for agent-driven video translation and subtitle production.

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, display 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. Terms learned in the task overlay are published conflict-safely after delivery 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 meant to be an open-source, open subtitle translation platform.

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 ...
  • A local desktop browser if the video platform requires login, human verification, or a browser challenge

Install

Agent Install

Read the [install guide](https://raw.githubusercontent.com/ACAne0320/OpenBBQ/main/docs/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 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.

Download files

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

Source Distribution

openbbq-0.0.11.tar.gz (509.8 kB view details)

Uploaded Source

Built Distribution

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

openbbq-0.0.11-py3-none-any.whl (535.6 kB view details)

Uploaded Python 3

File details

Details for the file openbbq-0.0.11.tar.gz.

File metadata

  • Download URL: openbbq-0.0.11.tar.gz
  • Upload date:
  • Size: 509.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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}

File hashes

Hashes for openbbq-0.0.11.tar.gz
Algorithm Hash digest
SHA256 1a257820338e87511fec073389a1f1487650693dde5541a27cb2ab32c6e1c297
MD5 dc866125735eea2f9087d823fc823671
BLAKE2b-256 5a52518d79081bb09fe512fc02e63bc89c74be334bb5d4e4f9b3b58a73ed53c1

See more details on using hashes here.

File details

Details for the file openbbq-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: openbbq-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 535.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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}

File hashes

Hashes for openbbq-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 53cff4aa08943e5ae8940fe0fb5dccf113beb52c47c83f8162b4cb3a1200390a
MD5 d600641eebd099885b17cd6f2af85779
BLAKE2b-256 36cb27d64a8e1d4fead8f86f11a34877b9fface2f5f02bd8818631c216a98bdb

See more details on using hashes here.

Supported by

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