Class ProbeStreamParser
Handles conversion of string values from ffmpeg outputs.
Inheritance
System.Object
ProbeStreamParser
Namespace: Emby.Media.Common.DataConversion
Assembly: Emby.Media.Model.dll
Syntax
public static class ProbeStreamParser
Remarks
See example at the bottom.
Methods
GetAttachmentStreamTypeFromProbeStream(ProbeStream)
Declaration
public static AttachmentTypes GetAttachmentStreamTypeFromProbeStream(ProbeStream probeStream)
Parameters
| Type | Name | Description |
|---|---|---|
| ProbeStream | probeStream |
Returns
| Type | Description |
|---|---|
| AttachmentTypes |
ParseStreamProperties(ProbeStream, StreamBase)
Declaration
public static bool ParseStreamProperties(ProbeStream sourceStream, StreamBase targetStream)
Parameters
| Type | Name | Description |
|---|---|---|
| ProbeStream | sourceStream | |
| StreamBase | targetStream |
Returns
| Type | Description |
|---|---|
| System.Boolean |