Property ForceValidateAllStreams
ForceValidateAllStreams
Gets or initializes a value indicating whether to force validation of all streams, as opposed to assuming they're valid.
This can be useful to catch potentially invalid streams or other issues that might cause problems during playback, or potentially indicate a malicious stream (e.g., maybe some players interpret that particular invalid sequence in a problematic way), but has a significant performance impact (i.e., slower processing) due to requiring to decode all streams, compared to assuming they're valid and using the copy codec where possible (the performance difference is lower as a percent when re-encoding is already required).
Note: when enabled, duration is also validated based on the actual measured duration of each stream, rather than just the claimed duration.
It can be safe to disable this when the source video is from a trusted source, if you prefer better performance over ensuring catching potential errors.
Default is true.
Declaration
public bool ForceValidateAllStreams { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |