public static class PApplet.RendererChangeException
extends java.lang.RuntimeException
Exception thrown when size() is called the first time.
This is used internally so that setup() is forced to run twice when the renderer is changed. This is the only way for us to handle invoking the new renderer while also in the midst of rendering.
sorry, can't understand the solution you post, maybe because i'm drunk, maybe because i can't understand his context, maybe because I'm not good in English
The solution could worsen the problem, I follow instructions and still have a missing library, maybe because I use Windows, maybe it is not good, maybe I should have purchased a mac.
External libraries sounds good, I believe it could work, on the other hand problems are all I seem to be having.
Thank you for the idea!
Unfortunately the creator of jmcvideo left this comment over a year ago :
Hi all, sorry about the Windows bug that I haven't had a chance to fix. I just completed my Masters, so I will have time to work on it soon. I read that there are rumors that JMC will be officially included with Java 7 sometime next year, which would make it much easier to develop/troubleshoot. And also JavaFX 1.3 is due to ship sometime soon (a preview was shown at Devoxx apparently) so hopefully that includes some fixes for JMC. In the meantime it is still true that jmcvideo is broken on Windows Undecided I'll post here when the issue is resolved. Thanks, Angus
I use Quicktime for .3gp files from mobile phones, it is installed and isn't the thing throwing the error out of the program.
For some reason processing doesnt like to load video's on windows machines, I'm thinking that if i used a mac computer with the jmcvideo libraries folder updated and installed that there might shed some light on the matter, unfortunately I dont have the capabilities of reaching a mac computer.
I don't know what processing's problem is with playing video's on windows, but i'm not happy about it.
the last hope: instead of using integrated player, just open the file using your default player:
open("C:\Users\Rich\Documents\Processing\sketch_apr05a\3600A9C9F8.mov");
Okay, the video is loading the different tags video's fine. However when it comes to doing it simultanously, it throws a NullPointerException at line myMovie = new Movie(this, command+".mov");
This is because for some reason it can read the code perfectly once, but reading the second tags code doesnt work it will only read a percentage of the numbers and ignores the rest.
There is a problem with repeating this process I'm trying to work out why.
Hey thats a good idea, use the command as a pointer to the video reference???
I installed jmcvideo, and then started getting errors but after a restart it seemed to work, not sure if its because i changed the code or because i restarted.
Its the command variable that isn't being read properly, I'm not sure if it would point correctly to each video because of this.
I think a call to the Setup method might work: setup();
It is a bad idea to call the setup function again, it is better to create a new function and use that, but this is only useful for resetting variables.
I'll have to try and debug or look for another function that restarts or resets the program.
I'm not sure why the code has a problem the second time round.