What to Do If the "Cause: failed to avio_open(error=-13)" Error Occurs During Recording
This error may occur because AhnLab V3 or Avast falsely detects oCam as suspicious. Below is a detailed explanation of how to resolve the issue for each antivirus program.
For AhnLab V3, if oCam is being falsely detected, you can resolve the issue by adding the `oCam.exe` file in the oCam installation folder to the scan exclusion list.
1. Open the AhnLab V3 program.
2. Go to the Settings menu and find the 'Scan Exclusions' or 'Exclusion Settings' option.
3. In the 'File/Folder Exclusions' section, click the 'Add' button.
4. Go to the folder where oCam is installed, for example `C:\Program Files\oCam`, and select the `oCam.exe` file.
5. Add it to the exclusion list and save the settings.
6. Run oCam again and check whether recording works normally.
* There may also be a conflict with the anti-ransomware feature.
For example, if drive E is set as a ransomware-protected drive and oCam's save folder is also set to drive E, an error may occur during recording. This happens because the anti-ransomware feature restricts file writing on that drive, preventing oCam from saving the video file.
In this case, keep drive E as a ransomware-protected drive and set oCam's recording save folder to drive C or D instead.
Because drive E is configured as a ransomware-protected drive, file creation and modification are restricted for security purposes, so programs such as oCam are blocked from saving files there. Therefore, the simplest solution is to move the save path to drive C or another unrestricted location.
If you want to continue using drive E, you may also consider temporarily disabling the anti-ransomware setting or adding the oCam executable file (`oCam.exe`) as an exception in the security policy for that drive.

For Avast, if oCam is falsely detected, a pop-up message like the one below may appear. In that case:
1. In the pop-up, click the 'Allow App' button to register oCam as a trusted program.
2. This will remove the error and allow oCam to work normally.
If the pop-up does not appear, you can adjust the allow settings manually:
1. On the Avast main screen, click 'Menu' and then select 'Settings'.
2. Go to the 'Blocked & Allowed Apps' section.
3. Click the '+ Allow App' button and add the oCam executable file (`oCam.exe`).
4. Once oCam has been added to the allowed apps list, save the setting and run oCam again. Recording should then work without any issues.
As an alternative, you can also disable part of the protection feature:
1. Open the 'Protection' menu on the Avast main screen.
2. Find the 'Ransomware Shield' option and turn it off.
3. Disabling Ransomware Shield may resolve the error related to oCam.

You can choose and apply whichever method is more convenient. If the problem continues even after changing the antivirus settings, it may also help to contact AhnLab or Avast customer support.
Today's News/Tips
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.