Closed krav closed 5 months ago
That's an ..interesting error. OBS shouldn't be using ffmpeg-full though, that's a bug.
You should be able to work around the bug using obs-studio.override { ffmpeg_4 = pkgs.ffmpeg_4; }
.
Can confirm this works:
nix shell --impure --expr 'let pkgs=(import <nixpkgs> {}); in ( pkgs.wrapOBS.override { obs-studio = (pkgs.obs-studio.override { ffmpeg_4 = pkgs.ffmpeg_4; }); } { plugins = [ pkgs.obs-studio-plugins.droidcam-obs ]; })'
The ffmpeg-full override was added in https://github.com/NixOS/nixpkgs/commit/8a3191fa1b0bf9fb9c3d59cfb1184adff4312377
The correct fix is to enable AV1 in ffmpeg
.
SVT-AV1 has been enabled in ffmpeg for a bit now.
Describe the bug
Attempting to use an iOS device as a camera crashes OBS.
Both
libsmbclient
andlibusbmuxd
export a functionsocket_send
, and the linker picks the wrong one.Steps To Reproduce
Steps to reproduce the behavior:
obs-studio-plugins.droidcam-obs
plugin enabledDroidCam OBS
as a sourceDroidCam OBS
settings and selectRefresh Device List
OBS will segfault.
Expected behavior
OBS should discover the iPhone and display video input.
Screenshots
Additional context
AFAIK OBS has no use for Samba support. Not sure if ffmpeg
withFullDeps
should include libsmbclient at all as a default, or if OBS should have more specific feature flags. I imagine there are more affected ffmpeg users.Notify maintainers
@jb55 @MP2E @v @miangraham @Atemu
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.