Using oCam at work or school? A license is required, and it removes all ads, including this window. See the paid version →
In Java-based applications that use CUDA, including oCam, problems may occur when certain NVIDIA drivers are installed. In particular, if NVIDIA driver version 378.49 (or some other versions) is installed, a bug may occur where the app crashes with the error "Stack cookie instrumentation code detected a stack-based buffer overrun" when calling the CUDA initialization function `cuInit`.
This issue is not a bug in oCam itself, but a problem with the NVIDIA driver that affects all applications that use CUDA. Therefore, the same error may occur not only in oCam but also in other CUDA-based Java applications.
To resolve this issue, you need to update the NVIDIA driver to the latest version, 378.66 or later. Follow the steps below to update the driver:
1. Go to the official NVIDIA website (geforce.com/drivers).
2. Select your graphics card model and operating system, then search for the latest driver (version 378.66 or later).
3. Run the downloaded driver installer and proceed with the installation.
4. After the installation is complete, restart your computer and run oCam or another CUDA-based application to check whether the issue has been resolved.
Updating the driver to version 378.66 or later will resolve the CUDA initialization crash issue and allow you to use oCam and other related applications normally. If the problem continues even after installing the latest driver, contact NVIDIA Support or check for the latest version of oCam.
First, use the mouse to adjust the green recording frame and set the recording area.

The center drag handle lets you move the recording area with the mouse,

The small squares at each corner can be dragged with the mouse to resize the recording area.

The large rectangular box is the area that will be recorded on the screen.
Once the recording area is set, click the Record button on the oCam main window or press the default hotkey ( F2 ) to start recording. ( The hotkey can be changed in Options. )

When recording starts, the oCam main window changes as shown below.

The Stop button stops recording, Pause pauses the recording, and Capture lets you take a capture even while recording is in progress.
It also shows the remaining time, the size of the file currently being recorded, and the remaining space on the hard disk.
The recording frame also turns red, and when the frame is red, it means recording is in progress.

When you click Stop Recording, the recording ends. To check the recorded video, click the Open button.

Clicking the Open button opens Windows Explorer and selects the recorded file.
The recorded video can be played in a video player,
and it can also be uploaded to sites like YouTube.