Class AVCodecOptions

    • Constructor Detail

      • AVCodecOptions

        public AVCodecOptions()
    • Method Detail

      • strict

        public AVCodecOptions strict​(java.lang.String strictTypeName)
      • bitRate

        public AVCodecOptions bitRate​(AVStreamType streamType,
                                      java.lang.Integer bitRate)
        Set bitrate (in kbits/s). CMD: ‘-b[:stream_specifier] integer (output,audio,video)’
      • bitRate

        public AVCodecOptions bitRate​(java.lang.Integer bitRate)
      • videoBitRateTolerance

        public AVCodecOptions videoBitRateTolerance​(AVStreamType streamType,
                                                    java.lang.Integer bitRate)
        Set video bitrate tolerance (in kbits/s). In 1-pass mode, bitrate tolerance specifies how far ratecontrol is willing to deviate from the target average bitrate value. This is not related to minimum/maximum bitrate. Lowering tolerance too much has an adverse effect on quality. CMD: ‘-bt[:stream_specifier] integer (output,video)’
      • videoBitRateTolerance

        public AVCodecOptions videoBitRateTolerance​(java.lang.Integer bitRate)
      • motionEstimationMethod

        public AVCodecOptions motionEstimationMethod​(AVStreamType streamType,
                                                     AVMotionEstimationType motionEstimationType)
        Set motion estimation method. CMD: ‘-me_method[:stream_specifier] integer (output,video)’
      • motionEstimationMethod

        public AVCodecOptions motionEstimationMethod​(AVStreamType streamType,
                                                     java.lang.String motionEstimationType)
      • motionEstimationMethod

        public AVCodecOptions motionEstimationMethod​(java.lang.String motionEstimationType)
      • debug

        public AVCodecOptions debug​(AVDebugInfoType debugInfoType)
        Print specific debug info. CMD: ‘-debug[:stream_specifier] flags (input/output,audio,video,subtitles)’
      • debug

        public AVCodecOptions debug​(java.lang.String debugInfoTypeName)
      • codecFlags

        public AVCodecOptions codecFlags​(java.lang.String flagTypeName)
      • groupOfPictures

        public AVCodecOptions groupOfPictures​(AVStreamType streamType,
                                              java.lang.Integer gopSize)
        Set the group of picture (GOP) size. CMD: ‘-g[:stream_specifier] integer (output,video)’
      • groupOfPictures

        public AVCodecOptions groupOfPictures​(java.lang.Integer gopSize)
      • cutOffBandwidth

        public AVCodecOptions cutOffBandwidth​(AVStreamType streamType,
                                              java.lang.Integer bandwidth)
        Set cutoff bandwidth. CMD: ‘-cutoff[:stream_specifier] integer (output,audio)’
      • cutOffBandwidth

        public AVCodecOptions cutOffBandwidth​(java.lang.Integer bandwidth)
      • frameSize

        public AVCodecOptions frameSize​(java.lang.Integer size)