|
|
@ -1352,6 +1352,7 @@ loop_end: |
|
|
|
oc->duration = o->recording_time; |
|
|
|
oc->duration = o->recording_time; |
|
|
|
output_files[nb_output_files - 1]->start_time = o->start_time; |
|
|
|
output_files[nb_output_files - 1]->start_time = o->start_time; |
|
|
|
output_files[nb_output_files - 1]->limit_filesize = o->limit_filesize; |
|
|
|
output_files[nb_output_files - 1]->limit_filesize = o->limit_filesize; |
|
|
|
|
|
|
|
output_files[nb_output_files - 1]->shortest = o->shortest; |
|
|
|
av_dict_copy(&output_files[nb_output_files - 1]->opts, format_opts, 0); |
|
|
|
av_dict_copy(&output_files[nb_output_files - 1]->opts, format_opts, 0); |
|
|
|
|
|
|
|
|
|
|
|
/* check filename in case of an image number is expected */ |
|
|
|
/* check filename in case of an image number is expected */ |
|
|
@ -1836,7 +1837,7 @@ const OptionDef options[] = { |
|
|
|
{ "adrift_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, {(void*)&audio_drift_threshold}, "audio drift threshold", "threshold" }, |
|
|
|
{ "adrift_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, {(void*)&audio_drift_threshold}, "audio drift threshold", "threshold" }, |
|
|
|
{ "copyts", OPT_BOOL | OPT_EXPERT, {(void*)©_ts}, "copy timestamps" }, |
|
|
|
{ "copyts", OPT_BOOL | OPT_EXPERT, {(void*)©_ts}, "copy timestamps" }, |
|
|
|
{ "copytb", OPT_BOOL | OPT_EXPERT, {(void*)©_tb}, "copy input stream time base when stream copying" }, |
|
|
|
{ "copytb", OPT_BOOL | OPT_EXPERT, {(void*)©_tb}, "copy input stream time base when stream copying" }, |
|
|
|
{ "shortest", OPT_BOOL | OPT_EXPERT, {(void*)&opt_shortest}, "finish encoding within shortest input" }, //
|
|
|
|
{ "shortest", OPT_BOOL | OPT_EXPERT | OPT_OFFSET, {.off = OFFSET(shortest)}, "finish encoding within shortest input" }, |
|
|
|
{ "dts_delta_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, {(void*)&dts_delta_threshold}, "timestamp discontinuity delta threshold", "threshold" }, |
|
|
|
{ "dts_delta_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, {(void*)&dts_delta_threshold}, "timestamp discontinuity delta threshold", "threshold" }, |
|
|
|
{ "xerror", OPT_BOOL, {(void*)&exit_on_error}, "exit on error", "error" }, |
|
|
|
{ "xerror", OPT_BOOL, {(void*)&exit_on_error}, "exit on error", "error" }, |
|
|
|
{ "copyinkf", OPT_BOOL | OPT_EXPERT | OPT_SPEC, {.off = OFFSET(copy_initial_nonkeyframes)}, "copy initial non-keyframes" }, |
|
|
|
{ "copyinkf", OPT_BOOL | OPT_EXPERT | OPT_SPEC, {.off = OFFSET(copy_initial_nonkeyframes)}, "copy initial non-keyframes" }, |
|
|
|