Hi, I’m having issues with exporting a sketch that has a movie in it from the Video library from processing. When I run the sketch, it runs fine and the video plays. But, when I export the sketch to an exe and try to run it, it displays nothing (just a blank screen).
Ah that was some leftover code that we hadn’t cleaned up in time. The actual game was Textbox.pde.
For clarification for others, my team had come third place in a hackathon but whenever I tried to export the code into an exe so other people can play, it wouldn’t work. I eventually isolated the issue to processing’s movie library (or maybe I just did something silly?) and the code you see above is the movie I was trying to get to work in an exe.
If you’re curious, here’s the link to the github page to our hackathon game. I did a bit of cleaning up but if the code above doesn’t work when exporting, then the game won’t (though you can still run the sketch fine hopefully if you import the libraries)
Assuming you’re trying Windows 64-bit when you mention .exe, try creating a folder called windows64 inside the libraries folder of the exported sketch. Move all the .dll files and the gstreamer-1.0 folder into it. Does this now work?
Probably not. I maintain the Java bindings for GStreamer that Processing Video uses. Just looked for where the library was trying to load GStreamer from. Not sure whether this is a bug in the Video library or Processing’s export function. Mind you, I’m really not a fan of bundling the GStreamer native libraries, at least in the way it’s done here.