How to use monoscope plugin on gstreamer-java.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to use monoscope plugin on gstreamer-java.

apamplona78
Does anyone know how to use monoscope plugin on gstreamer-java?
My source code is:

File audio = new File("C:/Users/apamplona/Desktop/stefanini-exemplo/jammil-esaudade.mp3");
               
Gst.init("AudioPlayer", new String[]{});
               
PlayBin2 player = new PlayBin2("AudioPlayer");
player.set("video-sink", ElementFactory.make("fakesink", "xvimagesink"));
player.set("uri", audio.toURI());
       
player.play();
Gst.main();
player.stop();
Reply | Threaded
Open this post in threaded view
|

Re: How to use monoscope plugin on gstreamer-java.

Stefan Sauer
On 07/26/2012 07:37 PM, apamplona78 wrote:

> Does anyone know how to use monoscope plugin on gstreamer-java?
> My source code is:
>
> File audio = new
> File("C:/Users/apamplona/Desktop/stefanini-exemplo/jammil-esaudade.mp3");
>
> Gst.init("AudioPlayer", new String[]{});
>
> PlayBin2 player = new PlayBin2("AudioPlayer");
> player.set("video-sink", ElementFactory.make("fakesink", "xvimagesink"));

just set "vis-plugin" the same way you set "video-sink" and enable
visualisations in the "flags" property.

Stefan

> player.set("uri", audio.toURI());
>        
> player.play();
> Gst.main();
> player.stop();
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-use-monoscope-plugin-on-gstreamer-java-tp4655708.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel