Package | Description |
---|---|
org.bytedeco.ffmpeg.avcodec | |
org.bytedeco.ffmpeg.avdevice | |
org.bytedeco.ffmpeg.avfilter | |
org.bytedeco.ffmpeg.avformat | |
org.bytedeco.ffmpeg.avutil | |
org.bytedeco.ffmpeg.global |
Modifier and Type | Method and Description |
---|---|
AVRational |
AVCodecContext.framerate()
- decoding: For codecs that store a framerate value in the compressed
bitstream, the decoder may export it here.
|
AVRational |
AVCodecContext.pkt_timebase()
Timebase in which pkt_dts/pts and AVPacket.dts/pts are.
|
AVRational |
AVCodecParameters.sample_aspect_ratio()
Video only.
|
AVRational |
AVCodecContext.sample_aspect_ratio()
sample aspect ratio (0 if unknown)
That is the width of a pixel divided by the height of the pixel.
|
AVRational |
AVCodec.supported_framerates()
array of supported framerates, or NULL if any, array is terminated by {0,0}
|
AVRational |
AVBSFContext.time_base_in()
The timebase used for the timestamps of the input packets.
|
AVRational |
AVBSFContext.time_base_out()
The timebase used for the timestamps of the output packets.
|
AVRational |
AVCodecContext.time_base()
This is the fundamental unit of time (in seconds) in terms
of which frame timestamps are represented.
|
Modifier and Type | Method and Description |
---|---|
AVCodecContext |
AVCodecContext.framerate(AVRational setter) |
AVCodecContext |
AVCodecContext.pkt_timebase(AVRational setter) |
AVCodecParameters |
AVCodecParameters.sample_aspect_ratio(AVRational setter) |
AVCodecContext |
AVCodecContext.sample_aspect_ratio(AVRational setter) |
AVCodec |
AVCodec.supported_framerates(AVRational setter) |
AVBSFContext |
AVBSFContext.time_base_in(AVRational setter) |
AVBSFContext |
AVBSFContext.time_base_out(AVRational setter) |
AVCodecContext |
AVCodecContext.time_base(AVRational setter) |
Modifier and Type | Method and Description |
---|---|
AVRational |
AVDeviceCapabilitiesQuery.fps() |
Modifier and Type | Method and Description |
---|---|
AVDeviceCapabilitiesQuery |
AVDeviceCapabilitiesQuery.fps(AVRational setter) |
Modifier and Type | Method and Description |
---|---|
AVRational |
AVFilterLink.frame_rate()
Frame rate of the stream on the link, or 1/0 if unknown or variable;
if left to 0/0, will be automatically copied from the first input
of the source filter if it exists.
|
AVRational |
AVBufferSrcParameters.frame_rate()
Video only, the frame rate of the input video.
|
AVRational |
AVFilterLink.sample_aspect_ratio()
agreed upon sample aspect ratio
|
AVRational |
AVBufferSrcParameters.sample_aspect_ratio()
Video only, the sample (pixel) aspect ratio.
|
AVRational |
AVFilterLink.time_base()
Define the time base used by the PTS of the frames/samples
which will pass through this link.
|
AVRational |
AVBufferSrcParameters.time_base()
The timebase to be used for the timestamps on the input frames.
|
Modifier and Type | Method and Description |
---|---|
AVFilterLink |
AVFilterLink.frame_rate(AVRational setter) |
AVBufferSrcParameters |
AVBufferSrcParameters.frame_rate(AVRational setter) |
AVFilterLink |
AVFilterLink.sample_aspect_ratio(AVRational setter) |
AVBufferSrcParameters |
AVBufferSrcParameters.sample_aspect_ratio(AVRational setter) |
AVFilterLink |
AVFilterLink.time_base(AVRational setter) |
AVBufferSrcParameters |
AVBufferSrcParameters.time_base(AVRational setter) |
Modifier and Type | Method and Description |
---|---|
AVRational |
AVStream.avg_frame_rate()
Average framerate
- demuxing: May be set by libavformat when creating the stream or in
avformat_find_stream_info().
|
AVRational |
AVStream.display_aspect_ratio()
display aspect ratio (0 if unknown)
- encoding: unused
- decoding: Set by libavformat to calculate sample_aspect_ratio internally
|
AVRational |
AVStream.r_frame_rate()
Real base framerate of the stream.
|
AVRational |
AVStream.sample_aspect_ratio()
sample aspect ratio (0 if unknown)
- encoding: Set by user.
|
AVRational |
AVStream.time_base()
This is the fundamental unit of time (in seconds) in terms
of which frame timestamps are represented.
|
AVRational |
AVChapter.time_base()
time base in which the start/end timestamps are specified
|
Modifier and Type | Method and Description |
---|---|
AVStream |
AVStream.avg_frame_rate(AVRational setter) |
AVStream |
AVStream.display_aspect_ratio(AVRational setter) |
AVStream |
AVStream.r_frame_rate(AVRational setter) |
AVStream |
AVStream.sample_aspect_ratio(AVRational setter) |
AVStream |
AVStream.time_base(AVRational setter) |
AVChapter |
AVChapter.time_base(AVRational setter) |
Modifier and Type | Method and Description |
---|---|
AVRational |
AVHDRPlusColorTransformParams.average_maxrgb()
The average of linearized maxRGB values in the processing window in the
scene.
|
AVRational |
AVHDRPlusColorTransformParams.bezier_curve_anchors() |
AVRational |
AVHDRPlusColorTransformParams.bezier_curve_anchors(int i)
The intermediate anchor parameters of the tone mapping function in the
processing window in the scene.
|
AVRational |
AVHDRPlusColorTransformParams.color_saturation_weight()
The color saturation gain in the processing window in the scene.
|
AVRational |
AVOption.default_val_q() |
AVRational |
AVRational.den(int setter) |
AVRational |
AVMasteringDisplayMetadata.display_primaries() |
AVRational |
AVMasteringDisplayMetadata.display_primaries(int i,
int j)
CIE 1931 xy chromaticity coords of color primaries (r, g, b order).
|
AVRational |
AVHDRPlusColorTransformParams.fraction_bright_pixels()
The fraction of selected pixels in the image that contains the brightest
pixel in the scene.
|
AVRational |
AVHDRPlusColorTransformParams.knee_point_x()
The x coordinate of the separation point between the linear part and the
curved part of the tone mapping function.
|
AVRational |
AVHDRPlusColorTransformParams.knee_point_y()
The y coordinate of the separation point between the linear part and the
curved part of the tone mapping function.
|
AVRational |
AVDynamicHDRPlus.mastering_display_actual_peak_luminance() |
AVRational |
AVDynamicHDRPlus.mastering_display_actual_peak_luminance(int i,
int j)
The normalized actual peak luminance of the mastering display used for
mastering the image essence.
|
AVRational |
AVMasteringDisplayMetadata.max_luminance()
Max luminance of mastering display (cd/m^2).
|
AVRational |
AVHDRPlusColorTransformParams.maxscl() |
AVRational |
AVHDRPlusColorTransformParams.maxscl(int i)
The maximum of the color components of linearized RGB values in the
processing window in the scene.
|
AVRational |
AVMasteringDisplayMetadata.min_luminance()
Min luminance of mastering display (cd/m^2).
|
AVRational |
AVRational.num(int setter) |
AVRational |
AVHDRPlusPercentile.percentile()
The linearized maxRGB value at a specific percentile in the processing
window in the scene.
|
AVRational |
AVRational.position(long position) |
AVRational |
AVRegionOfInterest.qoffset()
Quantisation offset.
|
AVRational |
AVTimecode.rate()
frame rate in rational form
|
AVRational |
AVFrame.sample_aspect_ratio()
Sample aspect ratio for the video frame, 0/1 if unknown/unspecified.
|
AVRational |
AVDynamicHDRPlus.targeted_system_display_actual_peak_luminance() |
AVRational |
AVDynamicHDRPlus.targeted_system_display_actual_peak_luminance(int i,
int j)
The normalized actual peak luminance of the targeted system display.
|
AVRational |
AVDynamicHDRPlus.targeted_system_display_maximum_luminance()
The nominal maximum display luminance of the targeted system display,
in units of 0.0001 candelas per square metre.
|
AVRational |
AVMasteringDisplayMetadata.white_point() |
AVRational |
AVMasteringDisplayMetadata.white_point(int i)
CIE 1931 xy chromaticity coords of white point.
|
AVRational |
AVHDRPlusColorTransformParams.window_lower_right_corner_x()
The relative x coordinate of the bottom right pixel of the processing
window.
|
AVRational |
AVHDRPlusColorTransformParams.window_lower_right_corner_y()
The relative y coordinate of the bottom right pixel of the processing
window.
|
AVRational |
AVHDRPlusColorTransformParams.window_upper_left_corner_x()
The relative x coordinate of the top left pixel of the processing
window.
|
AVRational |
AVHDRPlusColorTransformParams.window_upper_left_corner_y()
The relative y coordinate of the top left pixel of the processing
window.
|
Modifier and Type | Method and Description |
---|---|
static AVRational |
avutil.av_add_q(AVRational b,
AVRational c)
Add two rationals.
|
static AVRational |
avfilter.av_buffersink_get_frame_rate(AVFilterContext ctx) |
static AVRational |
avfilter.av_buffersink_get_sample_aspect_ratio(AVFilterContext ctx) |
static AVRational |
avfilter.av_buffersink_get_time_base(AVFilterContext ctx) |
static AVRational |
avcodec.av_codec_get_pkt_timebase(AVCodecContext avctx)
Deprecated.
|
static AVRational |
avutil.av_d2q(double d,
int max)
Convert a double precision floating point number to a rational.
|
static AVRational |
avutil.av_div_q(AVRational b,
AVRational c)
Divide one rational by another.
|
static AVRational |
avutil.av_get_time_base_q()
Return the fractional representation of the internal time base.
|
static AVRational |
avformat.av_guess_frame_rate(AVFormatContext ctx,
AVStream stream,
AVFrame frame)
Guess the frame rate, based on both the container and codec information.
|
static AVRational |
avformat.av_guess_sample_aspect_ratio(AVFormatContext format,
AVStream stream,
AVFrame frame)
Guess the sample aspect ratio of a frame, based on both the stream and the
frame aspect ratio.
|
static AVRational |
avutil.av_inv_q(AVRational q)
Invert a rational.
|
static AVRational |
avutil.av_make_q(int num,
int den)
Create an AVRational.
|
static AVRational |
avutil.av_mul_q(AVRational b,
AVRational c)
Multiply two rationals.
|
static AVRational |
avformat.av_stream_get_codec_timebase(AVStream st)
Get the internal codec timebase from a stream.
|
static AVRational |
avformat.av_stream_get_r_frame_rate(AVStream s)
Deprecated.
|
static AVRational |
avutil.av_sub_q(AVRational b,
AVRational c)
Subtract one rational from another.
|
Modifier and Type | Method and Description |
---|---|
static AVRational |
avutil.av_add_q(AVRational b,
AVRational c)
Add two rationals.
|
static long |
avutil.av_add_stable(AVRational ts_tb,
long ts,
AVRational inc_tb,
long inc)
Add a value to a timestamp.
|
static int |
avutil.av_cmp_q(AVRational a,
AVRational b)
Compare two rationals.
|
static void |
avcodec.av_codec_set_pkt_timebase(AVCodecContext avctx,
AVRational val)
Deprecated.
|
static int |
avutil.av_compare_ts(long ts_a,
AVRational tb_a,
long ts_b,
AVRational tb_b)
Compare two timestamps each in its own time base.
|
static AVRational |
avutil.av_div_q(AVRational b,
AVRational c)
Divide one rational by another.
|
static int |
avutil.av_find_nearest_q_idx(AVRational q,
AVRational q_list)
Find the value in a list of rationals nearest a given reference rational.
|
static int |
avutil.av_image_check_sar(int w,
int h,
AVRational sar)
Check if the given sample aspect ratio of an image is valid.
|
static AVRational |
avutil.av_inv_q(AVRational q)
Invert a rational.
|
static AVRational |
avutil.av_mul_q(AVRational b,
AVRational c)
Multiply two rationals.
|
static int |
avutil.av_nearer_q(AVRational q,
AVRational q1,
AVRational q2)
Find which of the two rationals is closer to another rational.
|
static int |
avutil.av_opt_eval_q(Pointer obj,
AVOption o,
BytePointer val,
AVRational q_out) |
static int |
avutil.av_opt_eval_q(Pointer obj,
AVOption o,
String val,
AVRational q_out) |
static int |
avutil.av_opt_get_q(Pointer obj,
BytePointer name,
int search_flags,
AVRational out_val) |
static int |
avutil.av_opt_get_q(Pointer obj,
String name,
int search_flags,
AVRational out_val) |
static int |
avutil.av_opt_get_video_rate(Pointer obj,
BytePointer name,
int search_flags,
AVRational out_val) |
static int |
avutil.av_opt_get_video_rate(Pointer obj,
String name,
int search_flags,
AVRational out_val) |
static int |
avutil.av_opt_set_q(Pointer obj,
BytePointer name,
AVRational val,
int search_flags) |
static int |
avutil.av_opt_set_q(Pointer obj,
String name,
AVRational val,
int search_flags) |
static int |
avutil.av_opt_set_video_rate(Pointer obj,
BytePointer name,
AVRational val,
int search_flags) |
static int |
avutil.av_opt_set_video_rate(Pointer obj,
String name,
AVRational val,
int search_flags) |
static void |
avcodec.av_packet_rescale_ts(AVPacket pkt,
AVRational tb_src,
AVRational tb_dst)
Convert valid timing fields (timestamps / durations) in a packet from one
timebase to another.
|
static int |
avutil.av_parse_ratio(AVRational q,
BytePointer str,
int max,
int log_offset,
Pointer log_ctx)
Parse str and store the parsed ratio in q.
|
static int |
avutil.av_parse_ratio(AVRational q,
String str,
int max,
int log_offset,
Pointer log_ctx) |
static int |
avutil.av_parse_video_rate(AVRational rate,
BytePointer str)
Parse str and store the detected values in *rate.
|
static int |
avutil.av_parse_video_rate(AVRational rate,
String str) |
static double |
avutil.av_q2d(AVRational a)
Convert an AVRational to a
double . |
static int |
avutil.av_q2intfloat(AVRational q)
Convert an AVRational to a IEEE 32-bit
float expressed in fixed-point
format. |
static long |
avutil.av_rescale_delta(AVRational in_tb,
long in_ts,
AVRational fs_tb,
int duration,
long[] last,
AVRational out_tb) |
static long |
avutil.av_rescale_delta(AVRational in_tb,
long in_ts,
AVRational fs_tb,
int duration,
LongBuffer last,
AVRational out_tb) |
static long |
avutil.av_rescale_delta(AVRational in_tb,
long in_ts,
AVRational fs_tb,
int duration,
LongPointer last,
AVRational out_tb)
Rescale a timestamp while preserving known durations.
|
static long |
avutil.av_rescale_q_rnd(long a,
AVRational bq,
AVRational cq,
int rnd)
Rescale a 64-bit integer by 2 rational numbers with specified rounding.
|
static long |
avutil.av_rescale_q(long a,
AVRational bq,
AVRational cq)
Rescale a 64-bit integer by 2 rational numbers.
|
static void |
avformat.av_stream_set_r_frame_rate(AVStream s,
AVRational r)
Deprecated.
|
static AVRational |
avutil.av_sub_q(AVRational b,
AVRational c)
Subtract one rational from another.
|
static int |
avutil.av_timecode_check_frame_rate(AVRational rate)
Check if the timecode feature is available for the given frame rate
|
static int |
avutil.av_timecode_init_from_string(AVTimecode tc,
AVRational rate,
BytePointer str,
Pointer log_ctx)
Parse timecode representation (hh:mm:ss[:;.]ff).
|
static int |
avutil.av_timecode_init_from_string(AVTimecode tc,
AVRational rate,
String str,
Pointer log_ctx) |
static int |
avutil.av_timecode_init(AVTimecode tc,
AVRational rate,
int flags,
int frame_start,
Pointer log_ctx)
Init a timecode struct with the passed parameters.
|
static byte[] |
avutil.av_ts_make_time_string(byte[] buf,
long ts,
AVRational tb) |
static ByteBuffer |
avutil.av_ts_make_time_string(ByteBuffer buf,
long ts,
AVRational tb) |
static BytePointer |
avutil.av_ts_make_time_string(BytePointer buf,
long ts,
AVRational tb)
Fill the provided buffer with a string containing a timestamp time
representation.
|
Copyright © 2020. All rights reserved.