Giter Club home page Giter Club logo

obs-ghostscript's People

Contributors

nleseul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

obs-ghostscript's Issues

PDF Files are invisible after adding source

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:

  1. Installation
[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.

  1. I moved my files to correct folders, PDF source showed up in OBS, but as tittle says, when i'm trying to add file, it's just invisible.

Obs window

  1. I launched OBS from terminal to debug stuff

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

2020-06-27 00-30-02.txt

Flatpak OBS can't load Ghostscript

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?

Not sure where to put libobs-ghostscript.so and /obs-ghostscript//locale/en-US.ini

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.