Skip to content

Commit 4819418

Browse files
authored
Update README.md
1 parent 8ed963f commit 4819418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ void video() {
1616
//ffmpeg-api will automatically handle conversion between the input pixel
1717
//format and the codec's pixel format
1818
settings.m_pixelFormat = PixelFormat::RGB0;
19-
settings.m_codecId = 27; //fetch codecs using recorder.getAvailableCodecs()
19+
settings.m_codec = "h264_nvenc"; //fetch codecs using recorder.getAvailableCodecs()
2020
settings.m_bitrate = 30000000;
2121
settings.m_width = 1920;
2222
settings.m_height = 1080;

0 commit comments

Comments
 (0)