jlennox / NvEncSharp

MIT License
20 stars 7 forks source link

Enabled proper H264-enoding in ScrerenCapture sample #7

Closed Wu3r5l1n closed 2 years ago

Wu3r5l1n commented 2 years ago

Hi and thanks for your great effort in putting this together. When running the ScreenCapture example, I noticed that the resulting file sizes were quite large. This was caused by the encoder only generating I-Frames, so no temporal correlation was used for compression. In the end it was just a configuration issue, but it caused me some time to figure it out. Opening this PR because I think this might be useful for others.

Changes:

jlennox commented 2 years ago

Thanks for the compliment and thanks for up streaming your fix! I'm glad this project is finding use by someone.