Skip to content

'A library used by this sketch is not installed properly' with video on Windows #2472

Closed

Description

@ggPeti

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?

Activity

  1. hunrobar commented on May 7, 2014

    @hunrobar

    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?

  2. 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
  3. ggPeti commented on Jun 9, 2014

    @ggPeti
    Author

    This is still present in 2.2.1

  4. ggPeti commented on Jun 9, 2014

    @ggPeti
    Author

    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.

  5. hunrobar commented on Jun 11, 2014

    @hunrobar

    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..

  6. benfry commented on Jul 25, 2014

    @benfry
    Contributor

    Moving to the video repository: processing/processing-video#10

  7. AlhTronik commented on Aug 9, 2015

    @AlhTronik

    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 ?

  8. ggPeti commented on Aug 9, 2015

    @ggPeti
    Author

    Try simply C:\Processing

  9. AlhTronik commented on Aug 9, 2015

    @AlhTronik

    always the same problem.
    What is the folder to move ?

  10. locked and limited conversation to collaborators on Aug 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions