| 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 |
AVOption.default_val_q() |
AVRational |
AVRational.den(int setter) |
AVRational |
AVRational.num(int setter) |
AVRational |
AVRational.position(long position) |
AVRational |
AVRegionOfInterest.qoffset()
Quantisation offset.
|
AVRational |
AVFrame.sample_aspect_ratio()
Sample aspect ratio for the video frame, 0/1 if unknown/unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
AVOption |
AVOption.default_val_q(AVRational setter) |
AVRegionOfInterest |
AVRegionOfInterest.qoffset(AVRational setter) |
AVFrame |
AVFrame.sample_aspect_ratio(AVRational setter) |
| 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 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.
|
Copyright © 2019. All rights reserved.