FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
movenc.c File Reference
#include "config.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/md5.h"
#include "libavformat/avformat.h"
#include "compat/getopt.c"

Go to the source code of this file.

Macros

#define HASH_SIZE   16
 
#define check(value,...)   check_func(value, __LINE__, __VA_ARGS__)
 

Functions

static void count_warnings (void *avcl, int level, const char *fmt, va_list vl)
 
static void init_count_warnings (void)
 
static void reset_count_warnings (void)
 
static int io_write (void *opaque, uint8_t *buf, int size)
 
static int io_write_data_type (void *opaque, uint8_t *buf, int size, enum AVIODataMarkerType type, int64_t time)
 
static void init_out (const char *name)
 
static void close_out (void)
 
static void check_func (int value, int line, const char *msg,...)
 
static void init_fps (int bf, int audio_preroll, int fps)
 
static void init (int bf, int audio_preroll)
 
static void mux_frames (int n, int c)
 
static void mux_gops (int n)
 
static void skip_gops (int n)
 
static void signal_init_ts (void)
 
static void finish (void)
 
static void help (void)
 
int main (int argc, char **argv)
 

Variables

static const uint8_t h264_extradata []
 
static const uint8_t aac_extradata []
 
static const char * format = "mp4"
 
AVFormatContextctx
 
uint8_t iobuf [32768]
 
AVDictionaryopts
 
int write_file
 
const char * cur_name
 
FILE * out
 
int out_size
 
struct AVMD5md5
 
uint8_t hash [HASH_SIZE]
 
AVStreamvideo_st
 
AVStreamaudio_st
 
int64_t audio_dts
 
int64_t video_dts
 
int bframes
 
int64_t duration
 
int64_t audio_duration
 
int frames
 
int gop_size
 
int64_t next_p_pts
 
enum AVPictureType last_picture
 
int skip_write
 
int skip_write_audio
 
int clear_duration
 
int force_iobuf_size
 
int do_interleave
 
int fake_pkt_duration
 
int num_warnings
 
int check_faults
 

Macro Definition Documentation

#define HASH_SIZE   16

Definition at line 37 of file movenc.c.

Referenced by close_out(), and main().

#define check (   value,
  ... 
)    check_func(value, __LINE__, __VA_ARGS__)

Definition at line 176 of file movenc.c.

Referenced by main().

Function Documentation

static void count_warnings ( void avcl,
int  level,
const char *  fmt,
va_list  vl 
)
static

Definition at line 81 of file movenc.c.

Referenced by init_count_warnings().

static void init_count_warnings ( void  )
static

Definition at line 87 of file movenc.c.

Referenced by main().

static void reset_count_warnings ( void  )
static

Definition at line 93 of file movenc.c.

Referenced by main().

static int io_write ( void opaque,
uint8_t buf,
int  size 
)
static

Definition at line 98 of file movenc.c.

Referenced by init_fps(), and io_write_data_type().

static int io_write_data_type ( void opaque,
uint8_t buf,
int  size,
enum AVIODataMarkerType  type,
int64_t  time 
)
static

Definition at line 107 of file movenc.c.

Referenced by init_fps().

static void init_out ( const char *  name)
static

Definition at line 137 of file movenc.c.

Referenced by main().

static void close_out ( void  )
static

Definition at line 152 of file movenc.c.

Referenced by main().

static void check_func ( int  value,
int  line,
const char *  msg,
  ... 
)
static

Definition at line 164 of file movenc.c.

static void init_fps ( int  bf,
int  audio_preroll,
int  fps 
)
static

Definition at line 178 of file movenc.c.

Referenced by init(), and main().

static void init ( int  bf,
int  audio_preroll 
)
static

Definition at line 242 of file movenc.c.

Referenced by main().

static void mux_frames ( int  n,
int  c 
)
static

Definition at line 247 of file movenc.c.

Referenced by main(), and mux_gops().

static void mux_gops ( int  n)
static

Definition at line 316 of file movenc.c.

Referenced by main(), and skip_gops().

static void skip_gops ( int  n)
static

Definition at line 321 of file movenc.c.

Referenced by main().

static void signal_init_ts ( void  )
static

Definition at line 328 of file movenc.c.

Referenced by main().

static void finish ( void  )
static
static void help ( void  )
static

Definition at line 353 of file movenc.c.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 359 of file movenc.c.

Variable Documentation

const uint8_t h264_extradata[]
static
Initial value:
= {
0x01, 0x4d, 0x40, 0x1e, 0xff, 0xe1, 0x00, 0x02, 0x67, 0x4d, 0x01, 0x00, 0x02, 0x68, 0xef
}

Definition at line 39 of file movenc.c.

Referenced by init_fps().

const uint8_t aac_extradata[]
static
Initial value:
= {
0x12, 0x10
}

Definition at line 42 of file movenc.c.

Referenced by init_fps().

const char* format = "mp4"
static

Definition at line 47 of file movenc.c.

Referenced by init_fps(), init_out(), and main().

Examples:
encode_audio.c, hw_decode.c, vaapi_encode.c, and vaapi_transcode.c.

Definition at line 48 of file movenc.c.

Referenced by aac_adtstoasc_filter(), add_audio_device(), add_display_matrix(), add_video_device(), add_video_stream(), aeval_config_output(), agate_config_input(), aic_decode_close(), aic_decode_frame(), aic_decode_init(), amf_encode_init_h264(), amf_encode_init_hevc(), amf_load_library(), amrwb_decode_frame(), amrwb_decode_init(), android_camera_read_close(), android_camera_read_header(), android_camera_read_packet(), aom_decode(), aom_encode(), aom_free(), aom_init(), apng_read_header(), apng_read_packet(), append_to_cached_buf(), apply_lut(), apply_palette(), atrac3p_decode_close(), atrac3p_decode_frame(), atrac3p_decode_init(), aud(), av1_metadata_close(), av1_metadata_filter(), av1_metadata_init(), av1_metadata_update_sequence_header(), av_bitstream_filter_init(), av_bsf_alloc(), av_bsf_free(), av_bsf_list_finalize(), av_hwdevice_ctx_alloc(), av_hwdevice_ctx_init(), av_hwdevice_get_hwframe_constraints(), av_hwdevice_hwconfig_alloc(), av_hwframe_ctx_alloc(), av_hwframe_ctx_init(), av_hwframe_get_buffer(), av_hwframe_transfer_data(), av_hwframe_transfer_get_formats(), av_md5_sum(), avf_close(), avf_read_header(), avf_read_packet(), avgblur_opencl_filter_frame(), avgblur_opencl_init(), avgblur_opencl_make_filter_params(), avgblur_opencl_uninit(), avio_open_dir(), avpacket_queue_init(), blend_frame_for_dualinput(), boxblur_opencl_make_filter_params(), bsf_child_next(), bsf_list_item_name(), callback(), camera_dev_disconnected(), camera_dev_error(), cdef_params(), channelmap_config_input(), channelmap_filter_frame(), check_cu(), check_ir(), choose_tiling(), cllc_decode_close(), cllc_decode_frame(), cllc_decode_init(), close_decoder(), codecctl_int(), color_config(), commit_bitstream_and_slice_buffer(), compand_drain(), compress_texture(), compressor_config_output(), compute_vmaf_score(), config_audio_input(), config_audio_output(), config_filter(), config_input(), config_input0(), config_input1(), config_input_impulse(), config_input_overlay(), config_input_palette(), config_input_props(), config_input_ref(), config_inputx(), config_inputy(), config_main_input(), config_out_props(), config_output(), config_output_props(), config_overlay_input(), config_props(), config_props_in(), config_props_input(), config_props_out(), config_props_output(), config_video(), config_video_output(), configure_output_audio_filter(), configure_video_device(), consume_from_fifos(), convolution_opencl_filter_frame(), convolution_opencl_init(), convolution_opencl_make_filter_params(), convolution_opencl_uninit(), copy_cvpixelbuffer(), create_capture_session(), create_image_reader(), cubic_interpolate_func(), cuda_buffer_free(), cuda_pool_alloc(), cudascale_config_props(), cudascale_filter_frame(), cudaupload_config_output(), cudaupload_filter_frame(), customize_fd(), cuvid_decode_end(), cuvid_decode_frame(), cuvid_decode_init(), cuvid_decode_packet(), cuvid_flush(), cuvid_handle_picture_decode(), cuvid_handle_picture_display(), cuvid_handle_video_sequence(), cuvid_is_buffer_full(), cuvid_output_frame(), cuvid_test_capabilities(), d3d11va_pool_alloc(), dash_init(), dds_decode(), dec_ref_pic_marking(), decklink_autodetect(), decklink_select_input(), decklink_setup_audio(), decklink_setup_video(), decode(), decode_ac_coeffs(), decode_block(), decode_cabac_field_decoding_flag(), decode_cabac_intra_mb_type(), decode_cabac_mb_cbp_chroma(), decode_cabac_mb_cbp_luma(), decode_cabac_mb_chroma_pre_mode(), decode_cabac_mb_ref(), decode_cabac_mb_skip(), decode_close(), decode_end(), decode_flush(), decode_frame(), decode_init(), decode_interrupt_cb(), decode_intra4x4_modes(), decode_picture(), decode_picture_header(), decode_plane(), decode_slice_chroma(), decode_slice_luma(), decode_slice_thread(), decode_wmv9(), decoder_init(), decompress_chunks_thread(), decompress_texture_thread(), decompress_texture_thread_internal(), default_filter_name(), deint_vaapi_build_filter_params(), deint_vaapi_config_output(), deint_vaapi_filter_frame(), deint_vaapi_pipeline_uninit(), denoise_vaapi_build_filter_params(), describe_filter_link(), dht(), dirac_get_arith_bit(), display_end_segment(), dnxhd_calc_bits_thread(), dnxhd_decode_close(), dnxhd_decode_frame(), dnxhd_decode_init(), dnxhd_decode_init_thread_copy(), dnxhd_decode_row(), dnxhd_encode_end(), dnxhd_encode_init(), dnxhd_encode_picture(), dnxhd_encode_thread(), dnxhd_mb_var_thread(), dnxhd_write_header(), do_blend(), do_chromahold_slice(), do_chromakey_slice(), do_colorkey_slice(), do_convolve(), do_packet_auto_bsf(), do_psnr(), do_ssim(), do_vmaf(), dqt(), dshow_add_device(), dshow_cycle_devices(), dshow_cycle_formats(), dshow_cycle_pins(), dshow_list_device_options(), dshow_open_device(), dshow_read_close(), dshow_read_header(), dshow_read_packet(), dshow_set_audio_buffer_size(), dshow_try_setup_crossbar_options(), dss_723_1_read_packet(), dss_read_close(), dss_read_header(), dss_read_packet(), dss_read_seek(), dss_skip_audio_header(), dss_sp_read_packet(), dvbsub_close_decoder(), dvbsub_init_decoder(), dvbsub_parse_clut_segment(), dvbsub_parse_object_segment(), dvbsub_parse_page_segment(), dvbsub_parse_pixel_data_block(), dvbsub_parse_region_segment(), dvdsub_decode(), dvdsub_flush(), dvdsub_init(), dvdsub_parse_extradata(), dxv_close(), dxv_decode(), dxv_decompress_dxt1(), dxv_decompress_dxt5(), dxv_decompress_lzf(), dxv_decompress_raw(), dxv_decompress_ycg6(), dxv_decompress_yg10(), dxv_init(), dxva2_h264_decode_slice(), dxva2_h264_start_frame(), dxva2_hevc_start_frame(), dxva2_mpeg2_start_frame(), dxva2_pool_alloc(), dxva2_vc1_start_frame(), dxva2_vp9_start_frame(), encode_close(), encode_frame(), encode_init(), encode_picture_ls(), encode_slice(), encode_slice_data(), end_of_sequence(), end_of_stream(), entry_func(), extension_data(), failing_deinit(), failing_write_header(), failing_write_packet(), failing_write_trailer(), ff_ass_split(), ff_boxblur_eval_filter_params(), ff_cbs_close(), ff_cbs_init(), ff_decklink_cleanup(), ff_decklink_init_device(), ff_decklink_list_formats(), ff_decklink_read_close(), ff_decklink_read_header(), ff_decklink_read_packet(), ff_decklink_set_configs(), ff_decklink_set_format(), ff_decklink_write_header(), ff_decklink_write_trailer(), ff_dxva2_common_end_frame(), ff_dxva2_lock(), ff_dxva2_unlock(), ff_framesync_dualinput_get(), ff_h264_decode_mb_cabac(), ff_hwframe_unmap(), ff_ivi_decode_close(), ff_ivi_decode_frame(), ff_mjpeg_build_optimal_huffman(), ff_mpeg4_frame_end(), ff_mpeg4_workaround_bugs(), ff_nvdec_decode_init(), ff_nvdec_decode_uninit(), ff_nvdec_end_frame(), ff_nvdec_simple_decode_slice(), ff_nvdec_simple_end_frame(), ff_nvdec_start_frame(), ff_nvenc_encode_close(), ff_nvenc_encode_frame(), ff_nvenc_encode_init(), ff_nvenc_receive_packet(), ff_nvenc_send_frame(), ff_opencl_filter_config_input(), ff_opencl_filter_config_output(), ff_opencl_filter_init(), ff_opencl_filter_load_program(), ff_opencl_filter_uninit(), ff_psy_preprocess_init(), ff_qsvvpp_filter_frame(), ff_rtp_parse_set_dynamic_protocol(), ff_v4l2_buffer_initialize(), ff_v4l2_context_init(), ff_vaapi_decode_destroy_buffers(), ff_vaapi_decode_init(), ff_vaapi_decode_issue(), ff_vaapi_decode_make_param_buffer(), ff_vaapi_decode_make_slice_buffer(), ff_vaapi_decode_uninit(), ff_vaapi_encode2(), ff_vaapi_vpp_config_input(), ff_vaapi_vpp_config_output(), ff_vaapi_vpp_ctx_init(), ff_vaapi_vpp_ctx_uninit(), ff_vaapi_vpp_make_param_buffers(), ff_vaapi_vpp_pipeline_uninit(), ff_vaapi_vpp_render_picture(), ff_yadif_filter_frame(), ff_yadif_request_frame(), ffmal_copy_frame(), ffmal_update_format(), ffmmal_add_packet(), ffmmal_close_decoder(), ffmmal_decode(), ffmmal_fill_input_port(), ffmmal_fill_output_port(), ffmmal_flush(), ffmmal_init_decoder(), ffmmal_read_frame(), ffmmal_stop_decoder(), ffmpeg_cleanup(), fic_decode_close(), fic_decode_frame(), fic_decode_init(), fic_decode_slice(), fic_draw_cursor(), fill_slice_long(), filler(), film_grain_params(), filter_child_next(), filter_frame(), filter_frame16(), filter_frame8(), filter_frame_magnitude(), filter_frame_phase(), filter_units_close(), filter_units_filter(), filter_units_init(), find_quant_thread(), find_slice_quant(), fir_frame(), flush(), flush_cache(), flush_decoder(), flush_dynbuf(), flush_frame(), frame(), frame_alloc(), frame_header_obu(), frame_obu(), frame_size(), frame_size_with_refs(), frame_sync_code(), free_buffers(), gain_interpolate_func(), geq_filter_frame(), get_aspect_ratio(), get_audio_buffer(), get_audio_config(), get_cabac_cbf_ctx(), get_image_format(), get_sensor_orientation(), get_video_buffer(), get_video_config(), global_motion_params(), gsm_decode_block(), h264_metadata_close(), h264_metadata_filter(), h264_metadata_init(), h264_metadata_update_sps(), h264_redundant_pps_close(), h264_redundant_pps_filter(), h264_redundant_pps_flush(), h264_redundant_pps_init(), h265_metadata_close(), h265_metadata_filter(), h265_metadata_init(), h265_metadata_update_sps(), h265_metadata_update_vps(), handle_file(), handler(), hap_close(), hap_compress_frame(), hap_decode(), hap_encode(), hap_init(), hap_parse_frame_header(), hapqa_extract(), hds_write_header(), headphone_frame(), hevc_find_frame_end(), hevc_parse(), hevc_parse_slice_header(), hevc_parser_close(), horizontal_frame_pack(), hq_hqa_decode_close(), hq_hqa_decode_frame(), hq_hqa_decode_init(), hqx_decode_close(), hqx_decode_frame(), hqx_decode_init(), hrd_parameters(), hwdevice_ctx_free(), hwdownload_config_input(), hwdownload_config_output(), hwdownload_filter_frame(), hwdownload_uninit(), hwframe_ctx_free(), hwframe_pool_prealloc(), hwmap_config_output(), hwmap_filter_frame(), hwmap_get_buffer(), hwmap_uninit(), hwupload_config_output(), hwupload_filter_frame(), hwupload_query_formats(), hwupload_uninit(), image_available(), init(), init_decoder(), init_encoder(), init_out_session(), init_output_bsfs(), init_src(), initialize_chromakey(), inject_frame(), input_callback(), insert_filter(), insert_trim(), interpolate(), ism_write_header(), ivf_write_packet(), ivf_write_trailer(), join_config_output(), kmsgrab_read_close(), kmsgrab_read_header(), kmsgrab_read_packet(), latm_write_frame_header(), latm_write_header(), latm_write_packet(), launch_kernel(), libAVMemInputPin_Receive(), libkvazaar_close(), libkvazaar_encode(), libkvazaar_init(), libopenjpeg_decode_frame(), libopenjpeg_decode_init(), libopenjpeg_encode_frame(), libopenjpeg_encode_init(), libx265_encode_close(), libx265_encode_frame(), libx265_encode_init(), list_op(), LLVMFuzzerTestOneInput(), load_apply_palette(), log_encoder_error(), loop_filter_params(), lr_params(), lut2_config_output(), mace_decode_frame(), main(), match_framerate(), match_video_size(), mediacodec_buffer_release(), metadata_obu(), mimic_decode_end(), mimic_decode_frame(), mimic_decode_init(), mlp_encode_close(), mlp_encode_frame(), mlp_encode_init(), mov_read_cmov(), mov_write_udta_sdp(), movie_config_output_props(), movie_request_frame(), mpeg2_metadata_close(), mpeg2_metadata_filter(), mpeg2_metadata_init(), mpeg2_metadata_update_fragment(), mpeg4_decode_mb(), mpeg4_decode_partitioned_mb(), mpeg4_decode_studio_block(), mpeg4_unpack_bframes_close(), mpeg4_unpack_bframes_flush(), mss1_decode_end(), mss1_decode_frame(), mss2_decode_end(), mss2_decode_frame(), mss2_decode_init(), mxf_read_local_tags(), nal_unit_header(), ndi_create_audio_stream(), ndi_create_video_stream(), ndi_find_sources(), ndi_read_close(), ndi_read_header(), ndi_read_packet(), ndi_set_audio_packet(), ndi_set_video_packet(), ndi_setup_audio(), ndi_setup_video(), ndi_write_audio_packet(), ndi_write_header(), ndi_write_trailer(), ndi_write_video_packet(), neighbor_opencl_filter_frame(), neighbor_opencl_init(), neighbor_opencl_make_filter_params(), neighbor_opencl_uninit(), nppscale_config_props(), nppscale_scale(), npptranspose_config_props(), npptranspose_filter(), nuv_header(), nuv_packet(), nuv_read_dts(), nvdec_h264_decode_slice(), nvdec_h264_start_frame(), nvdec_hevc_decode_slice(), nvdec_hevc_start_frame(), nvdec_mjpeg_start_frame(), nvdec_mpeg12_start_frame(), nvdec_mpeg4_start_frame(), nvdec_vc1_start_frame(), nvdec_vp8_start_frame(), nvdec_vp9_start_frame(), nvenc_alloc_surface(), nvenc_check_cap(), nvenc_check_capabilities(), nvenc_check_codec_support(), nvenc_check_device(), nvenc_codec_specific_pic_params(), nvenc_find_free_reg_resource(), nvenc_load_libraries(), nvenc_open_session(), nvenc_override_rate_control(), nvenc_pop_context(), nvenc_push_context(), nvenc_recalc_surfaces(), nvenc_register_frame(), nvenc_set_timestamp(), nvenc_setup_device(), nvenc_setup_encoder(), nvenc_setup_extradata(), nvenc_setup_h264_config(), nvenc_setup_hevc_config(), nvenc_setup_rate_control(), nvenc_setup_surfaces(), nvenc_upload_frame(), open_camera(), open_output_file(), opencl_error_callback(), opencl_filter_set_device(), opt_map(), oscilloscope_filter_frame(), output_callback(), output_frame(), output_ready(), overlay_opencl_activate(), overlay_opencl_blend(), overlay_opencl_config_output(), overlay_opencl_init(), overlay_opencl_load(), overlay_opencl_uninit(), parse_device_name(), parse_nal_units(), parse_object_segment(), parse_palette_segment(), parse_pixel_format(), parse_presentation_segment(), parse_script(), picture_coding_extension(), picture_display_extension(), pixlet_close(), pixlet_decode_frame(), pixscope_filter_frame(), plot_freqs(), plot_spectrum_column(), pp_filter_frame(), pps(), pps_range_extension(), pred_weight_table(), print_sdp(), procamp_vaapi_build_filter_params(), process_frame(), process_output_surface(), program_opencl_activate(), program_opencl_config_output(), program_opencl_filter(), program_opencl_init(), program_opencl_load(), program_opencl_run(), program_opencl_uninit(), prores_encode_close(), prores_encode_init(), pulse_update_sink_input_info(), push_frame(), push_single_pic(), qsv_frame_alloc(), qsv_init_internal_session(), qsv_pool_alloc(), qsvdeint_config_props(), qsvdeint_filter_frame(), qsvdeint_request_frame(), qsvscale_config_props(), qsvscale_filter_frame(), quantization_params(), query_frame(), queue_frames(), read_header(), read_high_coeffs(), read_highpass(), read_low_coeffs(), read_packet(), read_tx_mode(), reconfig_encoder(), reconstruction(), ref_pic_list_modification(), render_size(), request_frame(), rscc_close(), rscc_decode_frame(), rscc_init(), rtmp_close(), rtmp_get_file_handle(), rtmp_open(), rtmp_read(), rtmp_read_pause(), rtmp_read_seek(), rtmp_write(), run_postproc(), save_subtitle_set(), scale_vaapi_config_output(), scale_vaapi_init(), decklink_output_callback::ScheduledFrameCompleted(), screenpresso_close(), screenpresso_decode_frame(), screenpresso_init(), section_write_packet(), seek_test(), sei(), sei_buffering_period(), sei_payload(), sei_pic_timing(), sei_user_data_registered(), sei_user_data_unregistered(), sequence_extension(), sequence_header(), sequence_header_obu(), set_constqp(), set_lossless(), set_pix_fmt(), set_vbr(), setup_crossbar_options(), shall_we_drop(), sharpness_vaapi_build_filter_params(), shuffleplanes_config_input(), shuffleplanes_filter_frame(), sipr_decode_frame(), sipr_decoder_init(), skip_mode_params(), slice_header(), slice_segment_header(), smacker_decode_header_tree(), source_config_props(), spatial_frame_pack(), spdif_header_aac(), spdif_header_ac3(), spdif_header_dts(), spdif_header_dts4(), spdif_header_eac3(), spdif_header_mpeg(), spdif_header_truehd(), spdif_write_header(), spdif_write_packet(), spdif_write_trailer(), sps(), sps_extension(), storeframe(), submit_frame(), superres_params(), tdsc_close(), tdsc_decode_frame(), tdsc_decode_jpeg_tile(), tdsc_decode_tiles(), tdsc_init(), tdsc_load_cursor(), tdsc_paint_cursor(), tdsc_parse_dtsm(), tdsc_parse_tdsf(), teletext_close_decoder(), teletext_decode_frame(), teletext_init_decoder(), temporal_delimiter_obu(), thread_execute(), tile_group_obu(), tile_info(), tonemap_opencl_filter_frame(), tonemap_opencl_init(), tonemap_opencl_uninit(), trace_headers(), trace_headers_close(), trace_headers_init(), transfer_data_alloc(), uncompressed_header(), uninit(), unsharp_opencl_filter_frame(), unsharp_opencl_init(), unsharp_opencl_make_filter_params(), unsharp_opencl_uninit(), update_chunk_offsets_callback(), upgrade_stco_callback(), vaapi_decode_find_best_format(), vaapi_device_init(), vaapi_device_uninit(), vaapi_encode_add_global_param(), vaapi_encode_clear_old(), vaapi_encode_get_next(), vaapi_encode_h264_configure(), vaapi_encode_h264_init(), vaapi_encode_h264_init_picture_params(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_init_rate_control(), vaapi_encode_issue(), vaapi_encode_make_packed_header(), vaapi_encode_make_param_buffer(), vaapi_encode_mjpeg_configure(), vaapi_encode_mjpeg_init(), vaapi_encode_mpeg2_configure(), vaapi_encode_mpeg2_init(), vaapi_encode_mpeg2_init_sequence_params(), vaapi_encode_output(), vaapi_encode_profile_entrypoint(), vaapi_encode_step(), vaapi_encode_truncate_gop(), vaapi_encode_vp8_init(), vaapi_encode_vp8_init_sequence_params(), vaapi_encode_vp9_init(), vaapi_encode_vp9_init_picture_params(), vaapi_encode_vp9_init_sequence_params(), vaapi_encode_wait(), vaapi_frames_get_constraints(), vaapi_frames_init(), vaapi_frames_uninit(), vaapi_get_image_format(), vaapi_map_frame(), vaapi_mpeg4_start_frame(), vaapi_pool_alloc(), vaapi_transfer_get_formats(), vble_decode_close(), vble_decode_frame(), vble_decode_init(), vc1test_write_packet(), vc1test_write_trailer(), vdpau_buffer_free(), vdpau_mpeg4_start_frame(), vdpau_pool_alloc(), vertical_frame_pack(), vfw_read_close(), vfw_read_header(), vfw_read_packet(), video_decode(), video_decode_example(), videostream_cb(), vp56_decode_mv(), vp56_parse_mb_type(), vp56_parse_mb_type_models(), vp5_parse_coeff(), vp5_parse_coeff_models(), vp6_parse_coeff(), vp6_parse_coeff_models(), vp9_metadata_close(), vp9_metadata_filter(), vp9_metadata_init(), vp9_raw_reorder_close(), vp9_raw_reorder_filter(), vp9_raw_reorder_make_output(), vps(), vpx_decode(), vpx_free(), vpx_init(), vs2av_log(), vtenc_output_callback(), vui_parameters(), wait_for_image_format(), writer_child_next(), xan_decode_frame(), xan_unpack(), and xcbgrab_read_close().

uint8_t iobuf[32768]

Definition at line 49 of file movenc.c.

Referenced by init_fps().

AVDictionary* opts
int write_file

Definition at line 52 of file movenc.c.

Referenced by init_out(), and main().

const char* cur_name

Definition at line 53 of file movenc.c.

Referenced by close_out(), and init_out().

FILE* out

Definition at line 54 of file movenc.c.

Referenced by activate(), alloc_frame_empty(), alloc_out_frame(), amplify_frame(), anti_sparseness(), apply_filter(), apply_lut(), apply_lut16(), apply_lut16_p(), apply_lut8(), apply_lut8_p(), apply_palette(), assign_bits(), audio_decode_frame(), av_base64_decode(), av_base64_encode(), av_file_map(), av_get_token(), av_i2int(), av_int2i(), av_lzo1x_decode(), av_mul_i(), av_shr_i(), avc_chroma_hv_and_aver_dst_4x4_msa(), avc_chroma_hz_4x4_msa(), avc_chroma_hz_and_aver_dst_4x4_msa(), avc_chroma_vt_4x4_msa(), avc_chroma_vt_and_aver_dst_2x2_msa(), avc_chroma_vt_and_aver_dst_4x4_msa(), avc_luma_hv_qrt_4x4_msa(), avpriv_do_elbg(), avs_decode_frame(), biquad(), biquad_process(), bsf_list_filter(), cdg_scroll(), cdxl_decode_ham6(), cdxl_decode_ham8(), check_decorrelate(), check_threshold(), chromatic_adaptation(), clear_index_entries(), close_out(), common_hv_2ht_2vt_and_aver_dst_4x4_msa(), common_hv_8ht_8vt_4w_msa(), common_hz_4t_16w_msa(), common_hz_4t_32w_msa(), common_hz_4t_4x16_msa(), common_hz_4t_4x2_msa(), common_hz_4t_4x4_msa(), common_hz_4t_4x8_msa(), common_hz_4t_8x2mult_msa(), common_hz_6t_4x4_msa(), common_hz_6t_4x8_msa(), common_hz_8t_16w_msa(), common_hz_8t_24w_msa(), common_hz_8t_32w_msa(), common_hz_8t_48w_msa(), common_hz_8t_4x16_msa(), common_hz_8t_4x4_msa(), common_hz_8t_4x8_msa(), common_hz_8t_64w_msa(), common_vt_2t_and_aver_dst_4x4_msa(), common_vt_4t_24w_msa(), common_vt_4t_32w_msa(), common_vt_4t_4x2_msa(), common_vt_4t_4x4multiple_msa(), common_vt_4t_8x2_msa(), common_vt_8t_4w_msa(), common_vt_8t_and_aver_dst_4w_msa(), config_video(), copy_moof(), create_frame(), cudascale_filter_frame(), cudaupload_filter_frame(), dashenc_delete_file(), dc1394_read_common(), dc1394_read_header(), deband_16_c(), deband_16_coupling_c(), deband_8_c(), deband_8_coupling_c(), decode_frame(), decode_ics(), decode_residual_spectrum(), decode_rle(), decode_rle16(), decode_rle_bpp2(), decode_rle_bpp4(), decode_string(), decorrelation(), deinterlace_slice(), diagonal_transformation(), doTest(), dpcm_decode_frame(), draw_legend(), dss_sp_decode_frame(), dump_attachment(), epic_jb_decode_tile(), evaluate_lls(), f_func(), ff_avc_find_startcode(), ff_avc_write_annexb_extradata(), ff_avg_h264_qpel16_mc12_msa(), ff_avg_h264_qpel16_mc32_msa(), ff_avg_h264_qpel4_mc12_msa(), ff_avg_h264_qpel4_mc21_msa(), ff_avg_h264_qpel4_mc23_msa(), ff_avg_h264_qpel4_mc32_msa(), ff_avg_h264_qpel8_mc12_msa(), ff_avg_h264_qpel8_mc32_msa(), ff_dc_16x16_msa(), ff_dc_32x32_msa(), ff_get_cpu_flags_ppc(), ff_h264_execute_ref_pic_marking(), ff_h264_idct4x4_addblk_dc_msa(), ff_h264_intra_pred_dc_128_16x16_msa(), ff_h264_intra_pred_dc_128_8x8_msa(), ff_h264_intra_pred_dc_16x16_msa(), ff_h264_intra_pred_dc_left_16x16_msa(), ff_h264_intra_pred_dc_top_16x16_msa(), ff_inlink_make_frame_writable(), ff_put_h264_qpel16_mc12_msa(), ff_put_h264_qpel16_mc32_msa(), ff_put_h264_qpel4_mc01_msa(), ff_put_h264_qpel4_mc02_msa(), ff_put_h264_qpel4_mc03_msa(), ff_put_h264_qpel4_mc12_msa(), ff_put_h264_qpel4_mc20_msa(), ff_put_h264_qpel4_mc32_msa(), ff_put_h264_qpel8_mc12_msa(), ff_put_h264_qpel8_mc32_msa(), ff_put_vp8_epel16_h4_msa(), ff_put_vp8_epel16_h6_msa(), ff_put_vp8_epel4_h4v4_msa(), ff_put_vp8_epel4_h4v6_msa(), ff_put_vp8_epel4_h6v6_msa(), ff_put_vp8_epel4_v4_msa(), ff_put_vp8_epel4_v6_msa(), ff_ref_fdct(), ff_ref_idct(), ff_rle_encode(), ff_srtp_encrypt(), filter(), filter16_brng(), filter16_tout(), filter16_vrep(), filter8_brng(), filter8_tout(), filter8_vrep(), filter_channel(), filter_color(), filter_color2(), filter_frame(), filter_frame16(), filter_frame8(), filter_mono(), filter_slice(), filter_slice16(), filter_slice8(), filter_slice_packed(), filter_slice_planar(), filter_slice_rgba16_packed(), filter_slice_rgba16_planar(), filter_slice_rgba_packed(), filter_slice_rgba_planar(), find_header_idx(), fir_channel(), fir_frame(), flac_decorrelate_indep_c(), flac_decorrelate_ls_c(), flac_decorrelate_ms_c(), flac_decorrelate_rs_c(), flush_buffer(), forward_status_change(), g723_1_decode_frame(), generate_codebook(), generate_joint_tables(), generate_new_codebooks(), geq_filter_frame(), get_delayed_pic(), get_free_frame(), get_palette_frame(), get_trim_info(), grab_read_header(), gxf_resync_media(), h264_extradata_to_annexb(), h264_select_output_frame(), headphone_convolute(), headphone_fast_convolute(), headphone_frame(), hevc_hv_bi_4t_4x2_msa(), hevc_hv_bi_4t_4x4_msa(), hevc_hv_bi_4t_8x2_msa(), hevc_hv_bi_8t_12w_msa(), hevc_hv_bi_8t_4w_msa(), hevc_hv_bi_8t_8multx1mult_msa(), hevc_hv_biwgt_4t_4x2_msa(), hevc_hv_biwgt_4t_4x4_msa(), hevc_hv_biwgt_4t_8x2_msa(), hevc_hv_biwgt_8t_12w_msa(), hevc_hv_biwgt_8t_4w_msa(), hevc_hv_biwgt_8t_8multx2mult_msa(), hevc_hv_uni_4t_4x2_msa(), hevc_hv_uni_4t_4x4_msa(), hevc_hv_uni_4t_8x2_msa(), hevc_hv_uni_8t_8multx2mult_msa(), hevc_hv_uniwgt_4t_4x2_msa(), hevc_hv_uniwgt_4t_4x4_msa(), hevc_hv_uniwgt_4t_8x2_msa(), hevc_hv_uniwgt_8t_12w_msa(), hevc_hv_uniwgt_8t_4w_msa(), hevc_hz_uniwgt_4t_4x2_msa(), hevc_hz_uniwgt_4t_4x4_msa(), hevc_hz_uniwgt_4t_8x2_msa(), hevc_vt_biwgt_4t_4x2_msa(), hevc_vt_uniwgt_4t_4x2_msa(), hevc_vt_uniwgt_4t_4x4_msa(), hevc_vt_uniwgt_4t_8x2_msa(), hflip_b24_c(), hflip_b48_c(), hls_delete_old_segments(), hqx_filter(), huf_decode(), hybrid2_re(), hybrid4_8_12_cx(), hybrid6_cx(), ifft_channel(), imdct_and_window(), imdct_and_windowing(), imdct_and_windowing_960(), imdct_and_windowing_eld(), imdct_and_windowing_ld(), init_out(), intra_predict_vert_16x16_msa(), intra_predict_vert_8x8_msa(), io_write(), ir2_decode_plane(), ir2_decode_plane_inter(), iso88591_to_utf8(), jpg_decode_data(), load_apply_palette(), log16(), main(), md5_close(), mix_frames(), mjpeg_decode_app(), mov_parse_uuid_spherical(), mss4_decode_dct_block(), mxf_interleave_get_packet(), noise_scale(), normalize(), nppscale_filter_frame(), npptranspose_filter_frame(), on2avc_reconstruct_channel(), on2avc_reconstruct_channel_ext(), open_output_file(), opus_decode_packet(), output_client_manifest(), output_frame(), output_mpd(), output_server_manifest(), output_single_frame(), paf_video_decode(), parse_iplconvkernel(), parse_m3d(), pixscope_filter_frame(), piz_uncompress(), plot_channel(), plot_cqt(), plot_freqs(), pmt_cb(), premultiply_slice(), pretwiddle(), print_formats(), process_frame(), ps_hybrid_analysis_c(), ps_hybrid_analysis_ileave_c(), push_single_pic(), put_main_header(), pxr24_uncompress(), qdm2_calculate_fft(), qdm2_decode_frame(), qsv_transfer_data_from(), qsv_transfer_data_to(), qsvscale_filter_frame(), query_formats(), r3d_read_header(), ra288_decode_frame(), read_tree(), request_frame(), resample(), return_audio_frame(), rl2_rle_decode(), roq_dpcm_encode_frame(), run_single_test(), sbr_hf_assemble(), sbr_make_f_tablelim(), scalarproduct(), scale_slice(), scc_read_header(), section_process(), send_next_delayed_frame(), set_side_data(), setup_array(), sofalizer_convolute(), sofalizer_fast_convolute(), stream_component_open(), subband_scale(), swr_convert(), swr_convert_internal(), swr_set_matrix(), targa_encode_frame(), targa_encode_normal(), targa_encode_rle(), test(), test_hybrid_analysis(), test_hybrid_analysis_ileave(), test_hybrid_synthesis_deint(), threshold16(), tm2_build_huff_table(), transcode_subtitles(), try_push_frame(), vp9_iadst16x16_colcol_addblk_msa(), vp9_iadst_idct_16x16_add_msa(), vp9_idct16x16_10_colcol_addblk_msa(), vp9_idct16x16_1_add_msa(), vp9_idct16x16_colcol_addblk_msa(), vp9_idct32x32_1_add_msa(), vp9_idct4x4_1_add_msa(), vp9_idct8x8_1_add_msa(), vp9_idct_iadst_16x16_add_msa(), WINDOW_FUNC(), wrapped_avframe_decode(), write_abst(), write_fragment(), write_fragments(), write_manifest(), xmlescape(), zmbv_decode_xor_16(), zmbv_decode_xor_32(), and zmbv_decode_xor_8().

int out_size
struct AVMD5* md5
Examples:
filter_audio.c.

Definition at line 56 of file movenc.c.

Referenced by do_adobe_auth(), do_llnw_auth(), main(), md5_close(), tak_read_header(), and verify_md5().

AVStream* video_st
Examples:
muxing.c, and qsvdec.c.

Definition at line 59 of file movenc.c.

Referenced by avi_write_header(), gif_write_packet(), main(), mov_write_uuidprof_tag(), and mxg_read_header().

AVStream * audio_st
Examples:
muxing.c.

Definition at line 59 of file movenc.c.

Referenced by main(), and mxg_read_header().

int64_t audio_dts

Definition at line 60 of file movenc.c.

Referenced by init_fps(), mux_frames(), and signal_init_ts().

int64_t video_dts

Definition at line 60 of file movenc.c.

Referenced by init_fps(), mux_frames(), and signal_init_ts().

int bframes

Definition at line 62 of file movenc.c.

Referenced by init_fps(), and mux_frames().

int64_t duration
Examples:
filter_audio.c.

Definition at line 63 of file movenc.c.

Referenced by add_ctts_entry(), add_fragment(), add_segment(), aix_read_packet(), asf_write_header1(), ass_read_header(), av_dump_format(), av_rescale_delta(), av_vorbis_parse_frame_flags(), bluray_open(), calculate_bitrate(), check_pkt(), compute_pkt_fields(), daala_packet(), dash_seek(), dca_parse(), do_streamcopy(), do_video_out(), dtshd_read_header(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), ff_celt_bitalloc(), ff_hls_write_file_entry(), ff_rfps_add_frame(), ff_voc_get_packet(), fifo_overflow_drop_test(), find_duration(), find_prev_closest_index(), get_concatdec_select(), get_duration(), get_duration_insec(), get_metadata_duration(), hls_append_segment(), hls_delete_old_segments(), hls_read_header(), hls_read_seek(), init_fps(), ism_flush(), libvorbis_encode_frame(), main(), matroska_parse_webvtt(), mkv_add_cuepoint(), mkv_write_cues(), mkv_write_packet_internal(), mov_flush_fragment(), mov_read_ctts(), mov_read_sidx(), mov_read_stts(), mov_write_ctts_tag(), mov_write_edts_tag(), mov_write_sidx_tag(), mov_write_stts_tag(), mov_write_tkhd_tag(), mpl2_read_header(), mpsub_read_header(), mux_frames(), nsv_parse_NSVf_header(), opus_get_packet_samples(), opus_packet(), output_segment_list(), parse_file(), parse_playlist(), pjs_read_header(), process_input(), qdm2_decode_fft_packets(), qdm2_fft_decode_tones(), qdm2_fft_init_coefficient(), quant_band_template(), QUANT_FN(), read_frame(), read_frame_internal(), read_odml_index(), read_tfra(), realtext_read_header(), rm_read_header(), rv10_write_header(), seek_to_start(), smjpeg_read_header(), stl_read_header(), subviewer_read_header(), swr_next_pts(), theora_packet(), update_initial_durations(), update_stream_timings(), vivo_read_header(), vorbis_packet(), vp8_packet(), wavesynth_decode(), write_manifest(), and xma_parse().

int64_t audio_duration

Definition at line 64 of file movenc.c.

Referenced by init_fps(), and mux_frames().

int frames
int gop_size

Definition at line 66 of file movenc.c.

Referenced by encode_init(), init_fps(), main(), mux_frames(), and mux_gops().

int64_t next_p_pts

Definition at line 67 of file movenc.c.

Referenced by mux_frames().

enum AVPictureType last_picture

Definition at line 68 of file movenc.c.

Referenced by encode_frame(), ff_mpeg_update_thread_context(), and mux_frames().

int skip_write

Definition at line 69 of file movenc.c.

Referenced by mux_frames(), and skip_gops().

int skip_write_audio

Definition at line 70 of file movenc.c.

Referenced by main(), and mux_frames().

int clear_duration

Definition at line 71 of file movenc.c.

Referenced by main(), and mux_frames().

int force_iobuf_size

Definition at line 72 of file movenc.c.

Referenced by init_fps(), and main().

int do_interleave

Definition at line 73 of file movenc.c.

Referenced by main(), and mux_frames().

int fake_pkt_duration

Definition at line 74 of file movenc.c.

Referenced by main(), and mux_frames().

int num_warnings

Definition at line 76 of file movenc.c.

Referenced by count_warnings(), init_count_warnings(), and main().

int check_faults

Definition at line 78 of file movenc.c.

Referenced by check_func(), and main().