You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
'A library used by this sketch is not installed properly' with video on Windows #2472
Trying to open and loop a video on version 2.1.2 (same with 2.1.1) with this snippet
import processing.video.*;
Movie myVideo;
int video_width = 768;
int video_height = 576;
int video_slice_x = video_width/2;
int window_width = 1000;
int window_height = video_height;
int draw_position_x = 0;
boolean newFrame = false;
void setup() {
myVideo = new Movie(this, "input.mov");
size(window_width, window_height, P2D);
background(0);
myVideo.loop();
}
but I get the following error:
A library used by this sketch is not installed properly.
A library relies on native code that's not available.
Or only works properly when the sketch is run as a 32-bit application.
on this line: myVideo = new Movie(this, "input.mov");
Tried installing GStreamer (x86-64), didn't help. Windows is 64 bit, but neither the 64 bit nor the 32 bit version of Processing 2.1.2 could run this code without error.
I'm out of ideas at the moment, can someone point me at the solution?
Same for me. I have two Win7 64bit computers but I can't get any video library examples working. I tried 2.03, 2.1.1, 2.1.2, both 32&64bit versions. I would really like to use the video libs, and it's getting urgent, can somebody help to solve this issue?
changed the title [-]'A library used by this sketch is not installed properly' on Windows[/-][+]'A library used by this sketch is not installed properly' with video on Windows[/+]on May 10, 2014
Found a clue that helped me find out what's wrong. @hunrobar seeming to be Hungarian (as am I) was very suspicious. Originally, Processing was in a path that contained the character 'ó', and when I moved it to a different directory whose path only contains US-ASCII characters, the error went away.
Running processing-java from the command line also confirmed that non-ASCII character handling is screwed up. I'll try to find some time to contribute in fixing this later.
Wow thanks this finally solved the issue! The processing files were in a folder called "Programozás", that was the problem. :) Unbelievable, I don't have to use the crappy quictime library again..
Activity
hunrobar commentedon May 7, 2014
Same for me. I have two Win7 64bit computers but I can't get any video library examples working. I tried 2.03, 2.1.1, 2.1.2, both 32&64bit versions. I would really like to use the video libs, and it's getting urgent, can somebody help to solve this issue?
[-]'A library used by this sketch is not installed properly' on Windows[/-][+]'A library used by this sketch is not installed properly' with video on Windows[/+]ggPeti commentedon Jun 9, 2014
This is still present in 2.2.1
ggPeti commentedon Jun 9, 2014
Found a clue that helped me find out what's wrong. @hunrobar seeming to be Hungarian (as am I) was very suspicious. Originally, Processing was in a path that contained the character 'ó', and when I moved it to a different directory whose path only contains US-ASCII characters, the error went away.
Running processing-java from the command line also confirmed that non-ASCII character handling is screwed up. I'll try to find some time to contribute in fixing this later.
hunrobar commentedon Jun 11, 2014
Wow thanks this finally solved the issue! The processing files were in a folder called "Programozás", that was the problem. :) Unbelievable, I don't have to use the crappy quictime library again..
benfry commentedon Jul 25, 2014
Moving to the video repository: processing/processing-video#10
AlhTronik commentedon Aug 9, 2015
Hello,
I have the same problem with my computer but i don't understand your solution
@ggPeti can you tell me what is the folder to move and where ?
ggPeti commentedon Aug 9, 2015
Try simply C:\Processing
AlhTronik commentedon Aug 9, 2015
always the same problem.
What is the folder to move ?