VideoFormat

  • C#

更新时间不可用

视频帧格式。

C#
public VideoFormat()
        {
            width = (int)FRAME_WIDTH.FRAME_WIDTH_640;
            height = (int)FRAME_HEIGHT.FRAME_HEIGHT_360;
            fps = (int)FRAME_RATE.FRAME_RATE_FPS_15;
        }

        public VideoFormat(int w, int h, int f)
        {
            this.width = w;
            this.height = h;
            this.fps = f;
        }
        public int width { set; get; }
        public int height { set; get; }
        public int fps { set; get; }
    };

属性

参数名描述
width

视频帧的宽度(px)。默认值为 960。

height

视频帧的高度(px)。默认值为 540.

fps

视频帧的帧率。默认值为 15。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?