Enum EncryptionFormat
- Namespace
- VisioForge.Core.Types.Output
- Assembly
- VisioForge.Core.dll
Specifies the supported encryption formats for secure media output. This enumeration defines the available combinations of container formats, video codecs, and audio codecs that can be used for encrypted media streams.
public enum EncryptionFormatFields
MP4_H264_SW_AAC = 0-
MP4 container with H.264 video codec using CPU encoding and AAC audio codec. This format provides broad compatibility across devices and platforms with software-based encoding for reliable operation on any system.
This is the recommended format for:
- Maximum compatibility across devices
- Systems without hardware acceleration
- Long-term archival storage
- When consistent quality is more important than encoding speed
Performance characteristics:
- Slower encoding speed (CPU-based)
- High compatibility
- Consistent quality output
- Lower power consumption than GPU acceleration
MP4_H264_CUDA_AAC_DEPRECATED = 1-
[DEPRECATED] MP4 format with H.264 video codec using NVIDIA CUDA acceleration and AAC audio. This format has been removed from the current SDK version and should not be used in new implementations.
This format was deprecated due to:
- Limited hardware compatibility
- Maintenance complexity
- Better alternatives available in newer SDK versions
For hardware-accelerated encoding, consider using the current hardware acceleration options available through other output format configurations.
Remarks
The encryption format determines the overall structure and codec configuration for encrypted media output. Each format specifies a specific combination of:
- Container format (e.g., MP4)
- Video codec and encoding method (e.g., H.264 software/hardware)
- Audio codec (e.g., AAC)
Choose the format that best matches your target platform capabilities and performance requirements. Hardware-accelerated options provide better performance but may not be available on all systems.