Packagevegas.media
Classpublic class VideoCodec
InheritanceVideoCodec Inheritance Object

The Video codec ID number enumeration class.

More informations in the flvmdi page write by Burak.

See also

FLVMetaData


Public Methods
 MethodDefined By
  
validate(id:Number):Boolean
Returns true if the specified id in argument is a valid video codec.
VideoCodec
Public Constants
 ConstantDefined By
  ON2_VP6_1 : Number = 4
[static] The first value of the On2 VP6 video codec.
VideoCodec
  ON2_VP6_2 : Number = 5
[static] The second value of the On2 VP6 video codec.
VideoCodec
  SCREEN_VIDEO : Number = 3
[static] Screen video (SWF version 7 and later only)
VideoCodec
  SCREEN_VIDEO_V2 : Number = 6
[static] The 'Screen Video' V2 video id value.
VideoCodec
  SORENSON : Number = 2
[static] The 'Sorenson H.263' video id value.
VideoCodec
Method Detail
validate()method
public function validate(id:Number):Boolean

Returns true if the specified id in argument is a valid video codec.

Parameters

id:Number

Returns
Booleantrue if the specified id in argument is a valid video codec.
Constant Detail
ON2_VP6_1Constant
public static const ON2_VP6_1:Number = 4

The first value of the On2 VP6 video codec. (SWF version 8 and later only)

ON2_VP6_2Constant 
public static const ON2_VP6_2:Number = 5

The second value of the On2 VP6 video codec. VP6 video with alpha channel (SWF version 8 and later only)

SCREEN_VIDEOConstant 
public static const SCREEN_VIDEO:Number = 3

Screen video (SWF version 7 and later only)

SCREEN_VIDEO_V2Constant 
public static const SCREEN_VIDEO_V2:Number = 6

The 'Screen Video' V2 video id value.

SORENSONConstant 
public static const SORENSON:Number = 2

The 'Sorenson H.263' video id value.