Package com.xuggle.xuggler

Examples of com.xuggle.xuggler.IContainerParameters


    IContainer container = IContainer.make();

    // Devices, unlike most files, need to have parameters set in order
    // for Xuggler to know how to configure them.  For a webcam, these
    // parameters make sense
    IContainerParameters params = IContainerParameters.make();
   
    // The timebase here is used as the camera frame rate
    params.setTimeBase(IRational.make(30,1));
   
    // we need to tell the driver what video with and height to use
    params.setVideoWidth(320);
    params.setVideoHeight(240);
   
    // and finally, we set these parameters on the container before opening
    container.setParameters(params);
   
    // Tell Xuggler about the device format
View Full Code Here


    // devices, unlike most files, need to have parameters set in order
    // for Xuggler to know how to configure them, for a webcam, these
    // parameters make sense

    IContainerParameters params = IContainerParameters.make();
   
    // the timebase is used as the camera frame rate

    params.setTimeBase(IRational.make(30,1));
   
    // tell the driver what video with and height to use

    params.setVideoWidth(320);
    params.setVideoHeight(240);
   
    // set these parameters on the container before
    // opening

    container.setParameters(params);
View Full Code Here

TOP

Related Classes of com.xuggle.xuggler.IContainerParameters

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.