Actions
Feature #2144
closedTranscoding settings via the webui
Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-06-16
Due date:
% Done:
0%
Estimated time:
Description
It would be great to change the transcoding encoder settings via the webui.
Currently I am changing them via transcoding.c before compiling to suit my upload bandwidth because the default settings give a bitrate that is too high.
Settings I currently change are:
octx->i_quant_factor = 0.71;
// QP curve compression: 0.0 => CBR, 1.0 => CQP.
// Recommended default: -qcomp 0.60
octx->qcompress = 0.6;
// Minimum quantizer. Doesn't need to be changed.
// Recommended default: -qmin 10
octx->qmin = *20*;
// Maximum quantizer. Doesn't need to be changed.
// Recommended default: -qmax 51
octx->qmax = *30*;
av_dict_set(&opts, "preset", "medium", 0);
av_dict_set(&opts, "profile", "baseline", 0);
octx->bit_rate = *1.5* * octx->width * octx->height;
octx->rc_buffer_size = 8 * 1024 * 224;
octx->rc_max_rate = *1* * octx->rc_buffer_size;
Actions