Class TimeExtensions
Extension methods
Inheritance
System.Object
TimeExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System
Assembly: Xabe.FFmpeg.dll
Syntax
public static class TimeExtensions
Methods
ParseFFmpegTime(String)
Parse FFmpeg formated time
Declaration
public static TimeSpan ParseFFmpegTime(this string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | FFmpeg time |
Returns
Type | Description |
---|---|
System.TimeSpan | TimeSpan |
ToFFmpeg(TimeSpan)
Return ffmpeg formatted time
Declaration
public static string ToFFmpeg(this TimeSpan ts)
Parameters
Type | Name | Description |
---|---|---|
System.TimeSpan | ts | TimeSpan |
Returns
Type | Description |
---|---|
System.String | FFmpeg formated time |