Package org.gstreamer

Examples of org.gstreamer.Pipeline$API


                    };
                    player.setPreferredSize(new Dimension(400, 250));
                    player.setControlsVisible(true);
                    player.setOpaque(false);
                    player.setOpacity(alpha);
                    Pipeline pipe = player.getMediaPlayer().getPipeline();
                    if (pipe instanceof PlayBin2) {
                        ((PlayBin2) pipe).setAudioSink(ElementFactory.make("fakesink", "audio"));
                    }
                   
                    frame.setOpaque(false);
View Full Code Here


    public VideoFilter() {
    }
    private static Pipeline pipe;
    public static void main(String[] args) {
        args = Gst.init("VideoTest", args);
        pipe = new Pipeline("VideoTest");
        //final Element videosrc = ElementFactory.make("videotestsrc", "source");
        final Element videosrc = ElementFactory.make("v4l2src", "source");
        final Element videofilter = ElementFactory.make("capsfilter", "filter");
        videofilter.setCaps(Caps.fromString("dv1394src ! video/x-dv ! dvdemux ! "
                + "dvdec ! ffmpegcolorspace ! video/x-raw-rgb, width=720, height=576"
View Full Code Here

* @author duo
*/
public class WebcamPlayer {
    public WebcamPlayer() {
        Gst.init();
        pipe = new Pipeline("VideoTest");
        final Element videosrc = ElementFactory.make("v4l2src", "source");
        final Element videofilter = ElementFactory.make("capsfilter", "filter");
        videofilter.setCaps(Caps.fromString("dv1394src ! video/x-dv ! dvdemux ! "
                + "dvdec ! ffmpegcolorspace ! video/x-raw-rgb, width=320, height=240"
                + ", bpp=32, depth=24, framerate=25/1"));
View Full Code Here

TOP

Related Classes of org.gstreamer.Pipeline$API

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.