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.
If you want to use various video codecs with oCam, you can install external codecs to adjust recording quality and file formats the way you want. Below is information about the external codecs supported by oCam and how to install them. Installing external codecs allows you to use oCam more flexibly.
After installing an external codec, you must restart oCam. Once restarted, the installed codec will automatically appear under the 'External Codec' option in the oCam settings menu, where you can select it for recording. External codecs can be downloaded from the following link:
https://ohsoft.net/update/codec.php
The following are descriptions of the main external codecs supported by oCam:
Xvid Video Codec
The Xvid codec is a video codec that implements the MPEG-4 Simple Profile and Advanced Simple Profile standards. This codec offers efficient compression and high compatibility, making it suitable for creating videos that can be played on a wide range of devices and software. With Xvid, you can keep file sizes reasonable while minimizing quality loss during recording.
x264vfw Codec
x264vfw is a VfW (Video for Windows) codec that includes the widely known x264 encoder and ffh264 decoder. Based on the H.264 format, this codec can save high-quality video in a smaller file size. x264vfw is especially suitable for users who want sharp image quality and efficient compression, and it also offers excellent compatibility with various video editing software.
VP8 Codec
The VP8 codec can encode video at quality comparable to or better than H.264 video encoders. VP8 is a core component of the WebM format and is well suited for web-based video streaming or high-quality video storage. With this codec, you can reduce file size while maintaining clear image quality for efficient recording.
Lagarith Codec
Lagarith is a lossless video codec designed for video editing and archiving. As a lossless codec, it preserves the original video quality exactly, but the file size can be relatively large. Therefore, it is suitable for users who want to edit high-quality video or store it for the long term.
By installing and using external codecs in oCam, users can choose the best codec for their recording purpose and environment. For example, if you want to reduce file size, you can choose x264vfw or VP8, and if you want to create editing footage without quality loss, you can choose Lagarith. Download the codec you need from the link above, restart oCam, and apply the codec you want.