Hello,
I'm experiencing with JavaFX on Ubuntu amd64. I had no issue with running netbeans projects until I tried some multimedia code that would never run on amd64.
Even if the files are correctly running under Totem media player, thus proving that the codecs are available for gstreamer.
I'm stuck so far in understanding why would be missing to get it working.
I went one step further in testing and created two VirtualBox virtuals machines:
-Ubuntu 10.04 amd64 32Bit sun jdk1.6.20 netbeans 6.9 FCS sample media code
-Ubuntu 10.04 i386 32Bit sun jdk1.6.20 netbeans 6.9 FCS sample media code
Please note that jdk binary, netbeans install and sample code and media files I used where exactly the same and installed manually on fresh Ubuntu install.
Conclusion, the video played correctly on i386 ubuntu (.flv right from the start, .wmv after some codecs install as proposed by Totem),
but it never worked on amd64, still getting UnsupportedMediaException, that I understood is how JMC tells that it does not find suitable gstreamer lib or codec.
The only difference in output of execution was this exception under amd64 :
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
Would the GStreamer.so that is packaged with javafx runtime would be 32bits only ?
is there any workaround to get it running on amd64 ?
Thanks in advance for your kind help.
Regards
I'm experiencing with JavaFX on Ubuntu amd64. I had no issue with running netbeans projects until I tried some multimedia code that would never run on amd64.
Even if the files are correctly running under Totem media player, thus proving that the codecs are available for gstreamer.
I'm stuck so far in understanding why would be missing to get it working.
I went one step further in testing and created two VirtualBox virtuals machines:
-Ubuntu 10.04 amd64 32Bit sun jdk1.6.20 netbeans 6.9 FCS sample media code
-Ubuntu 10.04 i386 32Bit sun jdk1.6.20 netbeans 6.9 FCS sample media code
Please note that jdk binary, netbeans install and sample code and media files I used where exactly the same and installed manually on fresh Ubuntu install.
Conclusion, the video played correctly on i386 ubuntu (.flv right from the start, .wmv after some codecs install as proposed by Totem),
but it never worked on amd64, still getting UnsupportedMediaException, that I understood is how JMC tells that it does not find suitable gstreamer lib or codec.
The only difference in output of execution was this exception under amd64 :
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
Would the GStreamer.so that is packaged with javafx runtime would be 32bits only ?
is there any workaround to get it running on amd64 ?
Thanks in advance for your kind help.
Regards