Auteur: Christian Weeks Date: À: dmo-discussion Sujet: OBS Studio package broken - unable to record
Hi, it appears that 1:17.0.2dmo1 of obs-studio is unable to perform
ffmpeg recordings. The problem is that the helper ffmpeg program has
been moved from it's usual location to another "lib plugins" location.
This causes the recording task to fail with an "unknown error".
From an strace:
[pid 26237] access("/usr/share/obs/obs-plugins/obs-ffmpeg/ffmpeg-mux",
F_OK) = -1 ENOENT (No such file or directory)
It looks like it defaults to "sh" if the command isn't found?!
The file it's looking for is located at
/usr/lib/x86_64-linux-gnu/obs-plugins/obs-ffmpeg/ffmpeg-mux, where it
seems to have been moved by debian/rules, and is the reason I'm mailing
this list. If I link back to the original location (see above) I can now
make recordings successfully. I suspect this is a slight bug in
upstream, since that is a binary helper, and it should be in the
binaries area, but for some reason is actually shipped in the shared
(data) area and only searched for there. It's probably also a bug that
it doesn't properly sanitize this particular input.