The setProperties( ) method sets the values of the following attributes automatically for certain video formats: format, width, height, frameResolution, frameRate, videoDuration, numberOfFrames, compressionType, numberOfColors, and bitRate. Use this method only if you are not using the setProperties( ) method. This method sets only the specified attribute values; it does not modify the video data itself.

Parameters

format

The new attribute value, as a String.

width

The new attribute value, as an integer.

height

The new attribute value, as an integer.

frameResolution

The new attribute value, as an integer.

frameRate

The new attribute value, as an integer.

videoDuration

The new attribute value, as an integer.

numberOfFrames

The new attribute value, as an integer.

compressionType

The new attribute value, as a String.

numberOfColors

The new attribute value, as an integer.

bitRate

The new attribute value, as an integer.

Return Value

None.

Exceptions

java.sql.SQLException

This exception is thrown if an error occurs executing the corresponding setKnownAttributes( ) method in the database.