Skip to content

feat: add audio-only recording mode to reduce CPU usage#597

Open
agrille wants to merge 1 commit intojitsi:masterfrom
agrille:feat/audio-only-recording
Open

feat: add audio-only recording mode to reduce CPU usage#597
agrille wants to merge 1 commit intojitsi:masterfrom
agrille:feat/audio-only-recording

Conversation

@agrille
Copy link
Copy Markdown

@agrille agrille commented Apr 13, 2026

Summary

Adds a configurable audio-only recording mode that skips video capture and encoding entirely. This reduces CPU and storage requirements, making Jibri viable on lower-spec machines and ideal for use cases like meeting transcription.

Changes

  • reference.conf: adds enable-video flag (default true) and audio-only FFmpeg input/output commands for Linux and macOS
  • FfmpegCapturer: selects audio-only command when enable-video = false
  • FileSink: uses .m4a extension for audio-only recordings
  • Tests for both new code paths

Usage

Set in jibri.conf:
jibri.ffmpeg.enable-video = false

Output files use .m4a extension (AAC audio in MPEG-4 container).

Motivation

Recording a Jitsi meeting for transcription purposes does not require video.

@jitsi-jenkins
Copy link
Copy Markdown

Hi, thanks for your contribution!
If you haven't already done so, could you please make sure you sign our CLA (https://jitsi.org/icla for individuals and https://jitsi.org/ccla for corporations)? We would unfortunately be unable to merge your patch unless we have that piece :(.

@jjfreire
Copy link
Copy Markdown

+1

3 similar comments
@mfmendez
Copy link
Copy Markdown

+1

@rodrigoGrZa
Copy link
Copy Markdown

+1

@Manuframil
Copy link
Copy Markdown

+1

@saghul
Copy link
Copy Markdown
Member

saghul commented Apr 23, 2026

Folks, just to adjust expectations: posting +1 won't help get this feature landed.

Specifically, the UI has no control over this, which means there is no way to decide whether one wants an audio-only or video recording.

For that reason alone, this cannot land.

If what you are interested in is transcriptions, the righ approach is to use JMR: https://github.com/jitsi/jitsi-multitrack-recorder which gets audio directly from the JVB and is much more lightweight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants