Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is there a way to make VideoWriter use the MKV container?

I know this is kind of a stretch because VideoWriter is so basic, but I would like to use the MKV (Matroska) video container format. It is nicer for our application because each frame is timestamped, and our framerate is not always constant. The AVI or MPEG files like to assume a constant framerate so the video speeds up and slows down if it's not encoded at exactly that framerate.

Does anyone know of a way to make this happen? Or if there's a better solution to my problem?

Thanks