FFmpeg
Data Fields
AVRational Struct Reference

Rational number (pair of numerator and denominator). More...

#include <rational.h>

Data Fields

int num
 Numerator. More...
 
int den
 Denominator. More...
 

Detailed Description

Rational number (pair of numerator and denominator).

Examples
encode_video.c, filter_audio.c, filtering_audio.c, filtering_video.c, muxing.c, remuxing.c, transcoding.c, and vaapi_encode.c.

Definition at line 58 of file rational.h.

Field Documentation

◆ num

int AVRational::num

Numerator.

Examples
filtering_audio.c, filtering_video.c, transcode_aac.c, and transcoding.c.

Definition at line 59 of file rational.h.

Referenced by adjust_frame_pts_to_encoder_tb(), amf_encode_init_h264(), amf_encode_init_hevc(), amv_init(), amv_write_header(), aom_decode(), aom_init(), apng_write_header(), apply_delogo(), aqt_read_header(), asf_read_ext_content_desc(), asf_read_ext_stream_properties(), asf_read_frame_header(), asf_read_header(), asf_read_metadata(), asf_store_aspect_ratio(), asf_write_header1(), av1_parser_parse(), av_add_stable(), av_buffersrc_parameters_set(), av_compare_ts(), av_dv_codec_profile2(), av_guess_frame_rate(), av_guess_sample_aspect_ratio(), av_image_check_sar(), av_inv_q(), av_nearer_q(), av_parse_ratio(), av_parse_video_rate(), av_q2intfloat(), av_rescale_delta(), av_rescale_q_rnd(), avcodec_decode_subtitle2(), avcodec_open2(), avcodec_string(), avfilter_config_links(), avformat_find_stream_info(), avformat_seek_file(), avformat_transfer_internal_stream_timing_info(), avi_read_header(), avi_write_header(), avisynth_read_packet_audio(), avpriv_set_pts_info(), avpriv_update_cur_dts(), binary_export(), bit_depth(), calculate_bitrate(), calculate_display_rect(), cdxl_read_packet(), compute_dar(), compute_display_area(), compute_frame_duration(), compute_pkt_fields(), compute_texture_rect(), config_enc_params(), config_input(), config_output(), config_output_props(), config_props(), config_props_output(), configure_input_video_filter(), configure_output_video_filter(), copy_stream_props(), cpia_decode_init(), create_stream(), create_subcc_streams(), cri_decode_frame(), cudascale_filter_frame(), cuvid_decode_init(), cuvid_decode_packet(), cuvid_output_frame(), dash_init(), dash_read_packet(), decklink_setup_video(), decode_frame(), decode_info_header(), decode_main_header(), decode_phys_chunk(), decode_sequence_header_adv(), decode_simple_internal(), decode_stream_header(), decode_vui(), dhav_read_packet(), dirac_header(), do_audio_out(), do_video_out(), draw_items(), dump_detection_bbox(), dump_roi(), dump_stream_format(), dv_audio_frame_size(), dv_write_header(), dvd_nav_parse(), enable_pcr_generation_for_stream(), encode_aspect_ratio(), encode_frame(), encode_frame_rate(), encode_headers(), encode_init(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), export_stream_params(), fbdev_read_header(), ff_canopus_parse_info_tag(), ff_choose_timebase(), ff_dnxhd_get_hr_frame_size(), ff_encode_preinit(), ff_framehash_write_header(), ff_h263_aspect_to_info(), ff_imf_xml_read_rational(), ff_mediacodec_dec_send(), ff_mpv_encode_init(), ff_nut_reset_ts(), ff_parse_specific_params(), ff_pcm_read_seek(), ff_rfps_calculate(), ff_rm_read_mdpr_codecdata(), ff_set_sar(), ff_vorbiscomment_write(), ffmal_update_format(), ffmmal_init_decoder(), fill_frameinfo_by_link(), filter_frame(), filter_frame_ref(), fits_read_header(), flush_packet(), fps_from_frame_rate(), gem_decode_frame(), get_aspect_ratio(), get_pkt_pts(), get_vp9_level(), gif_read_header(), guess_pkt_duration(), gxf_compare_field_nb(), gxf_header(), gxf_write_header(), gxf_write_media_preamble(), h264_parse(), has_codec_parameters(), hevc_parse_slice_header(), hls_write_header(), hls_write_packet(), iff_read_header(), imf_read_packet(), init(), init_convert_timestamp(), init_encoder_time_base(), init_filter(), init_filters(), init_fps(), init_muxer(), init_output_stream(), init_output_stream_encode(), init_output_stream_streamcopy(), init_pts(), init_stream(), init_video_param(), init_video_param_jpeg(), interleave_compare_dts(), interpolate(), jpeg_put_comments(), lavfi_read_header(), libaribb24_decode(), libkvazaar_init(), librav1e_encode_init(), libuavs3d_decode_frame(), libwebp_anim_encode_frame(), libx265_encode_init(), libx265_encode_set_roi(), main(), mcc_read_header(), mediacodec_wrap_hw_buffer(), mediacodec_wrap_sw_buffer(), mf_encv_output_adjust(), mf_get_tb(), microdvd_read_header(), mkv_write_track(), mods_read_header(), mov_parse_stsd_data(), mov_read_header(), mov_read_pasp(), mov_read_trak(), mov_write_avid_tag(), mov_write_dvc1_structs(), mov_write_pasp_tag(), mov_write_tapt_tag(), mov_write_tkhd_tag(), mov_write_tmcd_tag(), mov_write_trak_tag(), mov_write_uuidprof_tag(), mov_write_video_tag(), mpeg_decode_postinit(), mpegvideo_extract_headers(), mpsub_read_header(), msp_read_header(), mv_read_header(), mxf_compute_edit_units_per_packet(), mxf_compute_index_tables(), mxf_compute_sample_count(), mxf_init(), mxf_init_timecode(), mxf_parse_dnxhd_frame(), mxf_parse_h264_frame(), mxf_parse_mpeg2_frame(), mxf_parse_physical_source_package(), mxf_parse_structural_metadata(), mxf_read_generic_descriptor(), mxf_read_seek(), mxf_read_track(), mxf_write_cdci_common(), mxf_write_generic_desc(), mxf_write_index_table_segment(), mxf_write_multi_descriptor(), mxf_write_track(), new_output_stream(), new_video_stream(), ni_prepare_read(), nppscale_eval_dimensions(), nppscale_filter_frame(), nppscale_filter_frame_ref(), nppscale_scale(), nsv_read_chunk(), nut_write_header(), nut_write_packet(), nvenc_setup_encoder(), ogg_build_vp8_headers(), ogg_init(), omx_component_init(), open_output_file(), open_track_file_resource(), open_track_resource_context(), opengl_compute_display_area(), opt_list(), opt_target(), pad_opencl_config_output(), parse_avs3_nal_units(), parse_nal_units(), parse_video_var(), parse_vtrk(), pcx_decode_frame(), pcx_encode_frame(), print_codec(), print_digraph(), print_link_prop(), print_stats(), put_videoinfoheader2(), qsv_decode_init(), qsvscale_filter_frame(), r3d_read_rdvo(), r3d_read_redv(), r3d_seek(), read_gab2_sub(), read_header(), read_packet(), reap_filters(), request_frame(), rescale_mastering_chroma(), rescale_mastering_luma(), rescale_mdcv(), rescale_pts(), rpl_read_header(), rtp_mpegts_write_header(), rv10_write_header(), rv20_decode_picture_header(), scale_eval_dimensions(), scale_frame(), seek_frame_internal(), seg_init(), ser_read_header(), set_context_streams_from_tracks(), set_context_with_sequence(), set_metadata(), set_roi_map(), set_side_data(), sga_video_packet(), show_frame(), show_stream(), svc_encode_init(), swf_write_header(), teletext_decode_frame(), test_av_parse_video_rate(), test_cpl_parsing(), theora_header(), thp_read_header(), tmv_read_header(), ts_to_samples(), update_context_with_frame_header(), update_sar(), update_wrap_reference(), v4l2_get_sar(), v4l2_prepare_encoder(), v4l2_set_parameters(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_init_rate_control(), vaapi_encode_issue(), vaapi_encode_mjpeg_init_picture_params(), vaapi_encode_mpeg2_init_sequence_params(), vaapi_mpeg4_start_frame(), vc1_extract_header(), vc2_encode_init(), vfw_read_header(), video_decode_example(), video_thread(), vivo_read_header(), vp8_header(), vpx_init(), vqf_read_seek(), vt_pixbuf_set_par(), vtenc_cm_to_avpacket(), vtenc_create_encoder(), vtenc_send_frame(), webm_chunk_init(), write_adaptation_set(), write_mainheader(), write_packet(), write_streamheader(), write_streaminfo(), write_trailer(), writer_print_rational(), X264_frame(), X264_init(), XAVS_init(), xfade_opencl_config_output(), xml_export(), xv_write_header(), xvid_correct_framerate(), xvid_encode_frame(), xvid_encode_init(), and yuv4_write_header().

◆ den

int AVRational::den

Denominator.

Examples
filtering_audio.c, filtering_video.c, transcode_aac.c, and transcoding.c.

Definition at line 60 of file rational.h.

Referenced by adjust_frame_pts_to_encoder_tb(), amf_encode_init_h264(), amf_encode_init_hevc(), amv_init(), amv_write_header(), aom_decode(), aom_init(), apng_write_header(), apply_delogo(), aqt_read_header(), asf_read_ext_content_desc(), asf_read_ext_stream_properties(), asf_read_frame_header(), asf_read_header(), asf_read_metadata(), asf_store_aspect_ratio(), asf_write_header1(), av_add_stable(), av_buffersrc_parameters_set(), av_compare_ts(), av_dv_codec_profile2(), av_find_nearest_q_idx(), av_guess_frame_rate(), av_guess_sample_aspect_ratio(), av_image_check_sar(), av_inv_q(), av_nearer_q(), av_parse_ratio(), av_parse_video_rate(), av_q2intfloat(), av_rescale_delta(), av_rescale_q_rnd(), avcodec_open2(), avcodec_string(), avfilter_config_links(), avformat_find_stream_info(), avformat_seek_file(), avformat_transfer_internal_stream_timing_info(), avi_read_header(), avi_write_header(), avisynth_read_packet_audio(), avpriv_set_pts_info(), avpriv_update_cur_dts(), binary_export(), bit_depth(), calculate_bitrate(), calculate_display_rect(), cdxl_read_packet(), compute_dar(), compute_display_area(), compute_frame_duration(), compute_pkt_fields(), compute_texture_rect(), config_enc_params(), config_input(), config_out_props(), config_output(), config_output_props(), config_props(), config_props_output(), configure_input_video_filter(), configure_output_video_filter(), copy_stream_props(), cpia_decode_init(), create_stream(), create_subcc_streams(), cri_decode_frame(), cudascale_filter_frame(), cuvid_decode_init(), cuvid_decode_packet(), cuvid_output_frame(), dash_init(), dash_read_packet(), decklink_setup_video(), decode_frame(), decode_info_header(), decode_main_header(), decode_phys_chunk(), decode_sequence_header_adv(), decode_simple_internal(), decode_stream_header(), decode_vui(), defined_frame_rate(), dhav_read_packet(), dirac_header(), do_audio_out(), do_video_out(), draw_items(), dump_detection_bbox(), dump_roi(), dump_stream_format(), dv_audio_frame_size(), dv_write_header(), dvd_nav_parse(), enable_pcr_generation_for_stream(), encode_aspect_ratio(), encode_frame(), encode_frame_rate(), encode_headers(), encode_init(), estimate_timings(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), export_stream_params(), fbdev_read_header(), ff_canopus_parse_info_tag(), ff_choose_timebase(), ff_dnxhd_get_hr_frame_size(), ff_encode_preinit(), ff_framehash_write_header(), ff_h263_aspect_to_info(), ff_imf_xml_read_rational(), ff_mediacodec_dec_send(), ff_mov_init_hinting(), ff_mpv_encode_init(), ff_nut_reset_ts(), ff_parse_specific_params(), ff_pcm_read_seek(), ff_rfps_calculate(), ff_rm_read_mdpr_codecdata(), ff_set_sar(), ff_vorbiscomment_write(), ffmal_update_format(), ffmmal_init_decoder(), fill_frameinfo_by_link(), filter_frame(), filter_frame_ref(), fits_read_header(), flush_packet(), fps_from_frame_rate(), gem_decode_frame(), get_aspect_ratio(), get_pkt_pts(), get_vp9_level(), gif_read_header(), guess_pkt_duration(), gxf_compare_field_nb(), gxf_header(), gxf_write_header(), gxf_write_media_preamble(), gxf_write_umf_material_description(), h264_parse(), handle_file(), hevc_parse_slice_header(), hls_write_header(), hls_write_packet(), iff_read_header(), imf_read_packet(), init(), init_filter(), init_filters(), init_fps(), init_muxer(), init_output_stream(), init_output_stream_encode(), init_output_stream_streamcopy(), init_pts(), init_stream(), init_video_param(), init_video_param_jpeg(), interleave_compare_dts(), interpolate(), jpeg_put_comments(), lavfi_read_header(), libaribb24_decode(), libkvazaar_init(), librav1e_encode_init(), libuavs3d_decode_frame(), libwebp_anim_encode_frame(), libx265_encode_init(), libx265_encode_set_roi(), main(), mcc_read_header(), mediacodec_wrap_hw_buffer(), mediacodec_wrap_sw_buffer(), mf_encv_output_adjust(), mf_get_tb(), microdvd_read_header(), mkv_write_track(), mods_read_header(), mov_get_dv_codec_tag(), mov_init(), mov_parse_stsd_data(), mov_read_header(), mov_read_pasp(), mov_read_sidx(), mov_read_trak(), mov_write_avid_tag(), mov_write_dvc1_structs(), mov_write_pasp_tag(), mov_write_tapt_tag(), mov_write_tkhd_tag(), mov_write_tmcd_tag(), mov_write_uuidprof_tag(), mov_write_video_tag(), mpeg_decode_postinit(), mpegvideo_extract_headers(), mpsub_read_header(), msp_read_header(), mv_read_header(), mxf_compute_edit_units_per_packet(), mxf_compute_index_tables(), mxf_compute_sample_count(), mxf_init(), mxf_init_timecode(), mxf_parse_dnxhd_frame(), mxf_parse_h264_frame(), mxf_parse_mpeg2_frame(), mxf_parse_physical_source_package(), mxf_parse_structural_metadata(), mxf_read_generic_descriptor(), mxf_read_seek(), mxf_read_track(), mxf_write_cdci_common(), mxf_write_generic_desc(), mxf_write_index_table_segment(), mxf_write_multi_descriptor(), mxf_write_track(), new_output_stream(), new_video_stream(), ni_prepare_read(), nppscale_eval_dimensions(), nppscale_filter_frame(), nppscale_filter_frame_ref(), nppscale_scale(), nsv_read_chunk(), nut_write_header(), nut_write_packet(), nvenc_setup_encoder(), ogg_build_vp8_headers(), ogg_init(), omx_component_init(), open_output_file(), open_track_file_resource(), open_track_resource_context(), open_virtual_track(), opengl_compute_display_area(), opt_list(), opt_target(), output_segment_list(), pad_opencl_config_output(), parse_avs3_nal_units(), parse_nal_units(), parse_video_var(), parse_vtrk(), pcx_decode_frame(), pcx_encode_frame(), print_codec(), print_digraph(), print_link_prop(), print_stats(), put_videoinfoheader2(), qsvscale_filter_frame(), r3d_read_red1(), r3d_read_reda(), r3d_read_redv(), read_gab2_sub(), read_header(), read_packet(), reopen_demux_for_component(), request_frame(), rescale_mastering_chroma(), rescale_mastering_luma(), rescale_mdcv(), rescale_pts(), rpl_read_header(), rtp_mpegts_write_header(), rv10_write_header(), scale_eval_dimensions(), scale_frame(), seek_frame_internal(), seg_init(), send_silence(), ser_read_header(), set_context_streams_from_tracks(), set_context_with_sequence(), set_metadata(), set_roi_map(), set_side_data(), sga_video_packet(), show_stream(), svc_encode_init(), swf_write_header(), test_av_parse_video_rate(), test_cpl_parsing(), theora_header(), thp_read_header(), tmv_read_header(), ts_to_samples(), update_context_with_frame_header(), update_stream_timings(), update_wrap_reference(), v4l2_get_sar(), v4l2_prepare_encoder(), v4l2_read_header(), v4l2_set_parameters(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_init_rate_control(), vaapi_encode_issue(), vaapi_encode_mjpeg_init_picture_params(), vaapi_encode_mpeg2_init_sequence_params(), vc2_encode_init(), vfw_read_header(), video_decode_example(), video_thread(), decklink_input_callback::VideoInputFrameArrived(), vivo_read_header(), vp8_header(), vpx_init(), vqf_read_seek(), vt_pixbuf_set_par(), vtenc_create_encoder(), vtenc_populate_extradata(), vtenc_send_frame(), webm_chunk_init(), write_adaptation_set(), write_hls_media_playlist(), write_mainheader(), write_streamheader(), write_streaminfo(), write_trailer(), writer_print_rational(), X264_frame(), X264_init(), XAVS_init(), xfade_opencl_config_output(), xml_export(), xv_write_header(), xvid_correct_framerate(), xvid_encode_frame(), xvid_encode_init(), and yuv4_write_header().


The documentation for this struct was generated from the following file: