Package org.gstreamer

Examples of org.gstreamer.Pipeline


    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

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.