Packageasgard.media
Classpublic dynamic class FLVMetaData
InheritanceFLVMetaData Inheritance SimpleValueObject Inheritance CoreObject

The FLVMetaData instances contains all datas values injected in the external FLV video.

More informations in the flvmdi page write by Burak.



Public Properties
 PropertyDefined by
  aacaot : int
The AAC audio object type; 0, 1, or 2 are supported.
FLVMetaData
  audiocodecid : *
Audio codec ID number used in the FLV.
FLVMetaData
  audiodatarate : Number
A number that indicates the rate at which audio was encoded, in kilobytes per second.
FLVMetaData
  audiodelay : Number
A number that indicates what time in the FLV file "time 0" of the original FLV file exists.
FLVMetaData
  audiosize : Number
The audio data size.
FLVMetaData
  avclevel : Number
AVC IDC level number such as 10, 11, 20, 21, and so on.
FLVMetaData
  avcprofile : Number
AVC profile number such as 55, 77, 100, and so on.
FLVMetaData
  canSeekToEnd : Boolean
A Boolean value that is true if the FLV file is encoded with a keyframe on the last frame, which allows seeking to the end of a progressive -download video file.
FLVMetaData
  creationdate : String
The date of creation of the video.
FLVMetaData
  cuePoints : Array
An array of objects, one for each cue point embedded in the FLV file.
FLVMetaData
  datasize : Number
The data size of the video.
FLVMetaData
  duration : Number
Length of the FLV in seconds.
FLVMetaData
  filesize : Number
The size of the file.
FLVMetaData
  framerate : Number
The framerate of the video.
FLVMetaData
  height : Number
Height of the video in pixels.
FLVMetaData
 Inheritedid : *
(read-write) Indicates the id of this IValueObject.
SimpleValueObject
  keyframes : Object
This object is added only if you specify the /k switch.
FLVMetaData
  lastkeyframetimestamp : Number
TimeStamp of the last video tag which is a key frame.
FLVMetaData
  lasttimestamp : Number
TimeStamp of the last tag in the FLV file.
FLVMetaData
  metadatacreator : Date
Date and time metadata added.
FLVMetaData
  metadatadate : Date
The metadata date of the video.
FLVMetaData
  seekPoints : Array
An array that lists the available keyframes as timestamps in milliseconds.
FLVMetaData
  tags : Array
An array of key-value pairs that represent the information in the “ilst” atom, which is the equivalent of ID3 tags for MP4 files.
FLVMetaData
  trackinfo : *
Object that provides information on all the tracks in the MP4 file, including their sample description ID.
FLVMetaData
  videocodecid : *
A string that is the codec version that was used to encode the video.
FLVMetaData
  videodatarate : Number
The video data rate (Defaults to 0).
FLVMetaData
  videoframerate : Number
Framerate of the MP4 video.
FLVMetaData
  videosize : Number
The video data size.
FLVMetaData
  width : Number
A number that is the width of the FLV file, in pixels.
FLVMetaData
  xtradata : String
Additional string data if specified.
FLVMetaData
Public Methods
 MethodDefined by
  
FLVMetaData(init:Object = null)
Creates a new FLVMetaData object.
FLVMetaData
 Inherited
equals(o:*):Boolean
Compares the specified object with this object for equality.
SimpleValueObject
 Inherited
Returns the internal ILogger reference of this ILogable object.
CoreObject
 Inherited
hashCode():uint
Returns a hashcode value for the object.
CoreObject
 Inherited
setLogger(log:ILogger = null):void
Sets the internal ILogger reference of this ILogable object.
CoreObject
 Inherited
toSource(indent:int = 0):String
Returns the string representation the source code of the object.
CoreObject
 Inherited
toString():String
Returns the String representation of this object.
SimpleValueObject
Property detail
aacaotproperty
public var aacaot:int

The AAC audio object type; 0, 1, or 2 are supported.

audiocodecidproperty 
public var audiocodecid:*

Audio codec ID number used in the FLV. (Uncompressed = 0, ADPCM = 1, MP3 = 2, NellyMoser = 5 and 6).

See also

audiodatarateproperty 
public var audiodatarate:Number

A number that indicates the rate at which audio was encoded, in kilobytes per second. (Defaults to 0).

audiodelayproperty 
public var audiodelay:Number

A number that indicates what time in the FLV file "time 0" of the original FLV file exists. The video content needs to be delayed by a small amount to properly synchronize the audio.

Audio delay in seconds. Flash 8 encoder delays the video for better synch with audio.

(Audio and video does not start both at time 0, Video starts a bit later).

This value is also important for Flash 8 Video Encoder injected Cue Points, because logical time of the cue points does not correspond to physical time they are inserted in the FLV. (Cue points are injected before encoding, when the video is shifted by 'audio delay' seconds, cue points are also shifted and their physical time in the FLV changes).

audiosizeproperty 
public var audiosize:Number

The audio data size.

avclevelproperty 
public var avclevel:Number

AVC IDC level number such as 10, 11, 20, 21, and so on.

avcprofileproperty 
public var avcprofile:Number

AVC profile number such as 55, 77, 100, and so on.

canSeekToEndproperty 
public var canSeekToEnd:Boolean

A Boolean value that is true if the FLV file is encoded with a keyframe on the last frame, which allows seeking to the end of a progressive -download video file.

It is false if the FLV file is not encoded with a keyframe on the last frame.

It is true if the last video tag is a key frame and hence can be 'seek'ed.

creationdateproperty 
public var creationdate:String

The date of creation of the video.

cuePointsproperty 
public var cuePoints:Array

An array of objects, one for each cue point embedded in the FLV file. Value is undefined if the FLV file does not contain any cue points. Each object has the following properties :

datasizeproperty 
public var datasize:Number

The data size of the video.

durationproperty 
public var duration:Number

Length of the FLV in seconds. FLVMDI computes this value for example.

filesizeproperty 
public var filesize:Number

The size of the file.

framerateproperty 
public var framerate:Number

The framerate of the video.

heightproperty 
public var height:Number

Height of the video in pixels. (Flash exporter 1.1 sets this to 0).

keyframesproperty 
public var keyframes:Object

This object is added only if you specify the /k switch. 'keyframes' is known to FLVMDI and if /k switch is not specified, 'keyframes' object will be deleted. 'keyframes' object has 2 arrays : 'filepositions' and 'times'. Both arrays have the same number of elements, which is equal to the number of key frames in the FLV. Values in times array are in 'seconds'. Each correspond to the timestamp of the n'th key frame. Values in filepositions array are in 'bytes'. Each correspond to the fileposition of the nth key frame video tag (which starts with byte tag type 9).

lastkeyframetimestampproperty 
public var lastkeyframetimestamp:Number

TimeStamp of the last video tag which is a key frame. This info might be needed because seeking a frame after this time usually does not work.

lasttimestampproperty 
public var lasttimestamp:Number

TimeStamp of the last tag in the FLV file.

metadatacreatorproperty 
public var metadatacreator:Date

Date and time metadata added. (Note that this is not of type string like 'creationdate').

metadatadateproperty 
public var metadatadate:Date

The metadata date of the video.

seekPointsproperty 
public var seekPoints:Array

An array that lists the available keyframes as timestamps in milliseconds. Optional.

tagsproperty 
public var tags:Array

An array of key-value pairs that represent the information in the “ilst” atom, which is the equivalent of ID3 tags for MP4 files. iTunes uses these tags. Can be used to display artwork, if available.

trackinfoproperty 
public var trackinfo:*

Object that provides information on all the tracks in the MP4 file, including their sample description ID.

videocodecidproperty 
public var videocodecid:*

A string that is the codec version that was used to encode the video. - for example, “avc1” or “VP6F”.

In the old version, is a Video codec ID number used in the FLV. (Sorenson H.263 =2, Screen Video =3, On2 VP6 = 4 and 5, Screen Video V2 = 6).

videodatarateproperty 
public var videodatarate:Number

The video data rate (Defaults to 0).

videoframerateproperty 
public var videoframerate:Number

Framerate of the MP4 video.

videosizeproperty 
public var videosize:Number

The video data size.

widthproperty 
public var width:Number

A number that is the width of the FLV file, in pixels. (Flash exporter 1.1 sets this to 0).

xtradataproperty 
public var xtradata:String

Additional string data if specified.

Constructor detail
FLVMetaData()constructor
public function FLVMetaData(init:Object = null)

Creates a new FLVMetaData object.

Parameters
init:Object (default = null) — An object with all MetaData properties to fill this instance.