Skip to main content

CLI for speeding up long-form talks by removing silence

Project description

Talks Reducer

Talks Reducer shortens long-form presentations by removing silent gaps and optionally re-encoding them to smaller files. The project was renamed from jumpcutter to emphasize its focus on conference talks and screencasts.

Main demo

Example

  • 1h 37m, 571 MB — Original OBS video recording
  • 1h 19m, 751 MB — Talks Reducer
  • 1h 19m, 171 MB — Talks Reducer --small

Changelog

See CHANGELOG.md.

Install GUI (Windows, macOS)

Go to the releases page and download the appropriate artifact:

  • Windowstalks-reducer-windows-0.4.0.zip

  • macOStalks-reducer.app.zip

    Troubleshooting: If launching the bundle (or running python -m talks_reducer.gui) prints macOS 26 (2600) or later required, have instead 16 (1600)!, make sure you're using a Python build that ships a modern Tk. The stock python.org 3.13.5 installer includes Tk 8.6 and has been verified to work.

When extracted on Windows the bundled talks-reducer.exe behaves like running python -m talks_reducer.gui: double-clicking it launches the GUI and passing a video file path (for example via Open with… or drag-and-drop onto the executable) automatically queues that recording for processing.

Install CLI (Linux, Windows, macOS)

pip install talks-reducer

Note: FFmpeg is now bundled automatically with the package, so you don't need to install it separately. You you need, don't know actually.

The --small preset applies a 720p video scale and 128 kbps audio bitrate, making it useful for sharing talks over constrained connections. Without --small, the script aims to preserve original quality while removing silence.

Example CLI usage:

talks-reducer --small input.mp4

Need to offload work to a remote Talks Reducer server? Pass --url with the server address and the CLI will upload the input, wait for processing to finish, and download the rendered video. You can also provide --host to expand to the default Talks Reducer port (http://<host>:9005):

talks-reducer --url http://localhost:9005 demo.mp4
talks-reducer --host 192.168.1.42 demo.mp4

Remote jobs respect the same timing controls as the local CLI. Provide --silent-threshold, --sounded-speed, or --silent-speed to tweak how the server trims and accelerates segments without falling back to local mode.

Want to see progress as the remote server works? Add --server-stream so the CLI prints live progress bars and log lines while you wait for the download.

Speech detection

Talks Reducer now relies on its built-in volume thresholding to detect speech. Adjust --silent_threshold if you need to fine-tune when segments count as silence. Dropping the optional Silero VAD integration keeps the install lightweight and avoids pulling in PyTorch.

When CUDA-capable hardware is available the pipeline leans on GPU encoders to keep export times low, but it still runs great on CPUs.

Simple web server

Prefer a lightweight browser interface? Launch the Gradio-powered simple mode with:

talks-reducer server

The browser UI mirrors the CLI timing controls with sliders for the silent threshold and playback speeds, so you can tune exports without leaving the remote workflow.

Want the server to live in your system tray instead of a terminal window? Use:

talks-reducer server-tray

Bundled Windows builds include the same behaviour: run talks-reducer.exe --server to launch the tray-managed server directly from the desktop shortcut without opening the GUI first.

Pass --debug to print verbose logs about the tray icon lifecycle, and --tray-mode pystray-detached to try pystray's alternate detached runner. If the icon backend refuses to appear, fall back to --tray-mode headless to keep the web server running without a tray process. The tray menu highlights the running Talks Reducer version and includes an Open GUI item (also triggered by double-clicking the icon) that launches the desktop Talks Reducer interface alongside an Open WebUI entry that opens the Gradio page in your browser. Close the GUI window to return to the tray without stopping the server. Launch the tray explicitly whenever you need it—either run talks-reducer server-tray directly or start the GUI with python -m talks_reducer.gui --server to boot the tray-managed server instead of the desktop window. The GUI now runs standalone and no longer spawns the tray automatically; the deprecated --no-tray flag is ignored for compatibility. The tray command itself never launches the GUI automatically, so use the menu item (or relaunch the GUI separately) whenever you want to reopen it. The tray no longer opens a browser automatically—pass --open-browser if you prefer the web page to launch as soon as the server is ready.

This opens a local web page featuring a drag-and-drop upload zone, a Small video checkbox that mirrors the CLI preset, a live progress indicator, and automatic previews of the processed output. The page header and browser tab title include the current Talks Reducer version so you can confirm which build the server is running. Once the job completes you can inspect the resulting compression ratio and download the rendered video directly from the page.

The desktop GUI mirrors this behaviour. Open Advanced settings to provide a server URL and click Discover to scan your local network for Talks Reducer instances listening on port 9005. The button now updates with the discovery progress, showing the scanned/total host count as scanned / total. A new Processing mode toggle lets you decide whether work stays local or uploads to the configured server—the Remote option becomes available as soon as a URL is supplied. Leave the toggle on Local to keep rendering on this machine even if a server is saved; switch to Remote to hand jobs off while the GUI downloads the finished files automatically.

Uploading and retrieving a processed video

  1. Open the printed http://localhost:<port> address (the default port is 9005).
  2. Drag a video onto the Video file drop zone or click to browse and select one from disk.
  3. Small video starts enabled to apply the 720p/128 kbps preset. Clear the box before the upload finishes if you want to keep the original resolution and bitrate.
  4. Wait for the progress bar and log to report completion—the interface queues work automatically after the file arrives.
  5. Watch the processed preview in the Processed video player and click Download processed file to save the result locally.

Need to change where the server listens? Run talks-reducer server --host 0.0.0.0 --port 7860 (or any other port) to bind to a different address.

Automating uploads from the command line

Prefer to script uploads instead of using the browser UI? Start the server and use the bundled helper to submit a job and save the processed video locally:

python -m talks_reducer.service_client --server http://127.0.0.1:9005/ --input demo.mp4 --output output/demo_processed.mp4

The helper wraps the Gradio API exposed by server.py, waits for processing to complete, then copies the rendered file to the path you provide. Pass --small to mirror the Small video checkbox or --print-log to stream the server log after the download finishes.

Contributing

See CONTRIBUTION.md for development setup details and guidance on sharing improvements.

License

Talks Reducer is released under the MIT License. See LICENSE for the full text.

Project details


Download files

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

Source Distribution

talks_reducer-0.7.0.tar.gz (76.2 kB view details)

Uploaded Source

Built Distribution

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

talks_reducer-0.7.0-py3-none-any.whl (71.5 kB view details)

Uploaded Python 3

File details

Details for the file talks_reducer-0.7.0.tar.gz.

File metadata

  • Download URL: talks_reducer-0.7.0.tar.gz
  • Upload date:
  • Size: 76.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for talks_reducer-0.7.0.tar.gz
Algorithm Hash digest
SHA256 3b5f76df422828746e16c8221e1fbe4e09a81805076b811b32f1fe34bc33d525
MD5 c673be2d32d43e5444a1b4984ce133c2
BLAKE2b-256 e7338bb7133bc58fdc6d60770ff26ce8bbc483d2c615570420f9bb6984c1d0ae

See more details on using hashes here.

File details

Details for the file talks_reducer-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: talks_reducer-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 71.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for talks_reducer-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1434d970b098034f686619a659c15878474102b31ad7528ddc9ef1d87f9ab395
MD5 c3e05fdd2956b6e78dd26ba7f620661c
BLAKE2b-256 97625702670681d807441bac7010f52974fc4be6db9ce189bdc7cee31a139995

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