{-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE DerivingStrategies #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE PatternSynonyms #-} {-# LANGUAGE StrictData #-} {-# LANGUAGE NoImplicitPrelude #-} {-# OPTIONS_GHC -fno-warn-unused-imports #-} -- Derived from AWS service descriptions, licensed under Apache 2.0. -- | -- Module : Amazonka.MediaConvert.Types.H265GopSizeUnits -- Copyright : (c) 2013-2023 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions) module Amazonka.MediaConvert.Types.H265GopSizeUnits ( H265GopSizeUnits ( .., H265GopSizeUnits_AUTO, H265GopSizeUnits_FRAMES, H265GopSizeUnits_SECONDS ), ) where import qualified Amazonka.Core as Core import qualified Amazonka.Data as Data import qualified Amazonka.Prelude as Prelude -- | Specify how the transcoder determines GOP size for this output. We -- recommend that you have the transcoder automatically choose this value -- for you based on characteristics of your input video. To enable this -- automatic behavior, choose Auto (AUTO) and and leave GOP size (GopSize) -- blank. By default, if you don\'t specify GOP mode control -- (GopSizeUnits), MediaConvert will use automatic behavior. If your output -- group specifies HLS, DASH, or CMAF, set GOP mode control to Auto and -- leave GOP size blank in each output in your output group. To explicitly -- specify the GOP length, choose Specified, frames (FRAMES) or Specified, -- seconds (SECONDS) and then provide the GOP length in the related setting -- GOP size (GopSize). newtype H265GopSizeUnits = H265GopSizeUnits' { fromH265GopSizeUnits :: Data.Text } deriving stock ( Prelude.Show, Prelude.Read, Prelude.Eq, Prelude.Ord, Prelude.Generic ) deriving newtype ( Prelude.Hashable, Prelude.NFData, Data.FromText, Data.ToText, Data.ToByteString, Data.ToLog, Data.ToHeader, Data.ToQuery, Data.FromJSON, Data.FromJSONKey, Data.ToJSON, Data.ToJSONKey, Data.FromXML, Data.ToXML ) pattern H265GopSizeUnits_AUTO :: H265GopSizeUnits pattern H265GopSizeUnits_AUTO = H265GopSizeUnits' "AUTO" pattern H265GopSizeUnits_FRAMES :: H265GopSizeUnits pattern H265GopSizeUnits_FRAMES = H265GopSizeUnits' "FRAMES" pattern H265GopSizeUnits_SECONDS :: H265GopSizeUnits pattern H265GopSizeUnits_SECONDS = H265GopSizeUnits' "SECONDS" {-# COMPLETE H265GopSizeUnits_AUTO, H265GopSizeUnits_FRAMES, H265GopSizeUnits_SECONDS, H265GopSizeUnits' #-}