Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you can try either:

 cv2.VideoWriter_fourcc('M','J', 'P', 'G')

or the numerical:

 1196444237

but chances are low, that this is supported from your capture driver / os.

you can try either:

 cv2.VideoWriter_fourcc('M','J', 'P', 'G')

or the numerical:

 1196444237

but chances are low, that this is supported from your capture driver / os.

(please also check the return value from cap.set(...))