Closed GoogleCodeExporter closed 8 years ago
why not you properly install gstreamer-java? imho both jna and gstreamer-java
is available for ubuntu.
on the other hand you/ve to install gsteamer-plugins-base which contains
playbin and then:
java -cp /usr/share/java/gstreamer-java.jar:/usr/share/java/jna.jar
org.gstreamer.example.SwingPlayer ./siege.ogg
should have to work.
Original comment by lfar...@lfarkas.org
on 1 Jul 2011 at 8:33
When you say properly install. I'm not sure what that means, there are 2 jar
files to download, should I rename them and place into /usr/share/java? I don't
think it is going to help.
May be there is an instruction that you can point me to, that contains steps
for proper installation?
Thanks,
Original comment by sopanas...@gmail.com
on 1 Jul 2011 at 8:39
you should have to install from the ubuntu repository like any other packages.
Original comment by lfar...@lfarkas.org
on 1 Jul 2011 at 8:45
sudo apt-get install gstreamer-java
results in "E: Unable to locate package gstreamer-java"
Is there special repository I should use?
Thanks,
Original comment by sopanas...@gmail.com
on 1 Jul 2011 at 8:47
sorry as many other people use it i assume it's already packaged. but jna
should have to be (i hope).
Original comment by lfar...@lfarkas.org
on 1 Jul 2011 at 8:54
jna.jar is also not available in /usr/share/java. And I tried to install
ubuntu-restrictred-extras that contains some of the gstreamer packages, with no
luck. Still don't have .jar files in /usr/share/java. Even tried setting up
yum, and doing yum search gstreamer-java -returned nothing.
tried gstreamer-java, java-gstreamer, jna, java-jna, jna-java.
Some suggested installing libgtk2.0.dev, but I have that installed already. So
I'm kind of stuck...
But going back to the original questions, the "playbin" error does mean that
native libraries are not installed? The reason I'm asking is that I can use fmj
to display video in java, supposedly it is using gstreamer-java, and it works.
I just want to try gstreamer-java directly for performance purposes.
Thanks,
Original comment by sopanas...@gmail.com
on 1 Jul 2011 at 9:29
I think I figured it out, I have multiple jvms on my linux box 64 bit and 32
bit(since the end target is 32 bit).
The OS is 64bit, so all the libraries. When running in 32 bit JVM I'm getting
'playbin' exception, when running in 64 bit jvm, all is well.
Thanks,
Original comment by sopanas...@gmail.com
on 2 Jul 2011 at 3:41
Original comment by lfar...@lfarkas.org
on 2 Jul 2011 at 4:02
i just recently ran into the same issue, but unfortunately the programme i'm
using is 32bit-only and i'm trying to get it to run in a 64bit environment. the
programme starts, but i get the gstreamer error and therefore the main
functionality of the programme (transcription software) is broken. is there any
way to repair this? (apart from using a virtual machine or chroot)
Original comment by simon.st...@gmail.com
on 26 Jul 2011 at 12:45
you can run 32bit apps on 64 bit, but you've to install 32bit jre and 32bit
gstreamer.
Original comment by lfar...@lfarkas.org
on 26 Jul 2011 at 12:55
Environment can be 64bit, but you can run 32bit JVM in 64bit OS (for my linux I
had to download specific 32 bit version and install it into a different
directory from system java). That worked fine.
However I had to modify the library so the colors are displayed correctly on my
linux box, has to do with lo/hi byte order in .ogg file blue and red colors are
swapped, other than that seems to be ok.
Not sure what your problem is when you say "is broken" - no video/audio at all?
And not sure how chroot will help.
Regards,
Original comment by sopanas...@gmail.com
on 26 Jul 2011 at 12:56
could you retest the color swap it with release 1.5?
Original comment by lfar...@lfarkas.org
on 26 Jul 2011 at 1:43
Looks like 1.5 works without code change, colors are just fine.
Thanks,
Original comment by sopanas...@gmail.com
on 26 Jul 2011 at 1:52
Original issue reported on code.google.com by
sopanas...@gmail.com
on 1 Jul 2011 at 4:13