Module documentation
Input
- Name
inputFile
- Type
- string
- Description
Media file to be processed.
Output
- Name
mediaSize
- Type
- number
- Description
File size
- Name
mediaType
- Type
- string
- Description
Detected media type (Audio or Video)
- Name
audioCodec
- Type
- string
- Description
- Name
mediaCover
- Type
- string
- Description
Image containing the cover art
- Name
videoCodec
- Type
- string
- Description
- Name
videoRatio
- Type
- string
- Description
- Name
videoWidth
- Type
- number
- Description
- Name
mediaFormat
- Type
- string
- Description
- Name
videoFrames
- Type
- number
- Description
- Name
videoHeight
- Type
- number
- Description
- Name
audioBitRate
- Type
- number
- Description
- Name
metadataDate
- Type
- string
- Description
- Name
videoBitRate
- Type
- number
- Description
- Name
audioChannels
- Type
- number
- Description
Total channels
- Name
mediaDuration
- Type
- number
- Description
Content duration
- Name
metadataAlbum
- Type
- string
- Description
- Name
metadataGenre
- Type
- string
- Description
- Name
metadataTitle
- Type
- string
- Description
- Name
metadataArtist
- Type
- string
- Description
- Name
audioSampleRate
- Type
- number
- Description
- Name
metadataAllTags
- Type
- string
- Description
- Name
videoRealFrameRate
- Type
- string
- Description
- Name
audioChannelsLayout
- Type
- string
- Description
Channel layout represention (Eg: Mono)