Interface Video.Builder

    • Method Detail

      • width

        Video.Builder width​(Integer width)

        Video-resolution width. This must be an even number. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 1280.

        Parameters:
        width - Video-resolution width. This must be an even number. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 1280.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • height

        Video.Builder height​(Integer height)

        Video-resolution height. This must be an even number. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720.

        Parameters:
        height - Video-resolution height. This must be an even number. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • framerate

        Video.Builder framerate​(Float framerate)

        Video frame rate, in fps. Default: 30.

        Parameters:
        framerate - Video frame rate, in fps. Default: 30.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bitrate

        Video.Builder bitrate​(Integer bitrate)

        Bitrate for generated output, in bps. Default: 2500000.

        Parameters:
        bitrate - Bitrate for generated output, in bps. Default: 2500000.
        Returns:
        Returns a reference to this object so that method calls can be chained together.