aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/lswsutils.c
diff options
context:
space:
mode:
authorLinjie Fu <linjie.fu@intel.com>2020-04-29 11:00:47 +0800
committerMartin Storsjö <martin@martin.st>2020-04-29 20:58:17 +0300
commite5f097eca78342bf34a70f4c43c61238c8ae41c2 (patch)
tree4997d798c49cca58bf2980f7282584c1c60192ca /libavfilter/lswsutils.c
parent433ece8c8b62e092601ee9580029ba0e6e48ff58 (diff)
downloadffmpeg-e5f097eca78342bf34a70f4c43c61238c8ae41c2.tar.gz
lavc/libopenh264enc: add default gop size and bit rate
It would be 200kbps bitrate with gop size = 12 by default which generated too many IDR frames in rather low bit rate. The quality would be poor. Set these default values to -1 to check whether it's specified by user explicitly. Use 2Mbps bitrate as nvenc sugguested, and leave gop size untouched in libopenh264. Signed-off-by: Linjie Fu <linjie.fu@intel.com> Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavfilter/lswsutils.c')
0 files changed, 0 insertions, 0 deletions