|
28 | 28 | Bitrate: "400000", |
29 | 29 | GopSize: "120", |
30 | 30 | InterlaceMode: "progressive", |
| 31 | + BFrames: "3", |
31 | 32 | }, |
32 | 33 | Audio: db.AudioPreset{ |
33 | 34 | Codec: "aac", |
@@ -92,13 +93,14 @@ func Test_mcProvider_CreatePreset(t *testing.T) { |
92 | 93 | CodecSettings: &mediaconvert.VideoCodecSettings{ |
93 | 94 | Codec: mediaconvert.VideoCodecH264, |
94 | 95 | H264Settings: &mediaconvert.H264Settings{ |
95 | | - Bitrate: aws.Int64(400000), |
96 | | - CodecLevel: mediaconvert.H264CodecLevelLevel41, |
97 | | - CodecProfile: mediaconvert.H264CodecProfileHigh, |
98 | | - InterlaceMode: mediaconvert.H264InterlaceModeProgressive, |
99 | | - QualityTuningLevel: mediaconvert.H264QualityTuningLevelMultiPassHq, |
100 | | - RateControlMode: mediaconvert.H264RateControlModeVbr, |
101 | | - GopSize: aws.Float64(120), |
| 96 | + Bitrate: aws.Int64(400000), |
| 97 | + CodecLevel: mediaconvert.H264CodecLevelLevel41, |
| 98 | + CodecProfile: mediaconvert.H264CodecProfileHigh, |
| 99 | + InterlaceMode: mediaconvert.H264InterlaceModeProgressive, |
| 100 | + QualityTuningLevel: mediaconvert.H264QualityTuningLevelMultiPassHq, |
| 101 | + RateControlMode: mediaconvert.H264RateControlModeVbr, |
| 102 | + GopSize: aws.Float64(120), |
| 103 | + NumberBFramesBetweenReferenceFrames: aws.Int64(3), |
102 | 104 | }, |
103 | 105 | }, |
104 | 106 | }, |
|
0 commit comments