Closed GoogleCodeExporter closed 8 years ago
I have more or less that issue : slider doesn't freeze but seeking through mp3
files
using the slider makes files being played from the beginning again (while there
is no
pb with flac, ogg, videos...).
Config : (Linux) Mandriva 2010.0
[rom1dep@NetSam dist]$ java -jar gstreamer-java.jar
DIAG: Java Native Access (JNA) API=3 Version=3.2.4 (b0)
DIAG: Gst.init succeeded. gstreamer version 0.10.25
***
[rom1dep@NetSam dist]$ gst-inspect-0.10 --version
gst-inspect-0.10 version 0.10.25
GStreamer 0.10.25
http://www.mandriva.com/
Original comment by rom1dep
on 14 Feb 2010 at 6:06
is it working with native gstreamer? is it a really a gstreamer-java bug or
gstreamer
bug?
Original comment by lfar...@gmail.com
on 26 Apr 2010 at 12:40
I am using gstreamer through the phonon-gstreamer + kde libs and I have no
seeking
problem with mp3 files. Looks like a gstreamer-java bug only. This issue only
occurs
with mp3 files.
Original comment by rom1dep
on 27 Apr 2010 at 8:04
can you send a test command line and a test java apps?
Original comment by vitorl...@gmail.com
on 28 Apr 2010 at 3:02
Of course !
simply, "java -jar gstreamer-java.jar <path to the attached mp3 file in #0>"
That made me discover another "bug" while loading files from directories
containing
special characters (like ~/Téléchargement in my case) look :
[rom1dep@NetSam ~]$ jar
~/NetBeansProjects/gstreamer-java/dist/gstreamer-java.jar
~/Téléchargement/test.mp3
Exception in thread "main" java.lang.IndexOutOfBoundsException: Bounds exceeds
available space : size=38, offset=40
at com.sun.jna.Memory.boundsCheck(Memory.java:168)
at com.sun.jna.Memory.setString(Memory.java:654)
at org.gstreamer.NativeArgs.<init>(Gst.java:349)
at org.gstreamer.Gst.init(Gst.java:209)
at org.gstreamer.lowlevel.Main.play(Main.java:112)
at org.gstreamer.lowlevel.Main.main(Main.java:148)
**
[rom1dep@NetSam ~]$ jar
~/NetBeansProjects/gstreamer-java/dist/gstreamer-java.jar
~/Télechargement/test.mp3
Exception in thread "main" java.lang.IndexOutOfBoundsException: Bounds exceeds
available space : size=38, offset=39
at com.sun.jna.Memory.boundsCheck(Memory.java:168)
at com.sun.jna.Memory.setString(Memory.java:654)
at org.gstreamer.NativeArgs.<init>(Gst.java:349)
at org.gstreamer.Gst.init(Gst.java:209)
at org.gstreamer.lowlevel.Main.play(Main.java:112)
at org.gstreamer.lowlevel.Main.main(Main.java:148)
**
[rom1dep@NetSam ~]$ jar
~/NetBeansProjects/gstreamer-java/dist/gstreamer-java.jar
~/test.mp3
→ OK
While it's the same file
Original comment by rom1dep
on 28 Apr 2010 at 6:11
can we call gstreamer-java.jar in this way? what's the default class in the
case?
playbin or...?
Original comment by vitorl...@gmail.com
on 27 May 2010 at 4:13
It's like we should be able, yes. The classes used are the (swing) VideoPlayer,
that
relies on PlayBinMediaPlayer that extends PipelineMediaPlayer. The pipeline
element
used there is indeed PlayBin.
Original comment by rom1dep
on 5 Jun 2010 at 9:18
r441 and the character encoding was discussed many times on the list.
Original comment by lfar...@gmail.com
on 26 Oct 2010 at 10:48
Woow, looks like solved, nice work !
Original comment by rom1dep
on 26 Oct 2010 at 12:32
Original issue reported on code.google.com by
robert.b...@gmail.com
on 21 Jan 2009 at 8:37Attachments: