obsproject / obsproject/obs-studio

VLC video source in OBS cannot switch to another soundtrack

Open
#8,346 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

Other

OBS Studio Version (Other)

28.1.2

OBS Studio Log URL

https://obsproject.com/logs/OpQ7elv45Kr5U3nX

OBS Studio Crash Log URL

No response

Expected Behavior

Sound can be correctly output when switching to soundtrack 2.

Current Behavior

Sound only outputs when the soundtrack setting equals 1, when it is set to 2, no sound output.

Steps to Reproduce
  1. Add an mp4 video file, which has 2 soundtracks, to the VLC video source in OBS.

  2. Sound only outputs when the soundtrack setting equals 1, when it is set to 2, no sound output.

Anything else we should know?

ScreenShots

图片

Video File Properties
图片

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the VLC video source and the provided OBS Studio log, then reproduce the issue using an MP4 file with two soundtracks on Windows 11. Trace why soundtrack 2 produces no audio; done means switching from soundtrack 1 to soundtrack 2 outputs the second track correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp
Domain
audio-video-rtc, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.