Skip to content

Classic off-by-one error in audio track names (All/Custom modes) - #196

Merged
exeldro merged 1 commit into
exeldro:masterfrom
scientastic:patch-1
Nov 13, 2026
Merged

exeldro merged 1 commit into
exeldro:masterfrom
scientastic:patch-1

Conversation

@scientastic

Copy link
Copy Markdown
Contributor

Audio track names in the recorded file are off by one when Audio Track is All or Custom. With tracks 1–3 named “Live Stream / Vocals / Instruments” in Output > Audio in OBS, the file’s tracks are labeled “Track 1 / Live Stream / Vocals” (the audio itself is correct). OBS stores names as Track1Name…Track6Name (1-based), but the encoder loops build the key from the 0-based mixer index. The property list loop (1-based) is already correct.

Track%dName config keys are 1-based; the encoder loops use the 0-based mixer index, so mixer 0 fell back to "Track 1" and each name shifted down one track.
@scientastic

Copy link
Copy Markdown
Contributor Author

Thanks so much for the Custom option on the audio! It came out just a couple of days after I was looking for it. I found an off-by-one bug in the labeling of the tracks, so I hope this fix helps get that into 0.5.1. Keep up the good work!

@exeldro
exeldro merged commit 075d18b into exeldro:master Nov 13, 2026
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.

2 participants