Show / Hide Table of Contents

Enum EncodingProfile

(experimental) Encoding profiles supported when transcoding an NDI source to a transport stream.

Namespace: Amazon.CDK.AWS.MediaConnect.Alpha
Assembly: Amazon.CDK.AWS.MediaConnect.Alpha.dll
Syntax (csharp)
public enum EncodingProfile
Syntax (vb)
Public Enum EncodingProfile
Remarks

Stability: Experimental

ExampleMetadata: infused

Examples
Stack stack;
             VpcInterfaceConfig ndiVpcInterface;
             VpcInterfaceConfig efaInterface;
             MediaStream videoStream;


             // NDI requires LARGE, an encoding profile, and at least one discovery server
             // NDI requires LARGE, an encoding profile, and at least one discovery server
             new Flow(stack, "NdiFlow", new FlowProps {
                 FlowSize = FlowSize.LARGE,
                 NdiConfig = new NdiConfig {
                     NdiState = State.ENABLED,
                     NdiDiscoveryServers = new [] { new NdiDiscoveryServerConfig {
                         DiscoveryServerAddress = "10.0.0.10",
                         VpcInterface = ndiVpcInterface
                     } }
                 },
                 EncodingConfig = new EncodingConfig {
                     EncodingProfile = EncodingProfile.CONTRIBUTION_H264_DEFAULT
                 },
                 Source = SourceConfiguration.Ndi(new SourceNdi {
                     FlowSourceName = "ndi-source"
                 })
             });

             // CDI and JPEG XS require LARGE_4X
             // CDI and JPEG XS require LARGE_4X
             new Flow(stack, "CdiFlow", new FlowProps {
                 FlowSize = FlowSize.LARGE_4X,
                 VpcInterfaces = new [] { efaInterface },
                 MediaStreams = new [] { videoStream },
                 Source = SourceConfiguration.Cdi(new SourceCdi {
                     FlowSourceName = "cdi-source",
                     VpcInterface = efaInterface,
                     Port = 5000,
                     MaxSyncBuffer = 100,
                     MediaStreamSourceConfigurations = new [] { new MediaStreamSourceConfigurationCdi {
                         Encoding = Encoding.RAW,
                         MediaStream = videoStream
                     } }
                 })
             });

Synopsis

Fields

CONTRIBUTION_H264_DEFAULT

(experimental) H.264 profile tuned for contribution workflows — higher quality, higher bitrate.

DISTRIBUTION_H264_DEFAULT

(experimental) H.264 profile tuned for distribution workflows — lower bitrate, wider compatibility.

Fields

Name Description
CONTRIBUTION_H264_DEFAULT

(experimental) H.264 profile tuned for contribution workflows — higher quality, higher bitrate.

DISTRIBUTION_H264_DEFAULT

(experimental) H.264 profile tuned for distribution workflows — lower bitrate, wider compatibility.

Back to top Generated by DocFX