#[non_exhaustive]pub struct NexGuardFileMarkerSettings {
pub license: Option<String>,
pub payload: Option<i32>,
pub preset: Option<String>,
pub strength: Option<WatermarkingStrength>,
}
Expand description
For forensic video watermarking, MediaConvert supports Nagra NexGuard File Marker watermarking. MediaConvert supports both PreRelease Content (NGPR/G2) and OTT Streaming workflows.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.license: Option<String>
Use the base64 license string that Nagra provides you. Enter it directly in your JSON job specification or in the console. Required when you include Nagra NexGuard File Marker watermarking in your job.
payload: Option<i32>
Specify the payload ID that you want associated with this output. Valid values vary depending on your Nagra NexGuard forensic watermarking workflow. Required when you include Nagra NexGuard File Marker watermarking in your job. For PreRelease Content (NGPR/G2), specify an integer from 1 through 4,194,303. You must generate a unique ID for each asset you watermark, and keep a record of which ID you have assigned to each asset. Neither Nagra nor MediaConvert keep track of the relationship between output files and your IDs. For OTT Streaming, create two adaptive bitrate (ABR) stacks for each asset. Do this by setting up two output groups. For one output group, set the value of Payload ID to 0 in every output. For the other output group, set Payload ID to 1 in every output.
preset: Option<String>
Enter one of the watermarking preset strings that Nagra provides you. Required when you include Nagra NexGuard File Marker watermarking in your job.
strength: Option<WatermarkingStrength>
Optional. Ignore this setting unless Nagra support directs you to specify a value. When you don’t specify a value here, the Nagra NexGuard library uses its default value.
Implementations§
source§impl NexGuardFileMarkerSettings
impl NexGuardFileMarkerSettings
sourcepub fn license(&self) -> Option<&str>
pub fn license(&self) -> Option<&str>
Use the base64 license string that Nagra provides you. Enter it directly in your JSON job specification or in the console. Required when you include Nagra NexGuard File Marker watermarking in your job.
sourcepub fn payload(&self) -> Option<i32>
pub fn payload(&self) -> Option<i32>
Specify the payload ID that you want associated with this output. Valid values vary depending on your Nagra NexGuard forensic watermarking workflow. Required when you include Nagra NexGuard File Marker watermarking in your job. For PreRelease Content (NGPR/G2), specify an integer from 1 through 4,194,303. You must generate a unique ID for each asset you watermark, and keep a record of which ID you have assigned to each asset. Neither Nagra nor MediaConvert keep track of the relationship between output files and your IDs. For OTT Streaming, create two adaptive bitrate (ABR) stacks for each asset. Do this by setting up two output groups. For one output group, set the value of Payload ID to 0 in every output. For the other output group, set Payload ID to 1 in every output.
sourcepub fn preset(&self) -> Option<&str>
pub fn preset(&self) -> Option<&str>
Enter one of the watermarking preset strings that Nagra provides you. Required when you include Nagra NexGuard File Marker watermarking in your job.
sourcepub fn strength(&self) -> Option<&WatermarkingStrength>
pub fn strength(&self) -> Option<&WatermarkingStrength>
Optional. Ignore this setting unless Nagra support directs you to specify a value. When you don’t specify a value here, the Nagra NexGuard library uses its default value.
source§impl NexGuardFileMarkerSettings
impl NexGuardFileMarkerSettings
sourcepub fn builder() -> NexGuardFileMarkerSettingsBuilder
pub fn builder() -> NexGuardFileMarkerSettingsBuilder
Creates a new builder-style object to manufacture NexGuardFileMarkerSettings
.
Trait Implementations§
source§impl Clone for NexGuardFileMarkerSettings
impl Clone for NexGuardFileMarkerSettings
source§fn clone(&self) -> NexGuardFileMarkerSettings
fn clone(&self) -> NexGuardFileMarkerSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NexGuardFileMarkerSettings
impl Debug for NexGuardFileMarkerSettings
source§impl PartialEq for NexGuardFileMarkerSettings
impl PartialEq for NexGuardFileMarkerSettings
source§fn eq(&self, other: &NexGuardFileMarkerSettings) -> bool
fn eq(&self, other: &NexGuardFileMarkerSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NexGuardFileMarkerSettings
Auto Trait Implementations§
impl Freeze for NexGuardFileMarkerSettings
impl RefUnwindSafe for NexGuardFileMarkerSettings
impl Send for NexGuardFileMarkerSettings
impl Sync for NexGuardFileMarkerSettings
impl Unpin for NexGuardFileMarkerSettings
impl UnwindSafe for NexGuardFileMarkerSettings
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more