Interface VideoMetadata.Builder

    • Method Detail

      • codec

        VideoMetadata.Builder codec​(String codec)

        Type of compression used in the analyzed video.

        Parameters:
        codec - Type of compression used in the analyzed video.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • durationMillis

        VideoMetadata.Builder durationMillis​(Long durationMillis)

        Length of the video in milliseconds.

        Parameters:
        durationMillis - Length of the video in milliseconds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • format

        VideoMetadata.Builder format​(String format)

        Format of the analyzed video. Possible values are MP4, MOV and AVI.

        Parameters:
        format - Format of the analyzed video. Possible values are MP4, MOV and AVI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • frameRate

        VideoMetadata.Builder frameRate​(Float frameRate)

        Number of frames per second in the video.

        Parameters:
        frameRate - Number of frames per second in the video.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • frameHeight

        VideoMetadata.Builder frameHeight​(Long frameHeight)

        Vertical pixel dimension of the video.

        Parameters:
        frameHeight - Vertical pixel dimension of the video.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • frameWidth

        VideoMetadata.Builder frameWidth​(Long frameWidth)

        Horizontal pixel dimension of the video.

        Parameters:
        frameWidth - Horizontal pixel dimension of the video.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • colorRange

        VideoMetadata.Builder colorRange​(String colorRange)

        A description of the range of luminance values in a video, either LIMITED (16 to 235) or FULL (0 to 255).

        Parameters:
        colorRange - A description of the range of luminance values in a video, either LIMITED (16 to 235) or FULL (0 to 255).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VideoColorRange, VideoColorRange
      • colorRange

        VideoMetadata.Builder colorRange​(VideoColorRange colorRange)

        A description of the range of luminance values in a video, either LIMITED (16 to 235) or FULL (0 to 255).

        Parameters:
        colorRange - A description of the range of luminance values in a video, either LIMITED (16 to 235) or FULL (0 to 255).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VideoColorRange, VideoColorRange