Skip to main content

OpenBBQ

中文说明 · Usage Guide

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

OpenBBQ provides composable tools for video download, audio extraction, ASR transcription, segmentation, translation, review, subtitle export, and subtitle burning. It does not force one fixed pipeline. The goal is to let an agent choose the right workflow for each task.

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.

Quick Start

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

For Agent

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

Use

Human workflow:

openbbq init --workspace workspaces/demo 'https://www.youtube.com/watch?v=...'
cd workspaces/demo
openbbq fetch
openbbq extract-audio
openbbq transcribe --model large-v3-turbo --language en --gpu
openbbq segment
openbbq translate init zh
# fill in translations in translation.zh.json
openbbq translate check zh
openbbq export --to zh --mode bilingual --format ass --output out/zh.ass
openbbq burn

Agent workflow:

openbbq --json status --workspace workspaces/demo

Agents should use --json and pass the workspace explicitly with -w. OpenBBQ also switches to compact JSON automatically when stdout is not a TTY, which is expected in Codex, CI, and other agent runners. For long-running tasks, poll the workspace state with openbbq status. For subtitle tasks, install the packaged agent skill with openbbq skill install; inspect it with openbbq skill show.

For local files, YouTube login, ASS presets, outputs, and command details, see docs/usage.md.

Roadmap

  • Windows and Linux support
  • More ASR backends
  • More video-platform authentication support
  • 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.2.tar.gz (78.1 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.2-py3-none-any.whl (95.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openbbq-0.0.2.tar.gz
  • Upload date:
  • Size: 78.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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.2.tar.gz
Algorithm Hash digest
SHA256 053633fd743702c2a90a6d4e7f7d94aefbd6e8804e8eedc980c9a54dc2973e8f
MD5 8e13d6a0c36850896850af85b7589373
BLAKE2b-256 76a253fab0c6649ac54dd21729ad8a6941e903f612ed9b3f9a6cfbcfc736099e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openbbq-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 95.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 39765acedac36e965a56bc0daa51b0a34faa03d926fcae7b2d768f7caf78dd50
MD5 cd1b301ae88260968cdeb5961312094a
BLAKE2b-256 c6958f12d5a064178bb04e00c1ba908fdc49be17ad6acb083901494a306128de

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