RGBFormat() 
          Constructs a default RGBFormat. 
RGBFormat(java.awt.Dimension size, int maxDataLength, java.lang.Class dataType, float frameRate, int bitsPerPixel, int red, int green, int blue) 
          Constructs an RGBFormat object with the specified properties. 
RGBFormat(java.awt.Dimension size, int maxDataLength, java.lang.Class dataType, float frameRate, int bitsPerPixel, int red, int green, int blue, int pixelStride, int lineStride, int flipped, int endian) 
          Constructs an RGBFormat object with the specified properties. JMF有example代码的,找找

解决方案 »

  1.   

    RGBFormat(size, maxDataLength,Format.intArray,
                                  frameRate,32,0xFF0000, 0xFF00, 0xFF,
                                  1, size.width,VideoFormat.FALSE,Format.NOT_SPECIFIED);
    --------------------------------
    其中
    Dimension size = new Dimension(width, height);     // 图像的尺寸
    maxDataLength = size.width * size.height * 3;      // 图像数据最大长度
    frameRate = (Double.valueOf(stFPS)).floatValue();  //stFPS 确定帧率,1-30其他参数你可以照写就可以了不过好像getDeviceList只是用来得到采集设备的列表,可以这样用吗?
      

  2.   

    RGBFormat() 
              Constructs a default RGBFormat. RGBFormat(java.awt.Dimension size, int maxDataLength, java.lang.Class dataType, float frameRate, int bitsPerPixel, int red, int green, int blue) 
              Constructs an RGBFormat object with the specified properties. RGBFormat(java.awt.Dimension size, int maxDataLength, java.lang.Class dataType, float frameRate, int bitsPerPixel, int red, int green, int blue, int pixelStride, int lineStride, int flipped, int endian) 
              Constructs an RGBFormat object with the specified properties. 这是他的三个格式,你看看
      

  3.   

    各位大虾,能否留下QQ,大家讨论讨论,谢谢!!!
    小弟QQ 33406410