Laptop Sleeps When You Close the Lid, or Won't Turn Off: How to Change the Lid Close Action (Windows 10/11)
Videos, Photos or PDFs Opening in the Wrong App? Change Default Apps by File Type in Windows 11
Laptop Touchpad Suddenly Stopped Working: How to Turn It Back On and Check Shortcut Keys and Drivers (Windows 10/11)
Windows Won't Start Normally? 3 Ways to Boot Into Safe Mode (Shift + Restart, Settings, msconfig)Using oCam at work or school? A license is required, and it removes all ads, including this window. See the paid version →
Before getting started, you must install the x264 codec in advance. If you do not know how to install it, please refer to the Help section.
Click the Codec menu in oCam, then click the External Codec menu item.
Select Use External Codec, choose the x264vfw codec, and then click the Settings button.
Using the default x264vfw settings as a base, change the parts highlighted in the yellow box in the image below as shown.

The following settings need to be changed.
Preset - Ultrafast ( Set this to improve encoding speed. The file size may become larger, but if you choose other options, significant lag may occur. )
Profile - High 4:4:4 ( The default profile may cause quality loss, so change it to High 4:4:4 for lossless encoding. )
Keep input colorspace - Keeps the color space of the internally received input buffer. ( If you use other options, encoding may fail. )
Rate control - Single pass - lossless - Change this for lossless encoding.
Click the OK button to apply the settings.
When recording 64-bit games, the settings are applied to x264vfw64 for 64-bit, so run x264vfw - Configure x264vfw64 from the Start menu and configure it in the same way as shown above.
If you record with the above settings, the video will be recorded losslessly. One important point is that if you want to play back the lossless video without quality loss, you must change the settings in your video player.
Below is how to check a lossless video using PotPlayer.
Run PotPlayer, then click Preferences ( F5 ).
In the Preferences window,
click Video - Color Space/Attributes on the left, then in the Color Space group box on the right, select Convert manually if possible - Default output color space. ( If you do not configure this, even if the recording is lossless, the screen colors may still be altered during playback. )
Click OK, then play the video recorded losslessly.
At this point, press Ctrl + F1 in PotPlayer. As shown below, the output format of the video codec must be displayed as RGB(32 Bits).
Also, in the playback information under the File Information tab, the following properties must match as shown below.
Format profile : High 4:4:4 Predictive@L3
Color space : RGB
Color range : Full
Matrix coefficients : RGB
Please note that Windows Media Player does not play this properly, and preview thumbnails will not be displayed in Windows Explorer.
oCam supports a range of video codecs and container formats so that users can choose from various recording options.
Below is information about the video codecs supported by oCam.
* How to Check Supported Video Codecs
You can check the video codecs supported by oCam simply by clicking the 'Codec' button in the oCam main window. From this menu, you can easily view and adjust the list of available codecs and their settings.
* Supported Video Codecs
oCam supports the following video codecs for different container formats. Each codec is encoded according to the selected container format:
- MPEG-1: Used with the AVI container format and widely compatible as an early digital video compression standard.
- MPEG-2: Used with the TS and VOB container formats and suitable for DVDs and broadcast streaming.
- MPEG-4: Used with a wide range of container formats, including MP4, MKV, M4V, MOV, FLV, and WMV. oCam uses MPEG-4 as its default codec, offering high compression and good quality.
- XVID: Used with the AVI container format. It is an open-source codec based on MPEG-4, and oCam internally uses the MPEG-4 codec with only the FourCC set to XVID.
- OpenDivx: Used with the AVI container format, also based on MPEG-4, with the FourCC set to OpenDivx.
- Microsoft MPEG-4 Part 2: Used with the AVI container format and set as oCam's default codec. It can be played in most video players, such as Windows Media Player, without installing additional codecs.
- Microsoft MPEG-4 Part 3: An additional option available for the AVI container format, offering compatibility and quality.
* Relationship Between Container Formats and Codecs
oCam supports various container formats, and according to the image you provided, the supported container formats are as follows:
- MP4 (MPEG-4 Part 14): Uses the MPEG-4 codec.
- MKV (Matroska): Uses the MPEG-4 codec.
- M4V (iPod MPEG-4): Uses the MPEG-4 codec.
- MOV (QuickTime): Uses the MPEG-4 codec.
- WMV (Windows Media Video): Uses the MPEG-4 codec.
- FLV (Flash Video): Uses the MPEG-4 codec.
- AVI (Audio Video Interleave): Uses MPEG-1, MPEG-2, MPEG-4, XVID, OpenDivx, Microsoft MPEG-4 Part 2, and Part 3.
- TS (MPEG-2 Transport Stream): Uses the MPEG-2 codec.
- VOB (MPEG-2 PS): Uses the MPEG-2 codec.
- GIF (Graphics Interchange Format): Can be saved as an animated GIF when recording video.
- Audio Recording: Saved in AAC (MP4) format.
By default, oCam records in the AVI container using the Microsoft MPEG-4 Part 2 codec, and this setting is suitable for beginners because it can be played immediately in Windows Media Player and other players without installing additional codecs. MPEG-4, XVID, and OpenDivx are all internally based on the MPEG-4 codec, with only different FourCC codes used to extend compatibility.
* Audio Codec
The audio data saved during recording is encoded in MP3 format, and in some cases, such as with the MP4 container, AAC format is also supported.
* Additional Information
If you install external codecs, you can use more codec options, which will be covered in detail in a separate post. You can adjust oCam's codec settings to match your desired quality and file size, so check the options through the 'Codec' button and test them as needed.