You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rust: Port the encoder audio start alignment in obs-encoder.c to obs-output #2320
Rust port, round 8 unit 3: the encoder audio start alignment and the setter gates in libobs/obs-encoder.c.h, moved to obs-output::encoder_audio_start.
Scope
Rust takes over these decisions:
buffer_audio: wait, truncate, take the video start, or start unpaired;
calc_offset_size, push_back_audio and start_from_buffer;
the first-packet reset and send condition of receive_audio, and the pts step of send_audio_data;
the group start gate and pts step in receive_video;
the gates of obs_encoder_set_gpu_scale_type and obs_encoder_set_frame_rate_divisor.
C keeps the deques, refs, the group mutex, do_encode, the pause checks, the group reconfigure, the logs, and both divides by the sample rate. C passes those results in.
Activity
rdoupe commentedon Oct 25, 2026
Claiming: #2320.
libobs: Move the encoder audio start decisions
test: Characterize the encoder audio start
obs-output: Add Tier 1 tests for audio start
obs-output: Port the encoder audio start
obs-output: Check the audio start port against C
docs: Record the encoder audio start port
obs-output: Port the encoder audio start alignment (obs-rust#2331)