Package net.bramp.ffmpeg.options
Class VideoEncodingOptions
java.lang.Object
net.bramp.ffmpeg.options.VideoEncodingOptions
Encoding options for video.
- Author:
- bramp
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal longDeprecated.final StringDeprecated.UsegetCodec()instead.final booleanDeprecated.UseisEnabled()instead.final StringDeprecated.UsegetFilter()instead.final FractionDeprecated.UsegetFrameRate()instead.final IntegerDeprecated.UsegetFrames()instead.final intDeprecated.UsegetHeight()instead.final StringDeprecated.UsegetPreset()instead.final intDeprecated.UsegetWidth()instead. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
enabled
Deprecated.UseisEnabled()instead.Whether encoding is enabled. -
codec
Deprecated.UsegetCodec()instead.The codec name. -
frame_rate
Deprecated.UsegetFrameRate()instead.The video frame rate. -
width
Deprecated.UsegetWidth()instead.The video width in pixels. -
height
Deprecated.UsegetHeight()instead.The video height in pixels. -
bit_rate
Deprecated.UsegetBitRate()instead.The bit rate. -
frames
Deprecated.UsegetFrames()instead.The number of video frames to encode. -
filter
Deprecated.UsegetFilter()instead.The video filter string. -
preset
Deprecated.UsegetPreset()instead.The encoding preset.
-
-
Constructor Details
-
VideoEncodingOptions
@ConstructorProperties({"enabled","codec","frame_rate","width","height","bit_rate","frames","video_filter","preset"}) public VideoEncodingOptions(boolean enabled, String codec, Fraction frame_rate, int width, int height, long bit_rate, Integer frames, String filter, String preset) Constructs video encoding options with the specified parameters.
-
-
Method Details
-
isEnabled
-
getCodec
-
getFrameRate
-
getWidth
-
getHeight
-
getBitRate
-
getFrames
-
getFilter
-
getPreset
-
getBitRate()instead.