After trying literally everything I could think of I ended up giving up on the JMF. However, I am actually glad that I did it now because I was instead able to write (well, smush a couple examples together.
) a video player in JavaFX that runs through Swing instead! It is much better than JMF too... better formates, resolution, you name it! However, I did run in to one slight little problem I was hoping for some help on. This problem is not nearly as strange though I don't think.
So here is the code for the video player, and it includes a main method in there for a test example.
Now, when I was working on this on my laptop, it worked perfectly fine! I even built it into a JAR and distributed it to some friends, who all reported it worked for them as well. However, when I came home for the weekend and put it on my main rig, it wouldn't run. I keep getting this error...
Now, I can hear the audio from the video play, but it seems to be something with the graphics. I have never used JavaFX so I am looking for a bit of help figuring out why it runs for everyone except me. :-/
Also, on my laptop I have the most up to date versi nof Java. I use the 32 bit version on there. On my main desktop that is having issues, it is the exact same OS (Windows 7 64 bit) and I also have the 32 bit version of Java. I even checked Oracle and made sure everything was up to date, both my JDK and JRE. I feel like it's not anything related to the OS, as this error seems code related to me, but I just need some help because I have never used JavaFX, and this is the last part of my big Swing project I need to get working. It's just wierd it works on practically every machine I try, except my nice desktop.