Interface MediaInspectionOptions


public interface MediaInspectionOptions
Implementation-specific options for the media inspection service implementation The media inspection service API supports passing options to the media service implementation in form of key/value pairs that might be implementation-specific. In case an implementation cannot provide such an option, it is supposed to raise an exception.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Whether the media inspection service should determine the number of frames accurately.
  • Field Details

    • OPTION_ACCURATE_FRAME_COUNT

      static final String OPTION_ACCURATE_FRAME_COUNT
      Whether the media inspection service should determine the number of frames accurately. Accurate determination of the number of frames requires the stream to be fully decoded which imposes more workload than just reading the number of frames from the media header. This option is supposed to be useful when the exact number of frames is needed in case of media files that aren't in mint state so that the information from the media header may not be exact. Valid values are 'true' and 'false'
      See Also: