Merge branch 'develop' into interlace

This commit is contained in:
eisneinechse
2020-07-08 17:25:25 -07:00
7 changed files with 101 additions and 60 deletions

View File

@@ -1210,8 +1210,10 @@ AVStream *FFmpegWriter::add_video_stream() {
) {
c->bit_rate = info.video_bit_rate;
if (info.video_bit_rate >= 1500000) {
c->qmin = 2;
c->qmax = 30;
if (c->codec_id == AV_CODEC_ID_MPEG2VIDEO) {
c->qmin = 2;
c->qmax = 30;
}
}
// Here should be the setting for low fixed bitrate
// Defaults are used because mpeg2 otherwise had problems