gBroutin / gstreamer-java

Automatically exported from code.google.com/p/gstreamer-java
0 stars 0 forks source link

wiki examples don't work #53

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've used gstreamer-java before,they worked fine,I think it was gstreamer-java 
1.2 or 1.3

I tried following the examples with 1.4,and they just don't work

I use netbeans for development,and I've put the libraries in the classpath,and 
they don't work,I don't know why

the error I get is :

Exception in thread "main" java.lang.IllegalArgumentException: No such 
Gstreamer factory: /media/sda7/Music Library/Crossfade.mp3
        at org.gstreamer.ElementFactory.makeRawElement(ElementFactory.java:174)
        at org.gstreamer.ElementFactory.make(ElementFactory.java:166)
        at App.TestApp.main(TestApp.java:15)
Java Result: 1

the code is attached

note: the package decleration is correct,it's not a wrong package issue

Original issue reported on code.google.com by mhh.drea...@gmail.com on 22 Aug 2010 at 7:13

Attachments:

GoogleCodeExporter commented 8 years ago
of course this line is not valid no such element es your filename
ElementFactory.make(source.getAbsolutePath(), "Source")

Original comment by lfar...@gmail.com on 24 Sep 2010 at 11:15

GoogleCodeExporter commented 8 years ago
so,what should I do to make it work?

please illustrate with a working code sample

Original comment by mhh.drea...@gmail.com on 25 Sep 2010 at 4:46