processing / processing-video

GStreamer-based video library for Processing
274 stars 130 forks source link

Video library not working when exporting the application (Windows) #172

Open FreyaGadeMEA20 opened 3 years ago

FreyaGadeMEA20 commented 3 years ago

I am using the Video library, update 2.0, and whenever I open the application that I exported, the program just freezes. Tested it with multiple different videos, but none of them work.

Code that I tested with.

import processing.video.*;

Movie myMovie;

void setup() {
  size(1360, 768);
  myMovie = new Movie(this, "test.mp4");
  myMovie.loop();
}

void draw() {
  tint(255, 20);
  image(myMovie, 0, 0);
}

// Called every time a new frame is available to read
void movieEvent(Movie m) {
  m.read();
}
oldguan commented 3 years ago

I got the same issue when run application and catch this exception


Microsoft Visual C++ Runtime Library

Runtime Error!

Program: E:\proces...

R6034

An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information.

lynch-if commented 3 years ago

got the same problem

lynch-if commented 3 years ago

got the same problem

it work when use the video library-2.0-beta1, @benfry

carlesgutierrez commented 3 years ago

got the same problem

it work when use the video library-2.0-beta1, @benfry

Good to know! Thanks This one works

we are now at.. "2.0-beta5" this one use GStreamer (1.16.2) not sure how this works, but as far as I checked, my local gstreamer lib was different than the one that processing wanted to use. Then that error about "loading the library".

"library-2.0-beta1" is more open mind. ^^

SeongJongKwak commented 1 year ago

@carlesgutierrez / @lynch-if / @oldguan / @LukasGadeMEA20 By any chance, has that bug been fixed?

  1. I am using Windows.
  2. 'exe' file does not work. By any chance, has it been resolved?