I'm on Manjaro. After a bunch of Manjaro system updates, OBS wasn't working. I tried rebuilding OBS and got the vpl error mentioned below. I installed onevpl and then I built OBS without issue. OBS starts and shows my webcam. HOWEVER, I cannot stream or record and if I click Settings, it crashes.
Here's what I get in a terminal when I click the Settings button in OBS:
error: Failed to get properties for encoder '' (ffmpeg_aac)
error: Could not enumerate fallback encoder bitrates
error: Could not enumerate any audio encoder bitrates
error: Could not enumerate any AAC encoder bitrates
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string: construction from null is not valid
Aborted (core dumped)
UPDATE:
I installed mbedtls2 as mentioned below, then restarted. OBS seems to work now!! I successfully made a recording with my webcam, a browser source, and a local video file.
Pinned Comments
thotypous commented on 2021-02-05 14:12 (UTC)
If you don't want to build this package yourself, hourly builds are available at https://aur.chaotic.cx
benklett commented on 2016-02-06 23:11 (UTC) (edited on 2016-08-10 14:01 (UTC) by benklett)