2012-03-14 15:18:20 +03:00
/*
2012-03-21 02:15:18 +03:00
* Copyright ( c ) 2001 Fabrice Bellard
* Copyright ( c ) 2002 - 2004 Michael Niedermayer < michaelni @ gmx . at >
2012-03-14 15:18:20 +03:00
*
2012-03-21 02:15:18 +03:00
* This file is part of FFmpeg .
2012-03-14 15:18:20 +03:00
*
2012-03-21 02:15:18 +03:00
* FFmpeg is free software ; you can redistribute it and / or
2012-03-14 15:18:20 +03:00
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation ; either
* version 2.1 of the License , or ( at your option ) any later version .
*
2012-03-21 02:15:18 +03:00
* FFmpeg is distributed in the hope that it will be useful ,
2012-03-14 15:18:20 +03:00
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the GNU
* Lesser General Public License for more details .
*
* You should have received a copy of the GNU Lesser General Public
2012-03-21 02:15:18 +03:00
* License along with FFmpeg ; if not , write to the Free Software
2012-03-14 15:18:20 +03:00
* Foundation , Inc . , 51 Franklin Street , Fifth Floor , Boston , MA 02110 - 1301 USA
*/
2012-12-09 15:35:21 +03:00
# ifndef AVCODEC_OPTIONS_TABLE_H
# define AVCODEC_OPTIONS_TABLE_H
2012-03-14 15:18:20 +03:00
2012-05-08 02:25:12 +03:00
# include <float.h>
# include <limits.h>
2013-11-23 23:32:55 +03:00
# include <stdint.h>
2012-05-08 02:25:12 +03:00
# include "libavutil/opt.h"
# include "avcodec.h"
2012-10-11 17:48:27 +03:00
# include "version.h"
2012-05-08 02:25:12 +03:00
2012-03-14 15:18:20 +03:00
# define OFFSET(x) offsetof(AVCodecContext,x)
# define DEFAULT 0 //should be NAN but it does not work as it is not a constant in glibc as required by ANSI/ISO C
//these names are too long to be readable
# define V AV_OPT_FLAG_VIDEO_PARAM
# define A AV_OPT_FLAG_AUDIO_PARAM
# define S AV_OPT_FLAG_SUBTITLE_PARAM
# define E AV_OPT_FLAG_ENCODING_PARAM
# define D AV_OPT_FLAG_DECODING_PARAM
2020-05-10 20:08:40 +02:00
# define CC AV_OPT_FLAG_CHILD_CONSTS
2012-03-14 15:18:20 +03:00
# define AV_CODEC_DEFAULT_BITRATE 200*1000
2013-08-01 15:35:01 +03:00
static const AVOption avcodec_options [ ] = {
2016-02-10 17:22:59 +02:00
{ " b " , " set bitrate (in bits/s) " , OFFSET ( bit_rate ) , AV_OPT_TYPE_INT64 , { . i64 = AV_CODEC_DEFAULT_BITRATE } , 0 , INT64_MAX , A | V | E } ,
2015-09-15 18:01:32 +02:00
{ " ab " , " set bitrate (in bits/s) " , OFFSET ( bit_rate ) , AV_OPT_TYPE_INT64 , { . i64 = 128 * 1000 } , 0 , INT_MAX , A | E } ,
2012-03-15 10:17:05 +03:00
{ " bt " , " Set video bitrate tolerance (in bits/s). In 1-pass mode, bitrate tolerance specifies how far "
" ratecontrol is willing to deviate from the target average bitrate value. This is not related "
2012-12-07 18:07:51 +03:00
" to minimum/maximum bitrate. Lowering tolerance too much has an adverse effect on quality. " ,
2012-08-31 13:22:31 +03:00
OFFSET ( bit_rate_tolerance ) , AV_OPT_TYPE_INT , { . i64 = AV_CODEC_DEFAULT_BITRATE * 20 } , 1 , INT_MAX , V | E } ,
2012-09-05 15:09:09 +03:00
{ " flags " , NULL , OFFSET ( flags ) , AV_OPT_TYPE_FLAGS , { . i64 = DEFAULT } , 0 , UINT_MAX , V | A | S | E | D , " flags " } ,
2015-06-29 21:59:37 +02:00
{ " unaligned " , " allow decoders to produce unaligned output " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_UNALIGNED } , INT_MIN , INT_MAX , V | D , " flags " } ,
{ " mv4 " , " use four motion vectors per macroblock (MPEG-4) " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_4MV } , INT_MIN , INT_MAX , V | E , " flags " } ,
{ " qpel " , " use 1/4-pel motion compensation " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_QPEL } , INT_MIN , INT_MAX , V | E , " flags " } ,
{ " loop " , " use loop filter " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_LOOP_FILTER } , INT_MIN , INT_MAX , V | E , " flags " } ,
{ " qscale " , " use fixed qscale " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_QSCALE } , INT_MIN , INT_MAX , 0 , " flags " } ,
{ " pass1 " , " use internal 2-pass ratecontrol in first pass mode " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_PASS1 } , INT_MIN , INT_MAX , 0 , " flags " } ,
{ " pass2 " , " use internal 2-pass ratecontrol in second pass mode " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_PASS2 } , INT_MIN , INT_MAX , 0 , " flags " } ,
{ " gray " , " only decode/encode grayscale " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_GRAY } , INT_MIN , INT_MAX , V | E | D , " flags " } ,
{ " psnr " , " error[?] variables will be set during encoding " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_PSNR } , INT_MIN , INT_MAX , V | E , " flags " } ,
2021-03-08 12:26:32 +02:00
# if FF_API_FLAG_TRUNCATED
{ " truncated " , " (Deprecated, use parsers instead.) Input bitstream might be randomly truncated " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_TRUNCATED } , INT_MIN , INT_MAX , V | D | AV_OPT_FLAG_DEPRECATED , " flags " } ,
# endif
2015-06-29 21:59:37 +02:00
{ " ildct " , " use interlaced DCT " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_INTERLACED_DCT } , INT_MIN , INT_MAX , V | E , " flags " } ,
{ " low_delay " , " force low delay " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_LOW_DELAY } , INT_MIN , INT_MAX , V | D | E , " flags " } ,
{ " global_header " , " place global headers in extradata instead of every keyframe " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_GLOBAL_HEADER } , INT_MIN , INT_MAX , V | A | E , " flags " } ,
{ " bitexact " , " use only bitexact functions (except (I)DCT) " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_BITEXACT } , INT_MIN , INT_MAX , A | V | S | D | E , " flags " } ,
{ " aic " , " H.263 advanced intra coding / MPEG-4 AC prediction " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_AC_PRED } , INT_MIN , INT_MAX , V | E , " flags " } ,
{ " ilme " , " interlaced motion estimation " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_INTERLACED_ME } , INT_MIN , INT_MAX , V | E , " flags " } ,
{ " cgop " , " closed GOP " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_CLOSED_GOP } , INT_MIN , INT_MAX , V | E , " flags " } ,
{ " output_corrupt " , " Output even potentially corrupted frames " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_OUTPUT_CORRUPT } , INT_MIN , INT_MAX , V | D , " flags " } ,
2019-04-14 18:42:25 +02:00
{ " drop_changed " , " Drop frames whose parameters differ from first decoded frame " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG_DROPCHANGED } , INT_MIN , INT_MAX , A | V | D , " flags " } ,
2019-10-04 14:32:00 +02:00
{ " flags2 " , NULL , OFFSET ( flags2 ) , AV_OPT_TYPE_FLAGS , { . i64 = DEFAULT } , 0 , UINT_MAX , V | A | E | D | S , " flags2 " } ,
2015-06-29 21:59:37 +02:00
{ " fast " , " allow non-spec-compliant speedup tricks " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG2_FAST } , INT_MIN , INT_MAX , V | E , " flags2 " } ,
{ " noout " , " skip bitstream encoding " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG2_NO_OUTPUT } , INT_MIN , INT_MAX , V | E , " flags2 " } ,
2015-07-27 21:14:31 +02:00
{ " ignorecrop " , " ignore cropping information from sps " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG2_IGNORE_CROP } , INT_MIN , INT_MAX , V | D , " flags2 " } ,
2015-06-29 21:59:37 +02:00
{ " local_header " , " place global headers at every keyframe instead of in extradata " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG2_LOCAL_HEADER } , INT_MIN , INT_MAX , V | E , " flags2 " } ,
2015-07-27 21:14:31 +02:00
{ " chunks " , " Frame data might be split into multiple chunks " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG2_CHUNKS } , INT_MIN , INT_MAX , V | D , " flags2 " } ,
{ " showall " , " Show all frames before the first keyframe " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG2_SHOW_ALL } , INT_MIN , INT_MAX , V | D , " flags2 " } ,
{ " export_mvs " , " export motion vectors through frame side data " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG2_EXPORT_MVS } , INT_MIN , INT_MAX , V | D , " flags2 " } ,
2019-10-04 14:32:00 +02:00
{ " skip_manual " , " do not skip samples and export skip information as frame side data " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG2_SKIP_MANUAL } , INT_MIN , INT_MAX , A | D , " flags2 " } ,
2016-02-20 22:27:45 +02:00
{ " ass_ro_flush_noop " , " do not reset ASS ReadOrder field on flush " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_FLAG2_RO_FLUSH_NOOP } , INT_MIN , INT_MAX , S | D , " flags2 " } ,
2020-02-02 23:44:41 +02:00
{ " export_side_data " , " Export metadata as side data " , OFFSET ( export_side_data ) , AV_OPT_TYPE_FLAGS , { . i64 = DEFAULT } , 0 , UINT_MAX , A | V | S | D | E , " export_side_data " } ,
{ " mvs " , " export motion vectors through frame side data " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_EXPORT_DATA_MVS } , INT_MIN , INT_MAX , V | D , " export_side_data " } ,
2020-02-03 00:12:08 +02:00
{ " prft " , " export Producer Reference Time through packet side data " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_EXPORT_DATA_PRFT } , INT_MIN , INT_MAX , A | V | S | E , " export_side_data " } ,
2020-05-12 16:08:25 +02:00
{ " venc_params " , " export video encoding parameters through frame side data " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_EXPORT_DATA_VIDEO_ENC_PARAMS } , INT_MIN , INT_MAX , V | D , " export_side_data " } ,
2020-11-12 18:46:09 +02:00
{ " film_grain " , " export film grain parameters through frame side data " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_CODEC_EXPORT_DATA_FILM_GRAIN } , INT_MIN , INT_MAX , V | D , " export_side_data " } ,
2016-11-17 20:25:50 +02:00
{ " time_base " , NULL , OFFSET ( time_base ) , AV_OPT_TYPE_RATIONAL , { . dbl = 0 } , 0 , INT_MAX } ,
2012-12-07 18:07:51 +03:00
{ " g " , " set the group of picture (GOP) size " , OFFSET ( gop_size ) , AV_OPT_TYPE_INT , { . i64 = 12 } , INT_MIN , INT_MAX , V | E } ,
2014-11-03 14:20:24 +02:00
{ " ar " , " set audio sampling rate (in Hz) " , OFFSET ( sample_rate ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , 0 , INT_MAX , A | D | E } ,
{ " ac " , " set number of audio channels " , OFFSET ( channels ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , 0 , INT_MAX , A | D | E } ,
2012-08-31 13:22:31 +03:00
{ " cutoff " , " set cutoff bandwidth " , OFFSET ( cutoff ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX , A | E } ,
2016-11-17 20:25:50 +02:00
{ " frame_size " , NULL , OFFSET ( frame_size ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , 0 , INT_MAX , A | E } ,
2012-08-31 13:22:31 +03:00
{ " frame_number " , NULL , OFFSET ( frame_number ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX } ,
{ " delay " , NULL , OFFSET ( delay ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX } ,
2012-03-15 10:17:05 +03:00
{ " qcomp " , " video quantizer scale compression (VBR). Constant of ratecontrol equation. "
" Recommended range for default rc_eq: 0.0-1.0 " ,
OFFSET ( qcompress ) , AV_OPT_TYPE_FLOAT , { . dbl = 0.5 } , - FLT_MAX , FLT_MAX , V | E } ,
2012-03-14 15:18:20 +03:00
{ " qblur " , " video quantizer scale blur (VBR) " , OFFSET ( qblur ) , AV_OPT_TYPE_FLOAT , { . dbl = 0.5 } , - 1 , FLT_MAX , V | E } ,
2012-12-07 18:07:51 +03:00
{ " qmin " , " minimum video quantizer scale (VBR) " , OFFSET ( qmin ) , AV_OPT_TYPE_INT , { . i64 = 2 } , - 1 , 69 , V | E } ,
2012-12-19 16:28:58 +03:00
{ " qmax " , " maximum video quantizer scale (VBR) " , OFFSET ( qmax ) , AV_OPT_TYPE_INT , { . i64 = 31 } , - 1 , 1024 , V | E } ,
2012-12-07 18:07:51 +03:00
{ " qdiff " , " maximum difference between the quantizer scales (VBR) " , OFFSET ( max_qdiff ) , AV_OPT_TYPE_INT , { . i64 = 3 } , INT_MIN , INT_MAX , V | E } ,
2016-06-21 21:55:20 +02:00
{ " bf " , " set maximum number of B-frames between non-B-frames " , OFFSET ( max_b_frames ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , - 1 , INT_MAX , V | E } ,
2012-12-07 18:07:51 +03:00
{ " b_qfactor " , " QP factor between P- and B-frames " , OFFSET ( b_quant_factor ) , AV_OPT_TYPE_FLOAT , { . dbl = 1.25 } , - FLT_MAX , FLT_MAX , V | E } ,
2012-08-31 13:22:31 +03:00
{ " codec_tag " , NULL , OFFSET ( codec_tag ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX } ,
2012-12-07 18:07:51 +03:00
{ " bug " , " work around not autodetected encoder bugs " , OFFSET ( workaround_bugs ) , AV_OPT_TYPE_FLAGS , { . i64 = FF_BUG_AUTODETECT } , INT_MIN , INT_MAX , V | D , " bug " } ,
2012-08-31 12:45:52 +03:00
{ " autodetect " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_BUG_AUTODETECT } , INT_MIN , INT_MAX , V | D , " bug " } ,
2012-12-07 18:07:51 +03:00
{ " xvid_ilace " , " Xvid interlacing bug (autodetected if FOURCC == XVIX) " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_BUG_XVID_ILACE } , INT_MIN , INT_MAX , V | D , " bug " } ,
{ " ump4 " , " (autodetected if FOURCC == UMP4) " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_BUG_UMP4 } , INT_MIN , INT_MAX , V | D , " bug " } ,
2012-08-31 12:45:52 +03:00
{ " no_padding " , " padding bug (autodetected) " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_BUG_NO_PADDING } , INT_MIN , INT_MAX , V | D , " bug " } ,
{ " amv " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_BUG_AMV } , INT_MIN , INT_MAX , V | D , " bug " } ,
{ " qpel_chroma " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_BUG_QPEL_CHROMA } , INT_MIN , INT_MAX , V | D , " bug " } ,
2012-12-07 18:07:51 +03:00
{ " std_qpel " , " old standard qpel (autodetected per FOURCC/version) " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_BUG_STD_QPEL } , INT_MIN , INT_MAX , V | D , " bug " } ,
2012-08-31 12:45:52 +03:00
{ " qpel_chroma2 " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_BUG_QPEL_CHROMA2 } , INT_MIN , INT_MAX , V | D , " bug " } ,
2012-12-07 18:07:51 +03:00
{ " direct_blocksize " , " direct-qpel-blocksize bug (autodetected per FOURCC/version) " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_BUG_DIRECT_BLOCKSIZE } , INT_MIN , INT_MAX , V | D , " bug " } ,
{ " edge " , " edge padding bug (autodetected per FOURCC/version) " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_BUG_EDGE } , INT_MIN , INT_MAX , V | D , " bug " } ,
2012-08-31 12:45:52 +03:00
{ " hpel_chroma " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_BUG_HPEL_CHROMA } , INT_MIN , INT_MAX , V | D , " bug " } ,
{ " dc_clip " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_BUG_DC_CLIP } , INT_MIN , INT_MAX , V | D , " bug " } ,
2012-12-07 18:07:51 +03:00
{ " ms " , " work around various bugs in Microsoft's broken decoders " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_BUG_MS } , INT_MIN , INT_MAX , V | D , " bug " } ,
{ " trunc " , " truncated frames " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_BUG_TRUNCATED } , INT_MIN , INT_MAX , V | D , " bug " } ,
2016-11-12 13:31:35 +02:00
{ " iedge " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_BUG_IEDGE } , INT_MIN , INT_MAX , V | D , " bug " } ,
2012-08-31 13:22:31 +03:00
{ " strict " , " how strictly to follow the standards " , OFFSET ( strict_std_compliance ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX , A | V | D | E , " strict " } ,
2016-05-02 22:01:49 +02:00
{ " very " , " strictly conform to a older more strict version of the spec or reference software " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_COMPLIANCE_VERY_STRICT } , INT_MIN , INT_MAX , A | V | D | E , " strict " } ,
{ " strict " , " strictly conform to all the things in the spec no matter what the consequences " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_COMPLIANCE_STRICT } , INT_MIN , INT_MAX , A | V | D | E , " strict " } ,
{ " normal " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_COMPLIANCE_NORMAL } , INT_MIN , INT_MAX , A | V | D | E , " strict " } ,
{ " unofficial " , " allow unofficial extensions " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_COMPLIANCE_UNOFFICIAL } , INT_MIN , INT_MAX , A | V | D | E , " strict " } ,
{ " experimental " , " allow non-standardized experimental things " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_COMPLIANCE_EXPERIMENTAL } , INT_MIN , INT_MAX , A | V | D | E , " strict " } ,
2012-12-07 18:07:51 +03:00
{ " b_qoffset " , " QP offset between P- and B-frames " , OFFSET ( b_quant_offset ) , AV_OPT_TYPE_FLOAT , { . dbl = 1.25 } , - FLT_MAX , FLT_MAX , V | E } ,
2021-02-22 14:21:09 +02:00
{ " err_detect " , " set error detection flags " , OFFSET ( err_recognition ) , AV_OPT_TYPE_FLAGS , { . i64 = 0 } , INT_MIN , INT_MAX , A | V | S | D | E , " err_detect " } ,
{ " crccheck " , " verify embedded CRCs " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_EF_CRCCHECK } , INT_MIN , INT_MAX , A | V | S | D | E , " err_detect " } ,
{ " bitstream " , " detect bitstream specification deviations " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_EF_BITSTREAM } , INT_MIN , INT_MAX , A | V | S | D | E , " err_detect " } ,
{ " buffer " , " detect improper bitstream length " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_EF_BUFFER } , INT_MIN , INT_MAX , A | V | S | D | E , " err_detect " } ,
{ " explode " , " abort decoding on minor error detection " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_EF_EXPLODE } , INT_MIN , INT_MAX , A | V | S | D | E , " err_detect " } ,
{ " ignore_err " , " ignore errors " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_EF_IGNORE_ERR } , INT_MIN , INT_MAX , A | V | S | D | E , " err_detect " } ,
{ " careful " , " consider things that violate the spec, are fast to check and have not been seen in the wild as errors " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_EF_CAREFUL } , INT_MIN , INT_MAX , A | V | S | D | E , " err_detect " } ,
{ " compliant " , " consider all spec non compliancies as errors " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_EF_COMPLIANT | AV_EF_CAREFUL } , INT_MIN , INT_MAX , A | V | S | D | E , " err_detect " } ,
{ " aggressive " , " consider things that a sane encoder should not do as an error " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_EF_AGGRESSIVE | AV_EF_COMPLIANT | AV_EF_CAREFUL } , INT_MIN , INT_MAX , A | V | S | D | E , " err_detect " } ,
2016-11-17 20:25:50 +02:00
{ " has_b_frames " , NULL , OFFSET ( has_b_frames ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , 0 , INT_MAX } ,
{ " block_align " , NULL , OFFSET ( block_align ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , 0 , INT_MAX } ,
2012-08-31 13:22:31 +03:00
{ " rc_override_count " , NULL , OFFSET ( rc_override_count ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX } ,
2015-09-15 18:01:32 +02:00
{ " maxrate " , " maximum bitrate (in bits/s). Used for VBV together with bufsize. " , OFFSET ( rc_max_rate ) , AV_OPT_TYPE_INT64 , { . i64 = DEFAULT } , 0 , INT_MAX , V | A | E } ,
{ " minrate " , " minimum bitrate (in bits/s). Most useful in setting up a CBR encode. It is of little use otherwise. " ,
OFFSET ( rc_min_rate ) , AV_OPT_TYPE_INT64 , { . i64 = DEFAULT } , INT_MIN , INT_MAX , V | A | E } ,
2012-08-31 13:22:31 +03:00
{ " bufsize " , " set ratecontrol buffer size (in bits) " , OFFSET ( rc_buffer_size ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX , A | V | E } ,
2012-12-07 18:07:51 +03:00
{ " i_qfactor " , " QP factor between P- and I-frames " , OFFSET ( i_quant_factor ) , AV_OPT_TYPE_FLOAT , { . dbl = - 0.8 } , - FLT_MAX , FLT_MAX , V | E } ,
{ " i_qoffset " , " QP offset between P- and I-frames " , OFFSET ( i_quant_offset ) , AV_OPT_TYPE_FLOAT , { . dbl = 0.0 } , - FLT_MAX , FLT_MAX , V | E } ,
2012-08-31 13:22:31 +03:00
{ " dct " , " DCT algorithm " , OFFSET ( dct_algo ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , 0 , INT_MAX , V | E , " dct " } ,
2015-10-26 12:18:37 +02:00
{ " auto " , " autoselect a good one " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DCT_AUTO } , INT_MIN , INT_MAX , V | E , " dct " } ,
2012-08-31 12:45:52 +03:00
{ " fastint " , " fast integer " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DCT_FASTINT } , INT_MIN , INT_MAX , V | E , " dct " } ,
{ " int " , " accurate integer " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DCT_INT } , INT_MIN , INT_MAX , V | E , " dct " } ,
{ " mmx " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DCT_MMX } , INT_MIN , INT_MAX , V | E , " dct " } ,
{ " altivec " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DCT_ALTIVEC } , INT_MIN , INT_MAX , V | E , " dct " } ,
{ " faan " , " floating point AAN DCT " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DCT_FAAN } , INT_MIN , INT_MAX , V | E , " dct " } ,
2012-03-14 15:18:20 +03:00
{ " lumi_mask " , " compresses bright areas stronger than medium ones " , OFFSET ( lumi_masking ) , AV_OPT_TYPE_FLOAT , { . dbl = 0 } , - FLT_MAX , FLT_MAX , V | E } ,
{ " tcplx_mask " , " temporal complexity masking " , OFFSET ( temporal_cplx_masking ) , AV_OPT_TYPE_FLOAT , { . dbl = 0 } , - FLT_MAX , FLT_MAX , V | E } ,
{ " scplx_mask " , " spatial complexity masking " , OFFSET ( spatial_cplx_masking ) , AV_OPT_TYPE_FLOAT , { . dbl = 0 } , - FLT_MAX , FLT_MAX , V | E } ,
{ " p_mask " , " inter masking " , OFFSET ( p_masking ) , AV_OPT_TYPE_FLOAT , { . dbl = 0 } , - FLT_MAX , FLT_MAX , V | E } ,
{ " dark_mask " , " compresses dark areas stronger than medium ones " , OFFSET ( dark_masking ) , AV_OPT_TYPE_FLOAT , { . dbl = 0 } , - FLT_MAX , FLT_MAX , V | E } ,
2012-08-31 13:22:31 +03:00
{ " idct " , " select IDCT implementation " , OFFSET ( idct_algo ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , 0 , INT_MAX , V | E | D , " idct " } ,
2012-08-31 12:45:52 +03:00
{ " auto " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_IDCT_AUTO } , INT_MIN , INT_MAX , V | E | D , " idct " } ,
{ " int " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_IDCT_INT } , INT_MIN , INT_MAX , V | E | D , " idct " } ,
{ " simple " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_IDCT_SIMPLE } , INT_MIN , INT_MAX , V | E | D , " idct " } ,
{ " simplemmx " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_IDCT_SIMPLEMMX } , INT_MIN , INT_MAX , V | E | D , " idct " } ,
{ " arm " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_IDCT_ARM } , INT_MIN , INT_MAX , V | E | D , " idct " } ,
{ " altivec " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_IDCT_ALTIVEC } , INT_MIN , INT_MAX , V | E | D , " idct " } ,
{ " simplearm " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_IDCT_SIMPLEARM } , INT_MIN , INT_MAX , V | E | D , " idct " } ,
{ " simplearmv5te " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_IDCT_SIMPLEARMV5TE } , INT_MIN , INT_MAX , V | E | D , " idct " } ,
{ " simplearmv6 " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_IDCT_SIMPLEARMV6 } , INT_MIN , INT_MAX , V | E | D , " idct " } ,
{ " simpleneon " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_IDCT_SIMPLENEON } , INT_MIN , INT_MAX , V | E | D , " idct " } ,
2014-08-06 16:19:15 +03:00
{ " xvid " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_IDCT_XVID } , INT_MIN , INT_MAX , V | E | D , " idct " } ,
2014-08-09 15:49:32 +03:00
{ " xvidmmx " , " deprecated, for compatibility only " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_IDCT_XVID } , INT_MIN , INT_MAX , V | E | D , " idct " } ,
2012-08-31 12:45:52 +03:00
{ " faani " , " floating point AAN IDCT " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_IDCT_FAAN } , INT_MIN , INT_MAX , V | D | E , " idct " } ,
2014-06-14 19:55:27 +03:00
{ " simpleauto " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_IDCT_SIMPLEAUTO } , INT_MIN , INT_MAX , V | E | D , " idct " } ,
2012-08-31 13:22:31 +03:00
{ " slice_count " , NULL , OFFSET ( slice_count ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX } ,
2012-08-31 12:52:18 +03:00
{ " ec " , " set error concealment strategy " , OFFSET ( error_concealment ) , AV_OPT_TYPE_FLAGS , { . i64 = 3 } , INT_MIN , INT_MAX , V | D , " ec " } ,
2012-08-31 12:45:52 +03:00
{ " guess_mvs " , " iterative motion vector (MV) search (slow) " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_EC_GUESS_MVS } , INT_MIN , INT_MAX , V | D , " ec " } ,
{ " deblock " , " use strong deblock filter for damaged MBs " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_EC_DEBLOCK } , INT_MIN , INT_MAX , V | D , " ec " } ,
2014-05-02 19:24:22 +03:00
{ " favor_inter " , " favor predicting from the previous frame " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_EC_FAVOR_INTER } , INT_MIN , INT_MAX , V | D , " ec " } ,
2016-11-17 20:25:50 +02:00
{ " bits_per_coded_sample " , NULL , OFFSET ( bits_per_coded_sample ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , 0 , INT_MAX } ,
2012-03-14 15:18:20 +03:00
{ " aspect " , " sample aspect ratio " , OFFSET ( sample_aspect_ratio ) , AV_OPT_TYPE_RATIONAL , { . dbl = 0 } , 0 , 10 , V | E } ,
2016-05-05 14:37:49 +02:00
{ " sar " , " sample aspect ratio " , OFFSET ( sample_aspect_ratio ) , AV_OPT_TYPE_RATIONAL , { . dbl = 0 } , 0 , 10 , V | E } ,
2012-08-31 12:52:18 +03:00
{ " debug " , " print specific debug info " , OFFSET ( debug ) , AV_OPT_TYPE_FLAGS , { . i64 = DEFAULT } , 0 , INT_MAX , V | A | S | E | D , " debug " } ,
2012-08-31 12:45:52 +03:00
{ " pict " , " picture info " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DEBUG_PICT_INFO } , INT_MIN , INT_MAX , V | D , " debug " } ,
{ " rc " , " rate control " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DEBUG_RC } , INT_MIN , INT_MAX , V | E , " debug " } ,
{ " bitstream " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DEBUG_BITSTREAM } , INT_MIN , INT_MAX , V | D , " debug " } ,
{ " mb_type " , " macroblock (MB) type " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DEBUG_MB_TYPE } , INT_MIN , INT_MAX , V | D , " debug " } ,
{ " qp " , " per-block quantization parameter (QP) " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DEBUG_QP } , INT_MIN , INT_MAX , V | D , " debug " } ,
{ " dct_coeff " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DEBUG_DCT_COEFF } , INT_MIN , INT_MAX , V | D , " debug " } ,
2015-06-30 15:17:59 +02:00
{ " green_metadata " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DEBUG_GREEN_MD } , INT_MIN , INT_MAX , V | D , " debug " } ,
2012-08-31 12:45:52 +03:00
{ " skip " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DEBUG_SKIP } , INT_MIN , INT_MAX , V | D , " debug " } ,
{ " startcode " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DEBUG_STARTCODE } , INT_MIN , INT_MAX , V | D , " debug " } ,
{ " er " , " error recognition " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DEBUG_ER } , INT_MIN , INT_MAX , V | D , " debug " } ,
{ " mmco " , " memory management control operations (H.264) " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DEBUG_MMCO } , INT_MIN , INT_MAX , V | D , " debug " } ,
{ " bugs " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DEBUG_BUGS } , INT_MIN , INT_MAX , V | D , " debug " } ,
{ " buffers " , " picture buffer allocations " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DEBUG_BUFFERS } , INT_MIN , INT_MAX , V | D , " debug " } ,
2013-06-03 17:43:18 +03:00
{ " thread_ops " , " threading operations " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DEBUG_THREADS } , INT_MIN , INT_MAX , V | A | D , " debug " } ,
2014-05-02 16:57:59 +03:00
{ " nomc " , " skip motion compensation " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_DEBUG_NOMC } , INT_MIN , INT_MAX , V | A | D , " debug " } ,
2012-08-31 13:22:31 +03:00
{ " dia_size " , " diamond type & size for motion estimation " , OFFSET ( dia_size ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX , V | E } ,
{ " last_pred " , " amount of motion predictors from the previous frame " , OFFSET ( last_predictor_count ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX , V | E } ,
{ " pre_dia_size " , " diamond type & size for motion estimation pre-pass " , OFFSET ( pre_dia_size ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX , V | E } ,
2012-12-07 18:07:51 +03:00
{ " subq " , " sub-pel motion estimation quality " , OFFSET ( me_subpel_quality ) , AV_OPT_TYPE_INT , { . i64 = 8 } , INT_MIN , INT_MAX , V | E } ,
2012-08-31 13:22:31 +03:00
{ " me_range " , " limit motion vectors range (1023 for DivX player) " , OFFSET ( me_range ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX , V | E } ,
{ " global_quality " , NULL , OFFSET ( global_quality ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX , V | A | E } ,
{ " slice_flags " , NULL , OFFSET ( slice_flags ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX } ,
2013-02-27 05:04:04 +03:00
{ " mbd " , " macroblock decision algorithm (high quality mode) " , OFFSET ( mb_decision ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , 0 , 2 , V | E , " mbd " } ,
2015-10-26 12:18:37 +02:00
{ " simple " , " use mbcmp " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_MB_DECISION_SIMPLE } , INT_MIN , INT_MAX , V | E , " mbd " } ,
2012-08-31 12:45:52 +03:00
{ " bits " , " use fewest bits " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_MB_DECISION_BITS } , INT_MIN , INT_MAX , V | E , " mbd " } ,
{ " rd " , " use best rate distortion " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_MB_DECISION_RD } , INT_MIN , INT_MAX , V | E , " mbd " } ,
2012-08-31 13:22:31 +03:00
{ " rc_init_occupancy " , " number of bits which should be loaded into the rc buffer before decoding starts " , OFFSET ( rc_initial_buffer_occupancy ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX , V | E } ,
2015-09-08 15:54:53 +02:00
{ " threads " , " set the number of threads " , OFFSET ( thread_count ) , AV_OPT_TYPE_INT , { . i64 = 1 } , 0 , INT_MAX , V | A | E | D , " threads " } ,
2012-12-07 18:07:51 +03:00
{ " auto " , " autodetect a suitable number of threads to use " , 0 , AV_OPT_TYPE_CONST , { . i64 = 0 } , INT_MIN , INT_MAX , V | E | D , " threads " } ,
2014-07-15 20:04:51 +03:00
{ " dc " , " intra_dc_precision " , OFFSET ( intra_dc_precision ) , AV_OPT_TYPE_INT , { . i64 = 0 } , - 8 , 16 , V | E } ,
2012-08-31 13:22:31 +03:00
{ " nssew " , " nsse weight " , OFFSET ( nsse_weight ) , AV_OPT_TYPE_INT , { . i64 = 8 } , INT_MIN , INT_MAX , V | E } ,
{ " skip_top " , " number of macroblock rows at the top which are skipped " , OFFSET ( skip_top ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX , V | D } ,
{ " skip_bottom " , " number of macroblock rows at the bottom which are skipped " , OFFSET ( skip_bottom ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX , V | D } ,
2020-05-10 20:08:40 +02:00
{ " profile " , NULL , OFFSET ( profile ) , AV_OPT_TYPE_INT , { . i64 = FF_PROFILE_UNKNOWN } , INT_MIN , INT_MAX , V | A | E | CC , " avctx.profile " } ,
{ " unknown " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_PROFILE_UNKNOWN } , INT_MIN , INT_MAX , V | A | E , " avctx.profile " } ,
{ " main10 " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_PROFILE_HEVC_MAIN_10 } , INT_MIN , INT_MAX , V | E , " avctx.profile " } ,
2020-07-30 00:08:17 +02:00
{ " level " , NULL , OFFSET ( level ) , AV_OPT_TYPE_INT , { . i64 = FF_LEVEL_UNKNOWN } , INT_MIN , INT_MAX , V | A | E | CC , " avctx.level " } ,
{ " unknown " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_LEVEL_UNKNOWN } , INT_MIN , INT_MAX , V | A | E , " avctx.level " } ,
2012-09-05 15:26:01 +03:00
{ " lowres " , " decode at 1= 1/2, 2=1/4, 3=1/8 resolutions " , OFFSET ( lowres ) , AV_OPT_TYPE_INT , { . i64 = 0 } , 0 , INT_MAX , V | A | D } ,
2018-12-15 04:22:43 +02:00
{ " cmp " , " full-pel ME compare function " , OFFSET ( me_cmp ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " subcmp " , " sub-pel ME compare function " , OFFSET ( me_sub_cmp ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " mbcmp " , " macroblock compare function " , OFFSET ( mb_cmp ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " ildctcmp " , " interlaced DCT compare function " , OFFSET ( ildct_cmp ) , AV_OPT_TYPE_INT , { . i64 = FF_CMP_VSAD } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " precmp " , " pre motion estimation compare function " , OFFSET ( me_pre_cmp ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " sad " , " sum of absolute differences, fast " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_CMP_SAD } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " sse " , " sum of squared errors " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_CMP_SSE } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " satd " , " sum of absolute Hadamard transformed differences " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_CMP_SATD } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " dct " , " sum of absolute DCT transformed differences " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_CMP_DCT } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " psnr " , " sum of squared quantization errors (avoid, low quality) " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_CMP_PSNR } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " bit " , " number of bits needed for the block " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_CMP_BIT } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " rd " , " rate distortion optimal, slow " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_CMP_RD } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " zero " , " 0 " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_CMP_ZERO } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " vsad " , " sum of absolute vertical differences " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_CMP_VSAD } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " vsse " , " sum of squared vertical differences " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_CMP_VSSE } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " nsse " , " noise preserving sum of squared differences " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_CMP_NSSE } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
# if CONFIG_SNOW_ENCODER
{ " w53 " , " 5/3 wavelet, only used in snow " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_CMP_W53 } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " w97 " , " 9/7 wavelet, only used in snow " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_CMP_W97 } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
# endif
{ " dctmax " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_CMP_DCTMAX } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " chroma " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_CMP_CHROMA } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
{ " msad " , " sum of absolute differences, median predicted " , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_CMP_MEDIAN_SAD } , INT_MIN , INT_MAX , V | E , " cmp_func " } ,
2012-12-07 18:07:51 +03:00
{ " mblmin " , " minimum macroblock Lagrange factor (VBR) " , OFFSET ( mb_lmin ) , AV_OPT_TYPE_INT , { . i64 = FF_QP2LAMBDA * 2 } , 1 , FF_LAMBDA_MAX , V | E } ,
{ " mblmax " , " maximum macroblock Lagrange factor (VBR) " , OFFSET ( mb_lmax ) , AV_OPT_TYPE_INT , { . i64 = FF_QP2LAMBDA * 31 } , 1 , FF_LAMBDA_MAX , V | E } ,
2013-03-10 18:15:48 +03:00
{ " skip_loop_filter " , " skip loop filtering process for the selected frames " , OFFSET ( skip_loop_filter ) , AV_OPT_TYPE_INT , { . i64 = AVDISCARD_DEFAULT } , INT_MIN , INT_MAX , V | D , " avdiscard " } ,
{ " skip_idct " , " skip IDCT/dequantization for the selected frames " , OFFSET ( skip_idct ) , AV_OPT_TYPE_INT , { . i64 = AVDISCARD_DEFAULT } , INT_MIN , INT_MAX , V | D , " avdiscard " } ,
{ " skip_frame " , " skip decoding for the selected frames " , OFFSET ( skip_frame ) , AV_OPT_TYPE_INT , { . i64 = AVDISCARD_DEFAULT } , INT_MIN , INT_MAX , V | D , " avdiscard " } ,
{ " none " , " discard no frame " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVDISCARD_NONE } , INT_MIN , INT_MAX , V | D , " avdiscard " } ,
{ " default " , " discard useless frames " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVDISCARD_DEFAULT } , INT_MIN , INT_MAX , V | D , " avdiscard " } ,
{ " noref " , " discard all non-reference frames " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVDISCARD_NONREF } , INT_MIN , INT_MAX , V | D , " avdiscard " } ,
{ " bidir " , " discard all bidirectional frames " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVDISCARD_BIDIR } , INT_MIN , INT_MAX , V | D , " avdiscard " } ,
{ " nokey " , " discard all frames except keyframes " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVDISCARD_NONKEY } , INT_MIN , INT_MAX , V | D , " avdiscard " } ,
2014-06-07 21:56:17 +03:00
{ " nointra " , " discard all frames except I frames " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVDISCARD_NONINTRA } , INT_MIN , INT_MAX , V | D , " avdiscard " } ,
2013-03-10 18:15:48 +03:00
{ " all " , " discard all frames " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVDISCARD_ALL } , INT_MIN , INT_MAX , V | D , " avdiscard " } ,
2012-08-31 13:22:31 +03:00
{ " bidir_refine " , " refine the two motion vectors used in bidirectional macroblocks " , OFFSET ( bidir_refine ) , AV_OPT_TYPE_INT , { . i64 = 1 } , 0 , 4 , V | E } ,
2012-09-05 15:26:01 +03:00
{ " keyint_min " , " minimum interval between IDR-frames " , OFFSET ( keyint_min ) , AV_OPT_TYPE_INT , { . i64 = 25 } , INT_MIN , INT_MAX , V | E } ,
{ " refs " , " reference frames to consider for motion compensation " , OFFSET ( refs ) , AV_OPT_TYPE_INT , { . i64 = 1 } , INT_MIN , INT_MAX , V | E } ,
2012-08-31 13:22:31 +03:00
{ " trellis " , " rate-distortion optimal quantization " , OFFSET ( trellis ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , INT_MIN , INT_MAX , V | A | E } ,
{ " mv0_threshold " , NULL , OFFSET ( mv0_threshold ) , AV_OPT_TYPE_INT , { . i64 = 256 } , 0 , INT_MAX , V | E } ,
{ " compression_level " , NULL , OFFSET ( compression_level ) , AV_OPT_TYPE_INT , { . i64 = FF_COMPRESSION_DEFAULT } , INT_MIN , INT_MAX , V | A | E } ,
2016-11-17 20:25:50 +02:00
{ " bits_per_raw_sample " , NULL , OFFSET ( bits_per_raw_sample ) , AV_OPT_TYPE_INT , { . i64 = DEFAULT } , 0 , INT_MAX } ,
2021-08-15 14:09:14 +02:00
{ " channel_layout " , NULL , OFFSET ( channel_layout ) , AV_OPT_TYPE_CHANNEL_LAYOUT , { . i64 = DEFAULT } , 0 , UINT64_MAX , A | E | D , " channel_layout " } ,
{ " request_channel_layout " , NULL , OFFSET ( request_channel_layout ) , AV_OPT_TYPE_CHANNEL_LAYOUT , { . i64 = DEFAULT } , 0 , UINT64_MAX , A | D , " request_channel_layout " } ,
2012-09-11 18:38:31 +03:00
{ " rc_max_vbv_use " , NULL , OFFSET ( rc_max_available_vbv_use ) , AV_OPT_TYPE_FLOAT , { . dbl = 0 } , 0.0 , FLT_MAX , V | E } ,
2012-03-14 15:18:20 +03:00
{ " rc_min_vbv_use " , NULL , OFFSET ( rc_min_vbv_overflow_use ) , AV_OPT_TYPE_FLOAT , { . dbl = 3 } , 0.0 , FLT_MAX , V | E } ,
2012-08-31 13:22:31 +03:00
{ " ticks_per_frame " , NULL , OFFSET ( ticks_per_frame ) , AV_OPT_TYPE_INT , { . i64 = 1 } , 1 , INT_MAX , A | V | E | D } ,
2016-12-01 00:09:34 +02:00
{ " color_primaries " , " color primaries " , OFFSET ( color_primaries ) , AV_OPT_TYPE_INT , { . i64 = AVCOL_PRI_UNSPECIFIED } , 1 , INT_MAX , V | E | D , " color_primaries_type " } ,
2015-09-01 10:32:42 +02:00
{ " bt709 " , " BT.709 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_PRI_BT709 } , INT_MIN , INT_MAX , V | E | D , " color_primaries_type " } ,
2016-11-13 23:29:04 +02:00
{ " unknown " , " Unspecified " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_PRI_UNSPECIFIED } , INT_MIN , INT_MAX , V | E | D , " color_primaries_type " } ,
2015-09-01 10:32:42 +02:00
{ " bt470m " , " BT.470 M " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_PRI_BT470M } , INT_MIN , INT_MAX , V | E | D , " color_primaries_type " } ,
{ " bt470bg " , " BT.470 BG " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_PRI_BT470BG } , INT_MIN , INT_MAX , V | E | D , " color_primaries_type " } ,
{ " smpte170m " , " SMPTE 170 M " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_PRI_SMPTE170M } , INT_MIN , INT_MAX , V | E | D , " color_primaries_type " } ,
{ " smpte240m " , " SMPTE 240 M " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_PRI_SMPTE240M } , INT_MIN , INT_MAX , V | E | D , " color_primaries_type " } ,
{ " film " , " Film " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_PRI_FILM } , INT_MIN , INT_MAX , V | E | D , " color_primaries_type " } ,
{ " bt2020 " , " BT.2020 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_PRI_BT2020 } , INT_MIN , INT_MAX , V | E | D , " color_primaries_type " } ,
2016-11-13 19:32:07 +02:00
{ " smpte428 " , " SMPTE 428-1 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_PRI_SMPTE428 } , INT_MIN , INT_MAX , V | E | D , " color_primaries_type " } ,
{ " smpte428_1 " , " SMPTE 428-1 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_PRI_SMPTE428 } , INT_MIN , INT_MAX , V | E | D , " color_primaries_type " } ,
2016-09-28 18:12:18 +02:00
{ " smpte431 " , " SMPTE 431-2 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_PRI_SMPTE431 } , INT_MIN , INT_MAX , V | E | D , " color_primaries_type " } ,
{ " smpte432 " , " SMPTE 422-1 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_PRI_SMPTE432 } , INT_MIN , INT_MAX , V | E | D , " color_primaries_type " } ,
2017-03-24 12:20:41 +02:00
{ " jedec-p22 " , " JEDEC P22 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_PRI_JEDEC_P22 } , INT_MIN , INT_MAX , V | E | D , " color_primaries_type " } ,
2019-08-11 15:54:58 +02:00
{ " ebu3213 " , " EBU 3213-E " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_PRI_EBU3213 } , INT_MIN , INT_MAX , V | E | D , " color_primaries_type " } ,
2016-11-13 23:29:04 +02:00
{ " unspecified " , " Unspecified " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_PRI_UNSPECIFIED } , INT_MIN , INT_MAX , V | E | D , " color_primaries_type " } ,
2016-12-01 00:09:34 +02:00
{ " color_trc " , " color transfer characteristics " , OFFSET ( color_trc ) , AV_OPT_TYPE_INT , { . i64 = AVCOL_TRC_UNSPECIFIED } , 1 , INT_MAX , V | E | D , " color_trc_type " } ,
2014-06-03 12:53:21 +03:00
{ " bt709 " , " BT.709 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_BT709 } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
2016-06-21 16:22:59 +02:00
{ " unknown " , " Unspecified " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_UNSPECIFIED } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
2014-09-23 17:16:19 +03:00
{ " gamma22 " , " BT.470 M " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_GAMMA22 } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
{ " gamma28 " , " BT.470 BG " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_GAMMA28 } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
2014-06-03 12:53:21 +03:00
{ " smpte170m " , " SMPTE 170 M " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_SMPTE170M } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
{ " smpte240m " , " SMPTE 240 M " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_SMPTE240M } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
{ " linear " , " Linear " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_LINEAR } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
2016-06-21 16:22:59 +02:00
{ " log100 " , " Log " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_LOG } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
{ " log316 " , " Log square root " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_LOG_SQRT } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
{ " iec61966-2-4 " , " IEC 61966-2-4 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_IEC61966_2_4 } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
{ " bt1361e " , " BT.1361 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_BT1361_ECG } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
{ " iec61966-2-1 " , " IEC 61966-2-1 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_IEC61966_2_1 } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
{ " bt2020-10 " , " BT.2020 - 10 bit " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_BT2020_10 } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
{ " bt2020-12 " , " BT.2020 - 12 bit " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_BT2020_12 } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
{ " smpte2084 " , " SMPTE 2084 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_SMPTE2084 } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
{ " smpte428 " , " SMPTE 428-1 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_SMPTE428 } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
{ " arib-std-b67 " , " ARIB STD-B67 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_ARIB_STD_B67 } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
{ " unspecified " , " Unspecified " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_UNSPECIFIED } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
2014-09-23 17:16:19 +03:00
{ " log " , " Log " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_LOG } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
{ " log_sqrt " , " Log square root " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_LOG_SQRT } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
{ " iec61966_2_4 " , " IEC 61966-2-4 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_IEC61966_2_4 } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
2014-06-03 12:53:21 +03:00
{ " bt1361 " , " BT.1361 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_BT1361_ECG } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
2014-09-23 17:16:19 +03:00
{ " iec61966_2_1 " , " IEC 61966-2-1 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_IEC61966_2_1 } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
2014-06-03 12:53:21 +03:00
{ " bt2020_10bit " , " BT.2020 - 10 bit " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_BT2020_10 } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
{ " bt2020_12bit " , " BT.2020 - 12 bit " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_BT2020_12 } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
2016-11-13 19:32:07 +02:00
{ " smpte428_1 " , " SMPTE 428-1 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_TRC_SMPTE428 } , INT_MIN , INT_MAX , V | E | D , " color_trc_type " } ,
2016-12-01 00:09:34 +02:00
{ " colorspace " , " color space " , OFFSET ( colorspace ) , AV_OPT_TYPE_INT , { . i64 = AVCOL_SPC_UNSPECIFIED } , 0 , INT_MAX , V | E | D , " colorspace_type " } ,
2020-08-19 22:31:03 +02:00
{ " rgb " , " RGB " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_RGB } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " bt709 " , " BT.709 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_BT709 } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " unknown " , " Unspecified " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_UNSPECIFIED } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " fcc " , " FCC " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_FCC } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " bt470bg " , " BT.470 BG " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_BT470BG } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " smpte170m " , " SMPTE 170 M " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_SMPTE170M } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " smpte240m " , " SMPTE 240 M " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_SMPTE240M } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " ycgco " , " YCGCO " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_YCGCO } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " bt2020nc " , " BT.2020 NCL " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_BT2020_NCL } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " bt2020c " , " BT.2020 CL " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_BT2020_CL } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " smpte2085 " , " SMPTE 2085 " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_SMPTE2085 } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " chroma-derived-nc " , " Chroma-derived NCL " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_CHROMA_DERIVED_NCL } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " chroma-derived-c " , " Chroma-derived CL " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_CHROMA_DERIVED_CL } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " ictcp " , " ICtCp " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_ICTCP } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " unspecified " , " Unspecified " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_UNSPECIFIED } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " ycocg " , " YCGCO " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_YCGCO } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " bt2020_ncl " , " BT.2020 NCL " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_BT2020_NCL } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
{ " bt2020_cl " , " BT.2020 CL " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_SPC_BT2020_CL } , INT_MIN , INT_MAX , V | E | D , " colorspace_type " } ,
2016-12-01 00:09:34 +02:00
{ " color_range " , " color range " , OFFSET ( color_range ) , AV_OPT_TYPE_INT , { . i64 = AVCOL_RANGE_UNSPECIFIED } , 0 , INT_MAX , V | E | D , " color_range_type " } ,
2016-06-21 16:22:59 +02:00
{ " unknown " , " Unspecified " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_RANGE_UNSPECIFIED } , INT_MIN , INT_MAX , V | E | D , " color_range_type " } ,
{ " tv " , " MPEG (219*2^(n-8)) " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_RANGE_MPEG } , INT_MIN , INT_MAX , V | E | D , " color_range_type " } ,
{ " pc " , " JPEG (2^n-1) " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_RANGE_JPEG } , INT_MIN , INT_MAX , V | E | D , " color_range_type " } ,
2014-06-04 11:32:19 +03:00
{ " unspecified " , " Unspecified " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_RANGE_UNSPECIFIED } , INT_MIN , INT_MAX , V | E | D , " color_range_type " } ,
{ " mpeg " , " MPEG (219*2^(n-8)) " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_RANGE_MPEG } , INT_MIN , INT_MAX , V | E | D , " color_range_type " } ,
{ " jpeg " , " JPEG (2^n-1) " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCOL_RANGE_JPEG } , INT_MIN , INT_MAX , V | E | D , " color_range_type " } ,
2016-12-01 00:09:34 +02:00
{ " chroma_sample_location " , " chroma sample location " , OFFSET ( chroma_sample_location ) , AV_OPT_TYPE_INT , { . i64 = AVCHROMA_LOC_UNSPECIFIED } , 0 , INT_MAX , V | E | D , " chroma_sample_location_type " } ,
2016-11-13 23:29:04 +02:00
{ " unknown " , " Unspecified " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCHROMA_LOC_UNSPECIFIED } , INT_MIN , INT_MAX , V | E | D , " chroma_sample_location_type " } ,
2014-09-23 17:17:42 +03:00
{ " left " , " Left " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCHROMA_LOC_LEFT } , INT_MIN , INT_MAX , V | E | D , " chroma_sample_location_type " } ,
{ " center " , " Center " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCHROMA_LOC_CENTER } , INT_MIN , INT_MAX , V | E | D , " chroma_sample_location_type " } ,
{ " topleft " , " Top-left " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCHROMA_LOC_TOPLEFT } , INT_MIN , INT_MAX , V | E | D , " chroma_sample_location_type " } ,
{ " top " , " Top " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCHROMA_LOC_TOP } , INT_MIN , INT_MAX , V | E | D , " chroma_sample_location_type " } ,
{ " bottomleft " , " Bottom-left " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCHROMA_LOC_BOTTOMLEFT } , INT_MIN , INT_MAX , V | E | D , " chroma_sample_location_type " } ,
{ " bottom " , " Bottom " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCHROMA_LOC_BOTTOM } , INT_MIN , INT_MAX , V | E | D , " chroma_sample_location_type " } ,
2016-06-21 16:22:59 +02:00
{ " unspecified " , " Unspecified " , 0 , AV_OPT_TYPE_CONST , { . i64 = AVCHROMA_LOC_UNSPECIFIED } , INT_MIN , INT_MAX , V | E | D , " chroma_sample_location_type " } ,
2012-08-31 13:22:31 +03:00
{ " log_level_offset " , " set the log level offset " , OFFSET ( log_level_offset ) , AV_OPT_TYPE_INT , { . i64 = 0 } , INT_MIN , INT_MAX } ,
2015-09-08 15:54:53 +02:00
{ " slices " , " set the number of slices, used in parallelized encoding " , OFFSET ( slices ) , AV_OPT_TYPE_INT , { . i64 = 0 } , 0 , INT_MAX , V | E } ,
2013-06-03 17:43:18 +03:00
{ " thread_type " , " select multithreading type " , OFFSET ( thread_type ) , AV_OPT_TYPE_FLAGS , { . i64 = FF_THREAD_SLICE | FF_THREAD_FRAME } , 0 , INT_MAX , V | A | E | D , " thread_type " } ,
2012-08-31 12:45:52 +03:00
{ " slice " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_THREAD_SLICE } , INT_MIN , INT_MAX , V | E | D , " thread_type " } ,
{ " frame " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_THREAD_FRAME } , INT_MIN , INT_MAX , V | E | D , " thread_type " } ,
2012-08-31 13:22:31 +03:00
{ " audio_service_type " , " audio service type " , OFFSET ( audio_service_type ) , AV_OPT_TYPE_INT , { . i64 = AV_AUDIO_SERVICE_TYPE_MAIN } , 0 , AV_AUDIO_SERVICE_TYPE_NB - 1 , A | E , " audio_service_type " } ,
2012-08-31 12:45:52 +03:00
{ " ma " , " Main Audio Service " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_AUDIO_SERVICE_TYPE_MAIN } , INT_MIN , INT_MAX , A | E , " audio_service_type " } ,
{ " ef " , " Effects " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_AUDIO_SERVICE_TYPE_EFFECTS } , INT_MIN , INT_MAX , A | E , " audio_service_type " } ,
{ " vi " , " Visually Impaired " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED } , INT_MIN , INT_MAX , A | E , " audio_service_type " } ,
{ " hi " , " Hearing Impaired " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED } , INT_MIN , INT_MAX , A | E , " audio_service_type " } ,
{ " di " , " Dialogue " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_AUDIO_SERVICE_TYPE_DIALOGUE } , INT_MIN , INT_MAX , A | E , " audio_service_type " } ,
{ " co " , " Commentary " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_AUDIO_SERVICE_TYPE_COMMENTARY } , INT_MIN , INT_MAX , A | E , " audio_service_type " } ,
{ " em " , " Emergency " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_AUDIO_SERVICE_TYPE_EMERGENCY } , INT_MIN , INT_MAX , A | E , " audio_service_type " } ,
{ " vo " , " Voice Over " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_AUDIO_SERVICE_TYPE_VOICE_OVER } , INT_MIN , INT_MAX , A | E , " audio_service_type " } ,
{ " ka " , " Karaoke " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_AUDIO_SERVICE_TYPE_KARAOKE } , INT_MIN , INT_MAX , A | E , " audio_service_type " } ,
2013-12-16 18:29:44 +03:00
{ " request_sample_fmt " , " sample format audio decoders should prefer " , OFFSET ( request_sample_fmt ) , AV_OPT_TYPE_SAMPLE_FMT , { . i64 = AV_SAMPLE_FMT_NONE } , - 1 , INT_MAX , A | D , " request_sample_fmt " } ,
2012-07-12 23:17:10 +03:00
{ " pkt_timebase " , NULL , OFFSET ( pkt_timebase ) , AV_OPT_TYPE_RATIONAL , { . dbl = 0 } , 0 , INT_MAX , 0 } ,
2020-03-17 23:46:36 +02:00
{ " sub_charenc " , " set input text subtitles character encoding " , OFFSET ( sub_charenc ) , AV_OPT_TYPE_STRING , { . str = NULL } , 0 , 0 , S | D } ,
2013-01-07 20:08:56 +03:00
{ " sub_charenc_mode " , " set input text subtitles character encoding mode " , OFFSET ( sub_charenc_mode ) , AV_OPT_TYPE_FLAGS , { . i64 = FF_SUB_CHARENC_MODE_AUTOMATIC } , - 1 , INT_MAX , S | D , " sub_charenc_mode " } ,
{ " do_nothing " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_SUB_CHARENC_MODE_DO_NOTHING } , INT_MIN , INT_MAX , S | D , " sub_charenc_mode " } ,
{ " auto " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_SUB_CHARENC_MODE_AUTOMATIC } , INT_MIN , INT_MAX , S | D , " sub_charenc_mode " } ,
{ " pre_decoder " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_SUB_CHARENC_MODE_PRE_DECODER } , INT_MIN , INT_MAX , S | D , " sub_charenc_mode " } ,
2018-03-24 14:37:00 +02:00
{ " ignore " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_SUB_CHARENC_MODE_IGNORE } , INT_MIN , INT_MAX , S | D , " sub_charenc_mode " } ,
2021-09-13 13:52:46 +02:00
# if FF_API_SUB_TEXT_FORMAT
{ " sub_text_format " , " Deprecated, does nothing " , OFFSET ( sub_text_format ) , AV_OPT_TYPE_INT , { . i64 = FF_SUB_TEXT_FMT_ASS } , 0 , 1 , S | D | AV_OPT_FLAG_DEPRECATED , " sub_text_format " } ,
2016-01-06 14:43:23 +02:00
{ " ass " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_SUB_TEXT_FMT_ASS } , INT_MIN , INT_MAX , S | D , " sub_text_format " } ,
2021-09-13 13:52:46 +02:00
# endif
2017-05-08 18:11:17 +02:00
{ " apply_cropping " , NULL , OFFSET ( apply_cropping ) , AV_OPT_TYPE_BOOL , { . i64 = 1 } , 0 , 1 , V | D } ,
2015-09-11 20:45:15 +02:00
{ " skip_alpha " , " Skip processing alpha " , OFFSET ( skip_alpha ) , AV_OPT_TYPE_BOOL , { . i64 = 0 } , 0 , 1 , V | D } ,
2013-10-07 18:34:01 +03:00
{ " field_order " , " Field order " , OFFSET ( field_order ) , AV_OPT_TYPE_INT , { . i64 = AV_FIELD_UNKNOWN } , 0 , 5 , V | D | E , " field_order " } ,
{ " progressive " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_FIELD_PROGRESSIVE } , 0 , 0 , V | D | E , " field_order " } ,
{ " tt " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_FIELD_TT } , 0 , 0 , V | D | E , " field_order " } ,
{ " bb " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_FIELD_BB } , 0 , 0 , V | D | E , " field_order " } ,
{ " tb " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_FIELD_TB } , 0 , 0 , V | D | E , " field_order " } ,
{ " bt " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_FIELD_BT } , 0 , 0 , V | D | E , " field_order " } ,
2020-03-17 23:46:36 +02:00
{ " dump_separator " , " set information dump field separator " , OFFSET ( dump_separator ) , AV_OPT_TYPE_STRING , { . str = NULL } , 0 , 0 , A | V | S | D | E } ,
{ " codec_whitelist " , " List of decoders that are allowed to be used " , OFFSET ( codec_whitelist ) , AV_OPT_TYPE_STRING , { . str = NULL } , 0 , 0 , A | V | S | D } ,
2014-11-11 09:17:26 +02:00
{ " pixel_format " , " set pixel format " , OFFSET ( pix_fmt ) , AV_OPT_TYPE_PIXEL_FMT , { . i64 = AV_PIX_FMT_NONE } , - 1 , INT_MAX , 0 } ,
{ " video_size " , " set video size " , OFFSET ( width ) , AV_OPT_TYPE_IMAGE_SIZE , { . str = NULL } , 0 , INT_MAX , 0 } ,
2016-12-10 22:40:44 +02:00
{ " max_pixels " , " Maximum number of pixels " , OFFSET ( max_pixels ) , AV_OPT_TYPE_INT64 , { . i64 = INT_MAX } , 0 , INT_MAX , A | V | S | D | E } ,
2019-09-02 23:17:57 +02:00
{ " max_samples " , " Maximum number of samples " , OFFSET ( max_samples ) , AV_OPT_TYPE_INT64 , { . i64 = INT_MAX } , 0 , INT_MAX , A | D | E } ,
2017-10-09 09:49:58 +02:00
{ " hwaccel_flags " , NULL , OFFSET ( hwaccel_flags ) , AV_OPT_TYPE_FLAGS , { . i64 = AV_HWACCEL_FLAG_IGNORE_LEVEL } , 0 , UINT_MAX , V | D , " hwaccel_flags " } ,
{ " ignore_level " , " ignore level even if the codec level used is unknown or higher than the maximum supported level reported by the hardware driver " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_HWACCEL_FLAG_IGNORE_LEVEL } , INT_MIN , INT_MAX , V | D , " hwaccel_flags " } ,
{ " allow_high_depth " , " allow to output YUV pixel formats with a different chroma sampling than 4:2:0 and/or other than 8 bits per component " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH } , INT_MIN , INT_MAX , V | D , " hwaccel_flags " } ,
{ " allow_profile_mismatch " , " attempt to decode anyway if HW accelerated decoder's supported profiles do not exactly match the stream " , 0 , AV_OPT_TYPE_CONST , { . i64 = AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH } , INT_MIN , INT_MAX , V | D , " hwaccel_flags " } ,
2018-01-30 00:18:00 +02:00
{ " extra_hw_frames " , " Number of extra hardware frames to allocate for the user " , OFFSET ( extra_hw_frames ) , AV_OPT_TYPE_INT , { . i64 = - 1 } , - 1 , INT_MAX , V | D } ,
2019-01-19 01:00:48 +02:00
{ " discard_damaged_percentage " , " Percentage of damaged samples to discard a frame " , OFFSET ( discard_damaged_percentage ) , AV_OPT_TYPE_INT , { . i64 = 95 } , 0 , 100 , V | D } ,
2012-03-14 15:18:20 +03:00
{ NULL } ,
} ;
# undef A
# undef V
# undef S
# undef E
# undef D
2020-05-10 20:08:40 +02:00
# undef CC
2012-03-14 15:18:20 +03:00
# undef DEFAULT
# undef OFFSET
2012-12-09 15:35:21 +03:00
# endif /* AVCODEC_OPTIONS_TABLE_H */