forgotten parameter
Originally committed as revision 3428 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d89dc06a96
commit
bf0669aa87
3
ffmpeg.c
3
ffmpeg.c
@ -184,6 +184,7 @@ static int context = 0;
|
|||||||
static int predictor = 0;
|
static int predictor = 0;
|
||||||
static int video_profile = FF_PROFILE_UNKNOWN;
|
static int video_profile = FF_PROFILE_UNKNOWN;
|
||||||
static int video_level = FF_LEVEL_UNKNOWN;
|
static int video_level = FF_LEVEL_UNKNOWN;
|
||||||
|
static int nsse_weight = 8;
|
||||||
extern int loop_input; /* currently a hack */
|
extern int loop_input; /* currently a hack */
|
||||||
|
|
||||||
static int gop_size = 12;
|
static int gop_size = 12;
|
||||||
@ -3154,6 +3155,7 @@ static void opt_output_file(const char *filename)
|
|||||||
video_enc->prediction_method= predictor;
|
video_enc->prediction_method= predictor;
|
||||||
video_enc->profile= video_profile;
|
video_enc->profile= video_profile;
|
||||||
video_enc->level= video_level;
|
video_enc->level= video_level;
|
||||||
|
video_enc->nsse_weight= nsse_weight;
|
||||||
|
|
||||||
if(packet_size){
|
if(packet_size){
|
||||||
video_enc->rtp_mode= 1;
|
video_enc->rtp_mode= 1;
|
||||||
@ -3845,6 +3847,7 @@ const OptionDef options[] = {
|
|||||||
{ "pred", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&predictor}, "prediction method", "" },
|
{ "pred", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&predictor}, "prediction method", "" },
|
||||||
{ "vprofile", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&video_profile}, "profile", "" },
|
{ "vprofile", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&video_profile}, "profile", "" },
|
||||||
{ "vlevel", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&video_level}, "level", "" },
|
{ "vlevel", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&video_level}, "level", "" },
|
||||||
|
{ "nssew", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&nsse_weight}, "weight", "" },
|
||||||
|
|
||||||
/* audio options */
|
/* audio options */
|
||||||
{ "ab", HAS_ARG | OPT_AUDIO, {(void*)opt_audio_bitrate}, "set audio bitrate (in kbit/s)", "bitrate", },
|
{ "ab", HAS_ARG | OPT_AUDIO, {(void*)opt_audio_bitrate}, "set audio bitrate (in kbit/s)", "bitrate", },
|
||||||
|
Loading…
Reference in New Issue
Block a user