diff options
author | Linjie Fu <linjie.fu@intel.com> | 2020-04-29 11:00:47 +0800 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2020-04-29 20:58:17 +0300 |
commit | e5f097eca78342bf34a70f4c43c61238c8ae41c2 (patch) | |
tree | 4997d798c49cca58bf2980f7282584c1c60192ca /libavfilter/lswsutils.c | |
parent | 433ece8c8b62e092601ee9580029ba0e6e48ff58 (diff) | |
download | ffmpeg-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