Question / Help Ubuntu 18.04 + OBS 23.1.0 + VLC 3/4: can't use vlc video source

horzerus

New Member
Hi
I installed OBS 23.1.0 on Ubuntu 18.04.
I installed libvlc (apt-get install) to have VLC video source. It displays but doesn't work:
Screenshot from 2019-06-03 21-54-26.png

log:
Code:
21:51:55.848: FFMPEG VAAPI supported
21:51:55.937: VLC found, VLC video source enabled
21:51:55.937: ---------------------------------
21:51:55.937:   Loaded Modules:
21:51:55.937:     vlc-video.so
21:51:55.937:     text-freetype2.so
21:51:55.937:     rtmp-services.so
21:51:55.937:     obs-x264.so
21:51:55.937:     obs-transitions.so
21:51:55.937:     obs-outputs.so
21:51:55.937:     obs-libfdk.so
21:51:55.937:     obs-filters.so
21:51:55.937:     obs-ffmpeg.so
21:51:55.937:     linux-v4l2.so
21:51:55.937:     linux-pulseaudio.so
21:51:55.937:     linux-jack.so
21:51:55.937:     linux-decklink.so
21:51:55.937:     linux-capture.so
21:51:55.937:     linux-alsa.so
21:51:55.937:     image-source.so
21:51:55.937:     frontend-tools.so
21:51:55.937:     decklink-ouput-ui.so
21:51:55.937: ---------------------------------
21:51:55.937: ==== Startup complete ===============================================
21:51:55.939: All scene data cleared
21:51:55.939: ------------------------------------------------
21:51:55.944: pulse-input: Server name: 'pulseaudio 11.1'
21:51:55.944: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
21:51:55.944: pulse-input: Started recording from 'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor'
21:51:55.968: pulse-input: Server name: 'pulseaudio 11.1'
21:51:55.968: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
21:51:55.969: pulse-input: Started recording from 'alsa_input.pci-0000_00_1b.0.analog-stereo'
21:51:55.971: Couldn't create libvlc instance
21:51:55.972: Failed to create source 'VLC Video Source'!

I tried to install OBS and VLC from other sources. But result is the same.
I tried to install VLC 2.2.0/2.2.5.1/2.2.8 from sources but it's too difficult -- there are problems to compile because too new versions of some libs. Or errors in the code on "make" stage if I avoid the checking of issued libs versions on "./configure" stage.

If someone has OBS on Ubuntu 18.04 with VLC video source then please say me exact versions and installation sources!


Thanks
 

horzerus

New Member
I solved the issue by reinstalling Ubuntu 19.04 + OBS from ppa:obsproject/obs-studio + VLC from apt-get.
 
Top