Video File
Video File
Video File is an input node which will scan a file and load the Video Information (codecs/tracks etc) for processing in the flow.
Probe Size
The probe size to use in FFMPEG when executing in megabytes.
Analyze Duration
Specify how many seconds are analyzed to probe the input.
Variables
Variable | Description | Type | Example |
---|---|---|---|
video.VideoInfo | VideoInfo object | object | See Below |
video.Width | Width of video | number | 1920 |
video.Height | Height of video | number | 1080 |
video.Duration | Duration of video in seconds | number | 60 |
video.Video.Codec | Codec of video | string | hevc |
video.Audio.Codec | Codec of audio | string | eac3 |
video.Audio.Channels | Number of audio channels of first audio track | number | 5.1 |
video.Audio.Language | Language of audio of first audio track | string | en |
video.Audio.Codecs | List of all audio of audio tracks | string | eac3, ac3, aac, dts |
video.Audio.Languages | List of all of audio track languages | string | en, deu, mao |
video.Resolution | Computed resolution of file (4K, 1080p, 720p, 480p, SD) | string | 4K |
video.HDR | If the video is HDR or not | bool | true |
video.FPS | The videos frames per second | number | 29.97 |
class VideoInfo{FileName: string;Bitrate: number;VideoStreams: VideoStream[];AudioStreams: AudioStream[];SubtitleStreams: SubtitleStream[];Chapters: Chapter[];}class VideoFileStream{// overall index of this streamIndex: number;// the index relative to the stream typeTypeIndex: number;// the title of hte videoTitle: string;// the video bitrateBitrate: number;// the codec usedCodec: string;// if this stream is an image streamIsImage: boolean;// the formated index as a FFmpeg stringIndexString: string;// the index of the input fileInputFileIndex: number;}class VideoStream extends VideoFileStream{// if this is HDR or notHDR: boolean;// if this is dolby vision or notDolbyVision: boolean;// the width in pixelsWidth: number;// the height in pixelsHeight: number;// the number of frames per secondFramesPerSecond: number;// the duration of the video in secondsDuration: number;// the bits of the video if detected, 0 if undetectedBits: number;}class AudioStream extends VideoFileStream{Language: string;Channels: number;Duration: number;SampleRate: number;}class SubtitleStream extends VideoFileStream{Language: string;Forced: boolean;}class Chapter{Title: string;Start: number;End: number;}