oCam Closes Automatically a Few Seconds After Launching

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

When trying to record with oCam, a specific issue may occur if an online video lecture site is running. This problem is usually caused by anti-recording software used by the site to protect its content. Below is a detailed explanation of the issue and how to handle it.


Online video lecture sites often use anti-recording software to protect copyrighted content. This software detects recording programs such as oCam and force-closes them at regular intervals. As a result, oCam may not be able to continue recording normally or may close unexpectedly.


To resolve this issue, you need to contact the online video lecture site directly where you want to record. Ask the site operator whether recording is allowed and check their related policy. If necessary, request permission to record. Some sites may allow recording under certain conditions or provide a way to temporarily disable the anti-recording feature.


Attempts to bypass issues caused by anti-recording software may violate the site's terms of use, so it is important to follow the site's policy. Therefore, if you want to record lecture content with oCam, first consult the site administrator and follow the proper procedure.

Another helpful tip

Using external codecs - using x264.

Using an external codec - Using x264

oCam supports external codecs (VFW), and here we will learn how to use the x264 codec.
 

You can download the x264 codec from the site below.

http://sourceforge.net/projects/x264vfw/


Go to the site and click the download button.


 

Download starts automatically.

For the installation screen, you can just click Next.

Agree to the license agreement.

Specify the installation path.

Installation is complete.

Click Finish.


After installing the codec, you must restart oCam to see it in the external codec list.

After restarting oCam, click the Codec button on the main oCam window and click the External Codec menu.


 

Check the Use External Codec box.



In the list, select x264vfw - H264/MPEG-4 AVC codec.



Then click the Settings button to view detailed codec settings.



A codec settings window opens as shown below. Since this is not normal video encoding but real-time screen recording, select Ultrafast in Preset and check the Zero Latency box to make encoding as fast as possible, then click OK.

(This setting is useful for real-time recording, and you can adjust it as appropriate for your situation.)

After setting it this way and starting recording, it will be recorded using the x264 codec.




If you record like this, the recording is done using x264 codec.


* For game recording, if the game you want to record is 64-bit, you must also install the 64-bit version of x264vfw (by default, unless you touch the option during x264vfw installation), x264vfw-Configure x264vfw64 from the Start menu. Run it and set it up as described above.


* Keep / Accept only YUV 4: 2: 0, Keep / Accept only YUV 4: 2: 2, Keep / Accept only YUV 4: 4: 4 are not supported for x264vfw setting and recording will fail when using this setting.