Skip to content

Commit 530c5cd

Browse files
authored
Update README.md
1 parent f5c0a0a commit 530c5cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
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_codec = "h264_nvenc";
19+
settings.m_codecId = 27; //fetch codecs using recorder.getAvailableCodecs()
2020
settings.m_bitrate = 30000000;
2121
settings.m_width = 1920;
2222
settings.m_height = 1080;
@@ -70,4 +70,4 @@ git clone https://github.com/EclipseMenu/ffmpeg-android-maker/
7070
cd ffmpeg-android-maker
7171
./ffmpeg-android-maker.sh
7272
```
73-
You can either run it natively on Linux or using WSL on Windows.
73+
You can either run it natively on Linux or using WSL on Windows.

0 commit comments

Comments
 (0)