Question / Help VLC video source, audio cuts off early

BudCaveTV

New Member
OBS Studio Version: 24.0.3 64 bit
VLC version: 3.0.8
OBS Log: https://obsproject.com/logs/trmi-FCJFqVn2hXQ

I have a VLC source set up to play a random assortment clips from my stream. The videos play just fine until the last second when the audio drops out while the video continues to play before moving onto the next one.

These are short clips (1min or less) and it seems to be worse on shorter clips though that could just be my imagination. The files are in a single folder stored on my file server which is running the newest Linux Mint and shared via Samba if that matters.

I can open the folder directly in VLC and the vidoes will play with no issues whatsoever.

Here's a screenshot of the VLC Video source settings
obs screenshot.jpg


Any help would be appreciated!

**Edit:
The video files are h.264 MP4 files
 
Thanks for this - it's indeed much better on 2.2.8. But, now when I use the VLC player over NDI, I no longer have the "Stereo Mode" ability to insta-switch to Stereo. So, when playing 5.1 files that have no Stereo track option, the Center channel dialogue is always on the left. The newer VLC I used to use had that option.

Any advice on this, anyone? Is there a nightly build of a newer VLC that solves both??
 

ItsME...Matt

New Member
I was having this issue as well. I just tried to open my .MOV file with the source: Media Source and it played fine. Have not gone to production yet though.
 

mdzurenko

New Member
OBS Studio Version: 24.0.3 64 bit
VLC version: 3.0.8
OBS Log: https://obsproject.com/logs/trmi-FCJFqVn2hXQ

I have a VLC source set up to play a random assortment clips from my stream. The videos play just fine until the last second when the audio drops out while the video continues to play before moving onto the next one.

These are short clips (1min or less) and it seems to be worse on shorter clips though that could just be my imagination. The files are in a single folder stored on my file server which is running the newest Linux Mint and shared via Samba if that matters.

I can open the folder directly in VLC and the vidoes will play with no issues whatsoever.

Here's a screenshot of the VLC Video source settings
View attachment 50829

Any help would be appreciated!

**Edit:
The video files are h.264 MP4 files
Have you gotten a solution for this I have been having the same issue
 

mdzurenko

New Member
Anyone have any luck with fixing this yet? I am using OBS to play videos into a Blackmagic ATEM switcher and want to use it for commercial breaks during live sports streams.
 

SMmania123

New Member
Yes, I'm having the exact same problem, can someone please report this issue. It's been going for well over a year now, it needs to be fixed.
 

UkuleleAversion

New Member
Can also confirm that this is still happening on OBS 27.1.1 (64 bit, windows). My VLC version is 3.0.16 (64 bit, windows). I'll test somatorio suggestion of changing VLC version back to 2.2.8 or earlier now.
 

Mart

New Member
VLC 3.0.11/3.0.16 play the file stand-alone fine. Via OBS Media Source play the file stand-alone fine.

Problem is still present with:
OBS 27.1.3 + VLC 3.0.10/3.0.11/3.0.16
OBS 27.2.0-beta3 + VLC 3.0.10/3.0.11/3.0.16

Suggested fix with VLC 2.2.8 works for me, until VLC 3.0.0 also worked for me.
 
FWIW I am having this problem in 3.0.11 with the latest OBS, but only via the audio monitor. When I stream, the streamed version has all the audio intact. Unfortunately when using OBS as a showmaker for Zoom, I'm depending on the audio monitor, and it fragments or goes dead at the ends of videos, especially over NDI.

My educatish guess: The next video is beginning to buffer, and it changes the sample rate or format as the previous file is still playing out.

I wonder if there's a way to force VLC (or the VLC plugin) to output a consistent video size and audio type. Or to wait until the previous file is all done to change.
 

CatariLynx

New Member
This issue still exists with the latest versions of VLC and OBS - are there any updates or plans for an upcoming fix?
 

BakaKuma

New Member
You guys are writing bug reports in "windows support" I can say from experience that they only look at bugs when opened via github :D
 
Top