Download Useful External Codecs

Using oCam at work or school? A license is required, and it removes all ads, including this window. See the paid version →

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.

Another helpful tip

How to Fix the "Error while writing video frame (error=-28)" Error

When recording with oCam, the following error message may appear after a certain amount of time:


"Error while writing video frame (error=-28)"


This error (error code 28) occurs when the file system of the path where the recorded video file is being saved is formatted as FAT (FAT32). The FAT file system has a maximum single-file size limit of 4 GB, so this error occurs when the recorded file size exceeds 4 GB. Below is a detailed explanation of how to resolve this issue.


To fix this error, you can choose one of the following two methods:


1. Change the save path to an NTFS file system  

The NTFS file system has a much larger file size limit (up to 16 EB), so it can store video files larger than 4 GB without any problems. To change oCam's save path to a drive or folder that uses the NTFS format, follow these steps:  

1. In the oCam main window, click 'Tools' in the top menu, then select 'Options'.  

2. In the Settings window, click the 'Save' category in the left menu.  

3. Under the 'Save Path' item, check the current path and change it to another drive or folder that uses the NTFS file system (for example, `C:\Videos` or `D:\Recordings`).  

4. Click the 'OK' button to save the settings, restart oCam, and then try recording again.


2. Format the existing drive as NTFS  

If the drive you are currently using is formatted as FAT or FAT32, you can convert or format it to NTFS. However, formatting will erase all data on the drive, so be sure to back up any important files first. To format the drive, follow these steps:  

1. Open File Explorer and right-click the drive you want to format (for example, a USB drive or external hard drive).  

2. Select 'Format' and set the file system to 'NTFS'.  

3. Choose the formatting options, then click 'Start' to begin formatting.  

4. After formatting is complete, set that drive as the save path in oCam and use it.


Additional Checks  

- To check whether the drive's file system is FAT32, right-click the drive in File Explorer and select 'Properties' to view the file system information.  

- If the problem continues even after changing to NTFS, check whether the drive has enough free space and whether you have write permission.


By changing the save path to an NTFS file system or formatting the drive, you can save large video files over 4 GB without errors. After changing the settings, make a test recording to confirm that the problem has been resolved.