This post originated from an RSS feed registered with Java Buzz
by Weiqi Gao.
Original Post: JavaFX 1.0 On Linux: Video
Feed Title: Weiqi Gao's Weblog
Feed URL: http://www.weiqigao.com/blog/rss.xml
Feed Description: Sharing My Experience...
In the two previous posts, I showed how to install JavaFX SDK 1.0 and the JavaFX 1.0 NetBeans Plugin on Linux machines. In both cases, I used the Mac version of the JavaFX SDK.
This approach won't give us any native libraries for Linux. However, thanks to (via Pushing Pixels), we know a place where we can get those:
If you look carefully, you may find jar files whose names contain "natives". Although not complete, the various Linux and Solaris platforms are represented. Download, unjar, and throw the resulting *.so files into the appropriate place, you've gotten at least some of the native capabilities. The most interesting of them all is
jmc-natives-linux-i586__V1.0.0.jar
which contains
libGStreamer.so libon2_decoder.so
That could only mean one thing—JavaFX videos on Linux. Here it is (Linuxy format, you need extra software to view it on Windows and Mac):
This is an Ogg Theora video recorded with gtk-recordMydesktop in Fedora 10/i586 with OpenJDK 6 (in VirtualBox 2.0.6 in Vista SP1, on the other side of the dual-boot). It is also the video played by JavaFX inside the video. I wasn't able to play FLV videos when I tried. Well, they did say it's not ready.