nleseul / obs-ghostscript Goto Github PK
View Code? Open in Web Editor NEWVideo source plugin for OBS which renders PDF and other documents using Ghostscript
License: The Unlicense
Video source plugin for OBS which renders PDF and other documents using Ghostscript
License: The Unlicense
Greetings! First of all - thank you for a great plugin, really helping me a lot!
I encountered problem on my Arch Linux machine, where PDF files are "invisible" after adding.
There some info:
[mainanton@antonqt obs-ghostscript-1.3]$ make install
[100%] Built target obs-ghostscript
Install the project...
-- Install configuration: ""
-- Installing: /home/mainanton/obs-studio/obs-plugins/64bit/libobs-ghostscript.so
-- Set runtime path of "/home/mainanton/obs-studio/obs-plugins/64bit/libobs-ghostscript.so" to ""
-- Installing: /home/mainanton/obs-studio/data/obs-plugins/obs-ghostscript/
-- Installing: /home/mainanton/obs-studio/data/obs-plugins/obs-ghostscript//locale
-- Installing: /home/mainanton/obs-studio/data/obs-plugins/obs-ghostscript//locale/en-US.ini
Previous steps was fine, no errors reported, line starting with "Set runtime.." is creepy tho.
Here what I got:
info: User added source 'PDF Document (Ghostscript)' (obs_ghostscript) to scene 'Scene'
Empty filename passed to function
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc. All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc. All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc. All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc. All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc. All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
And this message keeps appearing every time I try to scroll document with mouse wheel or PgUp/PgDown
In addition, attaching log file, I could not find any useful stuff there tho.
Any ideas how to fix this, or at least where to look, I'm quite confused ๐
Cheers,
Antony
Hi, I've managed to build the and install the plugin to the correct system folders for the Flatpak version of OBS, but when launched, the plugin fails with:
error: os_dlopen(/app//lib/obs-plugins/libobs-ghostscript.so->/app//lib/obs-plugins/libobs-ghostscript.so): libgs.so.9: cannot open shared object file: No such file or directory
I've tried copying to every "lib" dir I could find in the flatpak system, and adding more access permissions via Flatseal, but it still says the same thing....Is there a way to bundle libgs into the DSO itself so this loading thing is no longer an issue?
Hi @nleseul
Thanks for the nice plugin. I have build and installed latest version of OBS following this on Ubuntu18.14x64. Then manage to build obs-ghostscript-1.3 running this
$ cmake .. -DOBSSourcePath=~/Downloads/obs/obs-studio/libobs/ -DOBSLibraryPath=~/Downloads/obs/obs-studio/build/UI -DCMAKE_INSTALL_PREFIX=~/obs-studio
$ make install
[100%] Built target obs-ghostscript
Install the project...
-- Install configuration: ""
-- Installing: $HOME/obs-studio/obs-plugins/64bit/libobs-ghostscript.so
-- Installing: $HOME/obs-studio/data/obs-plugins/obs-ghostscript/
-- Installing: $HOME/obs-studio/data/obs-plugins/obs-ghostscript//locale
-- Installing: $HOME/obs-studio/data/obs-plugins/obs-ghostscript//locale/en-US.ini
However, I am reached the point to use the above files but I am not sure where to put them. I can mention that related obs directories are:
$HOME/Downloads/obs/obs-studio/build
$HOME/.config/obs-studio/plugin_config
/usr/share/obs
Any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.