The best way to record video with audio is to call TDW's video capture commands, which launch ffmpeg. ffmpeg's screen capture parameters vary by OS and so there are three different commands for starting video capture. Read the following to learn more:
It is possible, but not recommended, to record image data as described in the previous document, record audio with AudioUtils
, and combine the images and the audio with ffmpeg. However, it is extremely difficult to synchronize them into a video. This is classic problem in audio/visual recording; we don't recommend attempting it!
OBS is an excellent screen recorder for personal computers. Unfortunately, it has very limited command line options. If you want to automatically generate many videos, you should use ffmpeg as described above. OBS is best used for one-shot videos, especially if you want to fine-tune the input/output settings.