Interface Video.Builder

    • Method Detail

      • 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.
      • 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.
      • height

        Video.Builder height​(Integer height)

        Video-resolution height. 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. 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.
      • width

        Video.Builder width​(Integer width)

        Video-resolution width. 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. 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.