google_youtube_api_v3/youtube/video_suggestions

DO NOT CHANGE, THIS IS AN AUTO GENERATED FILE FROM generate.gleam

Types

A list of video editing operations that might improve the video quality or playback experience of the uploaded video.

pub type EditorSuggestions {
  EditorSuggestionsVideoAutoLevels
  EditorSuggestionsVideoStabilize
  EditorSuggestionsVideoCrop
  EditorSuggestionsAudioQuietAudioSwap
}

Constructors

  • EditorSuggestionsVideoAutoLevels
  • EditorSuggestionsVideoStabilize
  • EditorSuggestionsVideoCrop
  • EditorSuggestionsAudioQuietAudioSwap

A list of errors that will prevent YouTube from successfully processing the uploaded video video. These errors indicate that, regardless of the video’s current processing status, eventually, that status will almost certainly be failed.

pub type ProcessingErrors {
  ProcessingErrorsAudioFile
  ProcessingErrorsImageFile
  ProcessingErrorsProjectFile
  ProcessingErrorsNotAvideoFile
  ProcessingErrorsDocFile
  ProcessingErrorsArchiveFile
  ProcessingErrorsUnsupportedSpatialAudioLayout
}

Constructors

  • ProcessingErrorsAudioFile
  • ProcessingErrorsImageFile
  • ProcessingErrorsProjectFile
  • ProcessingErrorsNotAvideoFile
  • ProcessingErrorsDocFile
  • ProcessingErrorsArchiveFile
  • ProcessingErrorsUnsupportedSpatialAudioLayout

A list of suggestions that may improve YouTube’s ability to process the video.

pub type ProcessingHints {
  ProcessingHintsNonStreamableMov
  ProcessingHintsSendBestQualityVideo
  ProcessingHintsSphericalVideo
  ProcessingHintsSpatialAudio
  ProcessingHintsVrVideo
  ProcessingHintsHdrVideo
}

Constructors

  • ProcessingHintsNonStreamableMov
  • ProcessingHintsSendBestQualityVideo
  • ProcessingHintsSphericalVideo
  • ProcessingHintsSpatialAudio
  • ProcessingHintsVrVideo
  • ProcessingHintsHdrVideo

A list of reasons why YouTube may have difficulty transcoding the uploaded video or that might result in an erroneous transcoding. These warnings are generated before YouTube actually processes the uploaded video file. In addition, they identify issues that are unlikely to cause the video processing to fail but that might cause problems such as sync issues, video artifacts, or a missing audio track.

pub type ProcessingWarnings {
  ProcessingWarningsUnknownContainer
  ProcessingWarningsUnknownVideoCodec
  ProcessingWarningsUnknownAudioCodec
  ProcessingWarningsInconsistentResolution
  ProcessingWarningsHasEditlist
  ProcessingWarningsProblematicVideoCodec
  ProcessingWarningsProblematicAudioCodec
  ProcessingWarningsUnsupportedVrStereoMode
  ProcessingWarningsUnsupportedSphericalProjectionType
  ProcessingWarningsUnsupportedHdrPixelFormat
  ProcessingWarningsUnsupportedHdrColorMetadata
  ProcessingWarningsProblematicHdrLookupTable
}

Constructors

  • ProcessingWarningsUnknownContainer
  • ProcessingWarningsUnknownVideoCodec
  • ProcessingWarningsUnknownAudioCodec
  • ProcessingWarningsInconsistentResolution
  • ProcessingWarningsHasEditlist
  • ProcessingWarningsProblematicVideoCodec
  • ProcessingWarningsProblematicAudioCodec
  • ProcessingWarningsUnsupportedVrStereoMode
  • ProcessingWarningsUnsupportedSphericalProjectionType
  • ProcessingWarningsUnsupportedHdrPixelFormat
  • ProcessingWarningsUnsupportedHdrColorMetadata
  • ProcessingWarningsProblematicHdrLookupTable

Specifies suggestions on how to improve video content, including encoding hints, tag suggestions, and editor suggestions.

pub type VideoSuggestions {
  VideoSuggestions(
    editor_suggestions: option.Option(List(EditorSuggestions)),
    processing_errors: option.Option(List(ProcessingErrors)),
    processing_hints: option.Option(List(ProcessingHints)),
    processing_warnings: option.Option(List(ProcessingWarnings)),
    tag_suggestions: option.Option(
      List(
        video_suggestions_tag_suggestion.VideoSuggestionsTagSuggestion,
      ),
    ),
  )
}

Constructors

Values

pub fn editor_suggestions_decoder() -> decode.Decoder(
  EditorSuggestions,
)
pub fn editor_suggestions_to_string(
  value: EditorSuggestions,
) -> String
pub fn processing_errors_decoder() -> decode.Decoder(
  ProcessingErrors,
)
pub fn processing_errors_to_string(
  value: ProcessingErrors,
) -> String
pub fn processing_hints_decoder() -> decode.Decoder(
  ProcessingHints,
)
pub fn processing_hints_to_string(
  value: ProcessingHints,
) -> String
pub fn processing_warnings_decoder() -> decode.Decoder(
  ProcessingWarnings,
)
pub fn processing_warnings_to_string(
  value: ProcessingWarnings,
) -> String
pub fn to_json(value: VideoSuggestions) -> json.Json
✨ Search Document