Question / Help VLC Video Source Only Plays One Video On Playlist

MrMcspicey

New Member
Thanks in advance for any assistance provided. I have looked everywhere and could not find a solution to this issue. I am using OBS 21.0.1 (64bit). VLC 3.0.0 (64bit).

The problem I am running in to is the VLC Video Source only plays one file on a playlist, then stops on the last frame of the video and does not proceed to play the next video on the playlist. The playlist plays fine within VLC itself - only when I try to use it inside OBS via VLC Video Source, does it not play continuously. I'm curious on if this is a bug with new builds of either VLC or OBS.

Note: I've tried restarts, fresh installs, verified bit versions (64bit), different variations on file type (mp4 / mp3), different playlist filetypes (.xspf / .m3u), I've even gone as far as installing and using only 32bit versions of both programs, yet the problem still exists. Oddly enough, I've tried on two separate PC's and I'm running in to the same problem - it won't play more than one file on the playlist on both PCs.

I'm at a loss. Any help would be most appreciated. Again, thanks in advance.
 

futurion

New Member
Hello,
I'm having the exact same issue. It's about 10 days from first post above and still no reply. Can someone please confirm if this is a bug or we're both doing something wrong actually? Streaming whole playlists is an urgent thing for us currently.

EDIT: It seems VLC 3.0 is the issue. I tried with 2.2.4 and it works flawlessly.

Secondly, would maybe someone know how is it possible to forward/rewind current playing video (mp4 for instance)? When I stream it through OBS VLC playlist, there's no controls to move through the video timeline. Only playing from beginning is possible. I'd actually like to have full control (same as in VLC) over currently streaming videos. Is this doable somehow maybe? Do I need another plugin maybe?

EDIT: I read about the "vlc hotkeys" that can be assigned to controls the videos. Where and how can I assign thee hotkeys?

Thanks in advance for all your answers. Regards.
 
Last edited:

MrMcspicey

New Member
Thanks Futurion! I'll downgrade the VLC version and see if it works. This was driving me bonkers.

I appreciate you supplying the fix!
 

Mark Weiss

Member
How are you getting VLC to stream? I managed to get screen capture using game capture, but no audio. Are you getting audio?
 

futurion

New Member
I'm not using VLC to stream, I'm just using VLC playlist inside OBS. The only downside of the OBS VLC playlist is that we're currently unable to dinamically-edit the playlist's content without restarting it each time.

The feature to add/edit/remove a certain clips from VLC playlist would me more than appreciated. I also asked on the forums and on IRC, but without clear answer so far...
 

futurion

New Member
@Suslik V thanks for your reply. I believe what you say about VLC Video Source as being temporary solution, but it's not far from being perfect. Is has pretty much everything needed to create a decent playlist with loop and shuffle orders. The only thing that's really missing is an option to add/edit/remove clips on that playlist without restarting the whole playlist each time... I really think that's not that hard to implement, or am I wrong?

Also, the link you posted it's more about the issues with VLC 3.x and OBS where the playlist stops after one clip. That issue isn't present in lower versions (2.2.8 and lower) and should also be fixed in newer versions (3.0.2+).
 

Suslik V

Active Member
Wrong. The list handling is part of VLC not by OBS, thus - nothing to improve in this source. New source needed.
 

futurion

New Member
Hmm, I don't understand quite what you're trying to say. As far as I know, list handling in VLC works pretty well. You can add/edit/remove clips from the current playlist without restaring it in real-time.

VLC case:
For instance, you have 10 items inside VLC's playlist, the current-playing item is no. 5. You add another 2 items to the playlist, the no.5 item is still playing and it will play until the end, then go to 6, 7, etc. until the last 12. That's all ok.

OBS case:
You have 10 items, current playing item is no. 5. You edit the playlist, add another 2, click save. The playlist will start again from the beginning with no. 1, and then play until end. Simply, each time you edit/save the playlist, it restarts from the beginning, not good!

I don't know if this is OBS's issue or VLC's issue, but certainly in VLC it's working ok, while in OBS is not. So, all I would like to achieve is have an option to edit/add/remove the playlist items in OBS the same way as in VLC or any other decent video players out there... Is there an option to somehow achieve this?
 

Suslik V

Active Member
OBS feeds playlist to VLC at once (VLC thinks that this is one file, like .m3u, .pls etc.). Thus nothing you can do about this source right now and in a nearby future.
 

futurion

New Member
Ok, that sounds logical. But still, the simple solution would be to just keep the current VLC video source playlist item playing (not stopping it) and when the playlist is edited and confirmed, just resume it from the next item on the list. If there's no next item, simply restart it from the beginning.
But again, as I see you know much more then I do, what would be your suggestion to come as close as possible to dinamically-edit the playlist of clips inside OBS? Maybe more video sources, some kind of automatic switch between them? Or maybe more VLC playlists? But for this last one, you'd still need a mechanism for switching between one and another automatically. Or is there maybe another option I just can't think of right now?
 

Osiris

Active Member
Wrong. The list handling is part of VLC not by OBS, thus - nothing to improve in this source. New source needed.
You don't need a new source for that, libvlc media_list has functions to insert/remove media at a specific position.
The problem is more the fact that clicking Ok in the source properties always reloads the source.
 

Suslik V

Active Member
You don't need a new source for that, libvlc media_list has functions to insert/remove media at a specific position.
The problem is more the fact that clicking Ok in the source properties always reloads the source.
Ouch, then it wasn't a problem at all, to remember the index position of the item in the list. Maybe year or two and we'll see the solution. The media source able to playback continuously through the scenes.
 

futurion

New Member
@Osiris Would you maybe have any kind of information or a simple suggestion what are our best options to achieve that simple playlist functionality we were talking about above? Is there maybe an option for a developer to fix that current VLC media source playlist functionality? A good enough fix would be at least keeping the current-playing clip after clicking "ok". But if there's an option to dynamically edit/remove/add items as all other media players do, that would b the best of course.
If this isn't an option at all, is there any kind of other solution currently available?
Thanks in advance!
 

rodman_cl

New Member
It is 2023....any solution for the problem of playlist with OBS related to that any new video you add to an existing playlist of videos after you hit ok, it will restart the playlist playing the first video (and not the current one when you were adding a new video).
 
Top