VirtualBox

Ignore:
Timestamp:
Nov 6, 2018 10:20:06 AM (6 years ago)
Author:
vboxsync
Message:

Capturing: Added more per-screen attributes, such as audio parameters, video scaling and video rate control modes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r75258 r75269  
    47664766  </enum>
    47674767
     4768  <enum
     4769    name="CaptureVideoScalingMethod"
     4770    uuid="17DA29A9-3F41-482E-A9BB-3D183BA3EE59"
     4771    >
     4772    <desc>
     4773      Capturing video scaling method enumeration.
     4774    </desc>
     4775
     4776    <const name="None"                  value="0">
     4777      <desc>No scaling performed.</desc>
     4778    </const>
     4779    <const name="NearestNeighbor"       value="1">
     4780      <desc>Performs scaling via nearest-neighbor interpolation.
     4781        Not yet implemented.</desc>
     4782    </const>
     4783    <const name="Bilinear"              value="2">
     4784      <desc>Performs scaling via bilinear interpolation.
     4785        Not yet implemented.</desc>
     4786    </const>
     4787    <const name="Bicubic"               value="3">
     4788      <desc>Performs scaling via bicubic interpolation.
     4789        Not yet implemented.</desc>
     4790    </const>
     4791  </enum>
     4792
     4793  <enum
     4794    name="CaptureVideoRateControlMode"
     4795    uuid="5D392E29-04EC-4FD7-989C-82452F54414C"
     4796    >
     4797    <desc>
     4798      Capturing video rate control mode enumeration.
     4799    </desc>
     4800
     4801    <const name="CBR" value="0">
     4802      <desc>Constant bit rate (CBR).</desc>
     4803    </const>
     4804    <const name="VBR" value="1">
     4805      <desc>Variable bit rate (VBR). Not yet implemented.</desc>
     4806    </const>
     4807  </enum>
     4808
    47684809  <interface
    47694810    name="ICaptureScreenSettings" extends="$unknown"
    4770     uuid="9C8FE192-DD9A-45E9-B17B-2BA23B5951F7"
     4811    uuid="17DA29A9-3F41-482E-A9BB-3D183BA3EE59"
    47714812    wsmap="managed"
    47724813    >
     
    48594900    </attribute>
    48604901
     4902    <attribute name="audioCodec" type="CaptureAudioCodec">
     4903      <desc>
     4904        Determines the audio codec to use for encoding the
     4905        recorded audio data. This setting cannot be changed while capturing is
     4906        enabled.
     4907      </desc>
     4908    </attribute>
     4909
     4910    <attribute name="audioHz" type="unsigned long" default="22050">
     4911      <desc>
     4912        Determines the Hertz (Hz) rate of the recorded audio data. This setting
     4913        cannot be changed while capturing is enabled.
     4914      </desc>
     4915    </attribute>
     4916
     4917    <attribute name="audioBits" type="unsigned long" default="16">
     4918      <desc>
     4919        Determines the bits per sample of the recorded audio data. This setting
     4920        cannot be changed while capturing is enabled.
     4921      </desc>
     4922    </attribute>
     4923
     4924    <attribute name="audioChannels" type="unsigned long" default="2">
     4925      <desc>
     4926        Determines the audio channels of the recorded audio data.
     4927        Specifiy 2 for stereo or 1 for mono. More than stereo (2) channels
     4928        are not supported at the moment. This setting cannot be changed while
     4929        capturing is enabled.
     4930      </desc>
     4931    </attribute>
     4932
     4933    <attribute name="videoCodec" type="CaptureVideoCodec">
     4934      <desc>
     4935        Determines the video codec to use for encoding the recorded video data.
     4936        This setting cannot be changed while capturing is enabled.
     4937      </desc>
     4938    </attribute>
     4939
    48614940    <attribute name="videoWidth" type="unsigned long" default="1024">
    48624941      <desc>
    4863         This setting determines the horizontal resolution of the recorded
    4864         video. This setting cannot be changed while capturing is enabled.
     4942        Determines the horizontal resolution of the recorded video data. This
     4943        setting cannot be changed while capturing is enabled.
    48654944      </desc>
    48664945    </attribute>
     
    48684947    <attribute name="videoHeight" type="unsigned long" default="768">
    48694948      <desc>
    4870         This setting determines the vertical resolution of the recorded
    4871         video. This setting cannot be changed while capturing is enabled.
     4949        Determines the vertical resolution of the recorded video data. This
     4950        setting cannot be changed while capturing is enabled.
    48724951      </desc>
    48734952    </attribute>
     
    48754954    <attribute name="videoRate" type="unsigned long" default="512">
    48764955      <desc>
    4877         This setting determines the bitrate in kilobits per second.
    4878         Increasing this value makes the video look better for the
    4879         cost of an increased file size. This setting cannot be changed
     4956        Determines the bitrate in kilobits per second. Increasing this value
     4957        makes the video look better for the cost of an increased file size or
     4958        transfer rate. This setting cannot be changed while capturing is enabled.
     4959      </desc>
     4960    </attribute>
     4961
     4962    <attribute name="videoRateControlMode" type="CaptureVideoRateControlMode">
     4963      <desc>
     4964        Determines the rate control mode. This setting cannot be changed
    48804965        while capturing is enabled.
    48814966      </desc>
     
    48844969    <attribute name="videoFPS" type="unsigned long" default="25">
    48854970      <desc>
    4886         This setting determines the maximum number of frames per second.
    4887         Frames with a higher frequency will be skipped. Reducing this
    4888         value increases the number of skipped frames and reduces the
    4889         file size. This setting cannot be changed while capturing
    4890         is enabled.
     4971        Determines the maximum number of frames per second (FPS). Frames with
     4972        a higher frequency will be skipped. Reducing this value increases the
     4973        number of skipped frames and reduces the file size or transfer rate.
     4974        This setting cannot be changed while capturing is enabled.
     4975      </desc>
     4976    </attribute>
     4977
     4978    <attribute name="videoScalingMethod" type="CaptureVideoScalingMethod">
     4979      <desc>
     4980        Determines the video scaling method to use.
     4981        This setting cannot be changed while capturing is enabled.
    48914982      </desc>
    48924983    </attribute>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette