zoukankan      html  css  js  c++  java
  • OpenCV.用户选择

    1、Pdf.P153(书.P122)

      

    2、

    // 来自:"Creating a video with OpenCV — OpenCV 2.4.13.7 documentation.html"(https://docs.opencv.org/2.4/doc/tutorials/highgui/video-write/video-write.html)
    
    #include <iostream>    // for standard I/O
    #include <string>   // for strings
    
    #include <opencv2/core/core.hpp>        // Basic OpenCV structures (cv::Mat)
    #include <opencv2/highgui/highgui.hpp>  // Video write
    
    using namespace std;
    using namespace cv;
    
    int main_0404_zz(int argc, char *argv[])
    {
        Size S = Size((int) 30,    // Acquire input size
            (int) 50);
    
        VideoWriter outputVideo;                                        // Open the output
            outputVideo.open("z12345.avi", -1, 30, S, true);
    
        return 0;
    }

     2.1、程序运行起来的样子是这样的,可以选择 压缩程序 和 压缩质量

      

     2.2、可以选择的 压缩程序 有如下几种

      ZC:为何只有这几种?是∵ 我机子里面的 解码器比较少的缘故??

      

    3、

    4、

    5、

  • 相关阅读:
    qiankun 报错:Target container with #container not existed while xxx mounting!
    promise加载队列实现
    promise 封装定时器
    关于promise
    节流防抖
    箭头函数特点
    this
    手写apply
    手写call
    手写bind函数
  • 原文地址:https://www.cnblogs.com/cppskill/p/10993745.html
Copyright © 2011-2022 走看看