#include <opencv2/opencv.hpp>
#include <iostream>
#include <cstdint>
using namespace std;
int main(int argc, chat **argv) {
	if (argc<3) {
		cout << "Usage: ./grayvideo input.mp4 output.mp4" << endl;
		return -1;
	}
	cv::VideoCapture cap(argv[1]);
	if (!cap.isOpened()0 {
		cout << "Error opening file \n";
		return -1;
	}
	int width=cap.get(cv::CAP_PROP_FRAME_WIDTH);
	int height=cap.get(cv::CAP_PROP_FRAME_HEIGHT);
	double fps=cap.get(cv::CAP_PROP_FPS);

}
