DOKK / manpages / debian 11 / sreview-common / SReview::Normalizer.3pm.en
SReview::Normalizer(3pm) User Contributed Perl Documentation SReview::Normalizer(3pm)

SReview::Normalizer - normalize the audio of a video asset.

  SReview::Normalizer->new(input => SReview::Video->new(...), output => SReview::Video->new(...))->run();

"SReview::Normalizer" is a class to normalize the audio of a given SReview::Video asset, using bs1770gain at its default settings.

It looks at the "command_tune" configuration parameter to decide whether to pass the "--suffix" option to bs1770gain: if the installed version of "bs1770gain" is at 0.5 or below, set the "bs1770gain" key of "command_tune" to 0.5 to remove the "--suffix" parameter from the command line (which is required for 0.6 or above, but not supported by 0.5 or below).

The following attributes are supported by SReview::Normalizer.

An SReview::Video object for which the audio should be normalized.

Required.

An SReview::Video object that the normalized audio should be written to, together with the video from the input file.

Required. Must point to a .mkv file.

Performs the normalization.

2021-01-31 perl v5.32.0