How to implement h.264 codec into screen recorder C# GUI app which records the full screen and also the system sound of Windows OS?

Rahmatulloh 40 Reputation points
2024-06-03T15:45:20.5+00:00

Here is my project on github:

https://github.com/RahmatullohIsmoilov/ScreenAudioRecorder

I want to record the full screen and at the same time the system sound of Windows OS with possible in less MB size :)

And sometimes, I have some problems with stop button and exiting the whole program. This problem is not so obvious to solve, but I don't know exactly what's happening when my that GUI program is working.

Developer technologies | C#
0 comments No comments
{count} votes

Accepted answer
  1. KOZ6.0 6,735 Reputation points
    2024-06-03T21:59:51.8933333+00:00

    The documentation can be found here.

    「Using Video Encoders」
    https://bassill.github.io/SharpAvi/using-video-encoders.html

    You can download the H.264 encoder x264vfw from here. https://sourceforge.net/projects/x264vfw/files/

    You need to set up the encoder. Run Configure x264vfw/Configure x264vfw64 and turn on the "Zero Latency" option. ※ Note that there are x86 and x64 versions.

    zero

    Now you can use the H.264 encoder.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.