Class MediaStreamParser
Handles conversion of string values from ffmpeg outputs.
Inheritance
System.Object
MediaStreamParser
Namespace: Emby.Media.Common.DataConversion
Assembly: Emby.Media.Model.dll
Syntax
public static class MediaStreamParser
Remarks
See example at the bottom.
Methods
ParsePixelFormat(String, String, ParsingContext)
Declaration
public static PixelFormat ParsePixelFormat(string value, string propertyName, ParsingContext ctx)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | |
System.String | propertyName | |
ParsingContext | ctx |
Returns
Type | Description |
---|---|
PixelFormat |
ParseStreamProperties(MediaStream, StreamBase)
Declaration
public static bool ParseStreamProperties(MediaStream sourceStream, StreamBase targetStream)
Parameters
Type | Name | Description |
---|---|---|
MediaStream | sourceStream | |
StreamBase | targetStream |
Returns
Type | Description |
---|---|
System.Boolean |