Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

writing and reading high definition frames to a file

I am using frames described by: cap.set(CV_CAP_PROP_FOURCC, CV_FOURCC('H', '2', '6', '4')); cap.set(CV_CAP_PROP_FOURCC, CV_FOURCC('M', 'J', 'P', 'G')); cap.set(CV_CAP_PROP_FRAME_WIDTH, 1920); cap.set(CV_CAP_PROP_FRAME_HEIGHT, 1080); cap.set(CV_CAP_PROP_FPS, 30); Issue is writing the frame to a file and then reading it back in the original HD format. imwriting to file as a .jpeg and imreading it back to the same frame.

click to hide/show revision 2
No.2 Revision

writing and reading high definition frames to a file

I am using frames described by: by:

cap.set(CV_CAP_PROP_FOURCC, CV_FOURCC('H', '2', '6', '4'));
cap.set(CV_CAP_PROP_FOURCC, CV_FOURCC('M', 'J', 'P', 'G'));
cap.set(CV_CAP_PROP_FRAME_WIDTH, 1920);
cap.set(CV_CAP_PROP_FRAME_HEIGHT, 1080);
cap.set(CV_CAP_PROP_FPS, 30);

Issue is writing the frame to a file and then reading it back in the original HD format. imwriting to file as a .jpeg and imreading it back to the same frame.