2.2.7.13.3 VideoWriter::Release

Version Info

Minimum Origin Version Required: Origin 9 SR0

Description

Syntax

void Release( )

Parameters

Return

Examples

#include <..\OriginLab\VideoWriter.h>

void VideoWrite_Release_ex1()
{
	// Use the raw format without compression.
	int codec = CV_FOURCC(0,0,0,0); 
 
	// Create a VideoWriter object.
	VideoWriter vw;
	int err = vw.Create("D:\\example.avi", codec, 2, 800, 600);
	if (0 == err)
	{
		foreach(GraphPage grPg in Project.GraphPages)
			err = vw.WriteFrame(grPg);//write the graph page into the video
	}
    vw.Release();// Release the video object when finished.
}

Remark

See Also

Create

Header to Included

VideoWriter.h