Project

General

Profile

Feature #2144

Transcoding settings via the webui

Added by Anthony Thomas over 7 years ago. Updated over 7 years ago.

Status:
New
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;

History

#1

Updated by hencha satellite over 7 years ago

How to use that setting buddy ? i wanna try it too
Regards

#2

Updated by Anthony Thomas over 7 years ago

hencha satellite wrote:

How to use that setting buddy ? i wanna try it too
Regards

You can find these settings in transcoding.c and change them there then compile TVHeadend.

#3

Updated by hencha satellite over 7 years ago

I am newbie buddy for this.
how to change it, i wanna learn more :D
can u info step by step :D
Thx before

#4

Updated by Anthony Thomas over 7 years ago

hencha satellite wrote:

I am newbie buddy for this.
how to change it, i wanna learn more :D
can u info step by step :D
Thx before

Go here - https://github.com/tvheadend/tvheadend

This has instructions on how to compile TVHeadend from source.

You need to make changes to the file "transcoding.c" which is located in tvheadend/src/plumbing/trancoding.c

#5

Updated by hencha satellite over 7 years ago

Is it mean after install TVH and just edit file on tvheadend/src/plumbing/trancoding.c and than restart TVH ?
Sorry newbie question :D

#6

Updated by Anthony Thomas over 7 years ago

hencha satellite wrote:

Is it mean after install TVH and just edit file on tvheadend/src/plumbing/transcoding.c and than restart TVH ?
Sorry newbie question :D

Neither, you need to read the instructions on the link I posted on how to compile TVHeadend from the source. Once you know how to do that you need to edit the file I mentioned then compile.

Also available in: Atom PDF