
ASP.NET Video Converter - VideoInfo Class
ASP.NET Video Converter returns both source media and published media information in the form of a video info object. here is all about the video info class and its properties.
VideoInfo class object is used to store video information that is retrieved from the video at the time of encoding video or getting information directly from the video.
Properties
List of available properties in VideoInfo class.
Properties | Type | Detail Information |
---|---|---|
FileName |
string | Returns filename of encoded video or media. |
vcodec |
string | Returns video codec information of encoded video or direct video. |
Acodec |
string | Returns audio codec information from the encoded video. |
SamplingRate |
string | Returns audio sampling rate of the published or direct video. |
Channel |
string | Returns encoded video audio channel information, e.g mono or stereo. |
Audio_Bitrate |
string | Returns audio bitrate of the encoded video in kb/s. |
Video_Bitrate |
string | Returns video bitrate of the encoded video in kb/s. |
Width |
int | Returns width of the published video. |
Height |
int | Returns height of the published video. |
FrameRate |
string | The returns frame rate of the published video in fps. |
Duration |
string | It returns the duration of the video in hh:mm: ss format. |
Duration_Sec |
double | Duration_Sec returns the duration of the video in seconds. e.g 120 seconds. |
Start |
string | It stores the start position of the video. |
ErrorCode |
int | It stores an error code if an error occurred while publishing the video or parsing video information. Detail about possible error codes returned by Media Handler Pro component. The default value is 0 which means video processing, publishing, encoding completed. |
ErrorMessage |
string | It stores detailed descriptions of errors. |
FFMPEGOutput |
string | Returns the complete output of FFMPEG. |
Input_Vcodec |
string | Returns video codec information of input (source video) in case of video publishing. |
Input_Acodec |
string | Returns audio codec information of input (source video) in case of video publishing. |
Input_Video_Bitrate |
string | Returns video bitrate information of input (source video) in case of video publishing. |
Input_Audio_Bitrate |
string | Returns audio bitrate information of input (source video) in case of video publishing. |
Input_SamplingRate |
string | Returns audio sampling rate information of input (source video) in case of video publishing. |
Input_Channel |
string | Returns audio channel information of input (source video) in case of video publishing. |
Input_Width |
string | Returns source video width in case of video encoding. |
Input_Height |
string | Returns source video height in case of video encoding. |
Input_FrameRate |
string | Returns video frame rate information of input (source video) in case of video publishing. |