jmuthu
New Member
Summary
OBS Studio 32.2.1 (64-bit) on Windows 11 produces a Hybrid MP4 recording with valid 5.1 AAC audio, but the resulting file plays without audio in VLC Media Player 3.0.23.The same source and 5.1 audio play correctly when:
- recorded as traditional MPEG-4 MP4;
- recorded as MKV;
- the MKV is remuxed to MP4 using FFmpeg with
-c copy.
Environment
- OS: Windows 11 64-bit
- OBS Studio: 32.2.1 (64-bit)
- VLC: 3.0.23 Vetinari
- Laptop: Lenovo IdeaPad 3 15IIL05 (81WE)
- CPU: Intel Core i3-1005G1
- Video encoder: Intel QuickSync H.264
- Audio sample rate: 48 kHz
- Audio source: Desktop audio from a YouTube video
- OBS audio channels: 5.1
- Audio codec: AAC
- OBS Output Mode: Simple for the principal reproduction
- Recording quality: High Quality, Medium File Size
Expected behavior
A 5.1 AAC recording created by OBS as Hybrid MP4 should play with audio in VLC, just as the same recording does when stored in traditional MP4 or MKV.Actual behavior
A 5.1 AAC recording made directly by OBS using Hybrid MP4 plays correctly in Windows Media Player but plays without audio in VLC 3.0.23.VLC detects the AAC stream, but produces no audible output.
Reproduction steps
- Open OBS Studio 32.2.1 (64-bit).
- Set Settings → Audio → Channels to 5.1.
- Set Settings → Output → Output Mode to Simple.
- Set Recording Format to Hybrid MP4 (.mp4).
- Set Video Encoder to Hardware (QSV, H.264).
- Set Audio Encoder to AAC (Default).
- Record a YouTube video containing desktop audio.
- Stop the recording.
- Open the resulting MP4 in VLC 3.0.23.
- Video plays, but there is no audible audio.
- Open the same MP4 in Windows Media Player.
- Audio plays correctly.
MediaInfo of affected recording
The affected MP4 contains a valid 5.1 AAC stream:- Format: AAC LC
- Bit rate: 192 kb/s
- Channels: 6
- Channel layout: C L R Ls Rs LFE
- Sampling rate: 48.0 kHz
- Codec ID: mp4a-40-2
- Audio: Present and recognized by MediaInfo
Tests performed
Test 1 – Stereo + Hybrid MP4
OBS:- Channels: Stereo
- Output Mode: Simple
- Recording Format: Hybrid MP4
- Video Encoder: Hardware (QSV, H.264)
- Audio Encoder: AAC (Default)
- Windows Media Player: Audio OK
- VLC: Audio OK
Test 2 – 5.1 + traditional MPEG-4 MP4
OBS:- Channels: 5.1
- Output Mode: Simple
- Recording Format: MPEG-4 (.mp4)
- Video Encoder: Hardware (QSV, H.264)
- Audio Encoder: AAC (Default)
- Windows Media Player: Audio OK
- VLC: Audio OK
Test 3 – 5.1 + MKV
OBS:- Channels: 5.1
- Output Mode: Simple
- Recording Format: Matroska Video (.mkv)
- Video Encoder: Hardware (QSV, H.264)
- Audio Encoder: AAC (Default)
- Windows Media Player: Audio OK
- VLC: Audio OK
ffmpeg -i input.mkv -c copy -movflags +faststart output.mp4Resulting MP4:
- Windows Media Player: Audio OK
- VLC: Audio OK
-c copy was used, the audio and video were not re-encoded.Test 4 – 5.1 + Hybrid MP4 using FFmpeg AAC
OBS was changed to Advanced Output Mode and configured as:- Recording Format: Hybrid MP4
- Video Encoder: QuickSync H.264
- Audio Encoder: FFmpeg AAC
- Channels: 5.1
- Windows Media Player: Audio OK
- VLC: No audio
Test 5 – Remux affected Hybrid MP4 to MKV
The affected Hybrid MP4 was remuxed with:ffmpeg -i input.mp4 -c copy test.mkvResult:
- VLC: Audio OK
Test 6 – Downmix affected 5.1 MP4 to stereo
The affected MP4 was processed with:ffmpeg -i input.mp4 -c:v copy -ac 2 testaudio.mp4Result:
- VLC: Audio OK
Compatibility matrix
| Recording method | Audio |
|---|---|
| Hybrid MP4 | Stereo AAC |
| Hybrid MP4 | 5.1 AAC |
| MPEG-4 MP4 | 5.1 AAC |
| MKV | 5.1 AAC |
MKV → MP4 (-c copy) | 5.1 AAC |
| Hybrid MP4 + FFmpeg AAC | 5.1 AAC |
[th]
Windows Media Player
[/th][th]VLC 3.0.23
[/th][td]
✅
[/td][td]✅
[/td][td]
✅
[/td][td]❌ No audio
[/td][td]
✅
[/td][td]✅
[/td][td]
✅
[/td][td]✅
[/td][td]
✅
[/td][td]✅
[/td][td]
✅
[/td][td]❌ No audio
[/td]Additional observation
The issue is specific to the direct Hybrid MP4 recording path.Changing from Hybrid MP4 to traditional MPEG-4 MP4 resolves the VLC problem without changing the video or audio codecs.
Recording to MKV and subsequently remuxing to MP4 with FFmpeg also resolves the problem.
This suggests that the issue may involve the way OBS's Hybrid MP4 muxer writes or describes the 5.1 AAC stream, or an interoperability issue between that output and VLC's MP4 demuxing/channel handling.
I am not asserting that the Hybrid MP4 file is invalid; I am reporting the reproducible interoperability problem and providing working comparison files.
Requested investigation
Please investigate whether OBS's Hybrid MP4 muxing of 5.1 AAC produces MP4 metadata/channel information that VLC 3.0.23 interprets differently from:- traditional OBS MPEG-4 output, or
- FFmpeg-generated MP4 output from the same streams.
- Affected 5.1 Hybrid MP4
- Working traditional 5.1 MPEG-4 MP4
- Working 5.1 MKV
- Working 5.1 MKV to FFmpeg-remuxed MP4
- OBS current log upload URL in a TXT file
- FFprobe output of the affected 5.1 Hybrid MP4 in a TXT file