Create video file with the specified name and attributes.

Namespace:  AForge.Video.FFMPEG
Assembly:  AForge.Video.FFMPEG (in AForge.Video.FFMPEG.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public void Open(
	string fileName,
	int width,
	int height
)

Parameters

fileName
Type: System..::.String
Video file name to create.
width
Type: System..::.Int32
Frame width of the video file.
height
Type: System..::.Int32
Frame height of the video file.

Remarks

See documentation to the Open(String, Int32, Int32, Int32, VideoCodec) for more information and the list of possible exceptions.

Note:The method opens the video file using Default codec and 25 fps frame rate.

See Also