-
-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
processing-video doesn't detect GStreamer files in sketch's code folder #204
Comments
The workaround above doesn't work with release 10 (2.2). Works fine with release 9 (2.1), at least in Windows. With release 10 I'm getting "failed to load plugin" errors, like the ones below. These DLL files are present in the location processing-video is checking, but for some reason it says the "module could not be found".
|
Do you have a other version of GStreamer installed on your computer? |
No, I don't. In fact I have never installed GStreamer on my machine, so no chance of having left overs of a previous installation or anything like that. And as I said the workaround I found was working with version 9/2.1 but stopped working with version 10/2.2. Not sure what changed. |
Spent some time looking for a solution for this and a user here said to set the system property manually to your gstream install, didnt say how, so i asked chatgtp and this line of code worked for me Mine was "C:\gstreamer\1.0\msvc_x86_64" for example, the default after installing gstreamer from their website It's important to note that the path must use double backslashes \ instead of single backslashes , as the single backslash is used as an escape character in Java strings. You cant see the double backslashes in the line of code I showed above but you need them in your code. |
Hello,
It used to be possible to copy the contents of processing-video library (
Documents/Processing/libraries/video/library/*
) to thecode
folder of a sketch and Processing would detect it there and be able to play videos, for example. Even ifDocuments/Processing/libraries
was empty, no libraries installed there.That doesn't work with the latest release of processing-video (release 9 or 2.1). Trying to run the Loop example this way, Processing prints these error messages:
Not sure if it's an issue or if it's intended behavior, but it's a nice feature to be able to bundle all libraries needed by a sketch in the
code
folder. I use it as a way to "freeze" versions that work well with a sketch. Is it possible for processing-video to check if there's acode
folder in the sketch folder and if needed GStreamer files are there?For now I'm using the code below to get processing-video to locate Gstreamer inside
code
. I couldn't test this in Linux or macOS but it works well on Windows.Environment:
library/*
contents copied to sketch'scode
folder and library removed fromDocuments/Processing/libraries
.The text was updated successfully, but these errors were encountered: