Click or drag to resize
SoMPEGRendererSetBitPerSec Method

This method allows the user to specify a fixed bit rate.

Namespace: OIV.Inventor.MPEG
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public void SetBitPerSec(
	float mbps
)

Parameters

mbps
Type: SystemSingle
Remarks

This is useful when the MPEG output is to be put on a video CD, for example. If you do not know what this rate means, you can use the default value (-1) which indicates that the bit rate is variable. The standards bit rates for VCD are 1205862 bps and 2726300 bps. (It is the speed the MPEG stream is read by VCD players)

The default value is 1205862. The maximum value is 104857600. NOTE: This method must be called before OIV.Inventor.MPEG.SoMPEGRenderer.OpenFile(System.String, System.UInt32) or () in order to have an effect. Calling it after calling OIV.Inventor.MPEG.SoMPEGRenderer.OpenFile(System.String, System.UInt32) or () may cause undesirable results.

See Also