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.
Click Tools - Options in the top menu of oCam.
Then click the Save tab on the left to set the file name for saved files.
By default, files are saved in the following format.
<Prefix>_<YYYY_MM_DD_HH_NN_SS_Z>
The text inside the <> brackets uses special keywords. These keywords can represent the prefix, date, serial number, program name, user ID, and user name.
With the default settings, when recording starts and then finishes, the file is saved in the format Recording_2015_05_07_14_22_41_791. If you only want to change the word Recording at the beginning, you can change it as follows.
Test_<YYYY_MM_DD_HH_NN_SS_Z>
If you do this, the file will be saved in the format Test_2015_05_07_14_22_41_791 after recording is completed.
If you want to add a serial number after Test instead of the date,
set it to Test_<#>, and it will be saved as Test_1... Test_2 ... Test_3...................... Test_10.
Description of the special keywords used inside the <> brackets
If the current date is
2015_05_07_14_22_41_791
in this format,
<Y> = 15 ( two-digit year )
<YY> = 15 ( two-digit year )
<YYYY> = 2015 ( four-digit year )
<M> = 5 ( one-digit month )
<MM> = 05 ( two-digit month )
<MMM> = 5 ( not used in the Korean locale )
<MMMM> = May ( month name displayed according to the system locale )
<D> = 7 ( one-digit day )
<DD> = 07 ( two-digit day )
<DDD> = Thu ( day of the week )
<DDDD> = Thursday ( displayed according to the locale language )
<DDDDD> = 2015-05-07 ( date )
<DDDDDD> = Thursday, May 7, 2015 ( date and day of the week, displayed according to the locale language )
<C> = 2015-05-07 2:22:41 PM ( date and time )
<H> = 14 ( one-digit hour )
<HH> = 14 ( two-digit hour )
<N = 22 ( one-digit minute )
<NN> = 22 ( two-digit minute )
<S> = 41 ( one-digit second )
<SS> = 41 ( two-digit second )
<Z> = 791 ( milliseconds )
<ZZZ> = 791 ( milliseconds )
<T> = 2:22 PM ( AM/PM label varies by locale, followed by the time )
<TT> = 2:22:41 PM ( AM/PM label varies by locale, followed by the time and seconds )
<AM/PM> = AM or PM
<a/p> = a or p
<ampm> = AM or PM
<Prefix> = Recording for video recording, Screen Capture for captures, Audio for audio recording
<ProgramName> = For normal recording, oCam; for game recording, the executable file name of the game program
<UserID> = Windows user ID
<DisplayUserName> = Windows display name
<#> = one-digit serial number
<##> = two-digit serial number
<###> = three-digit serial number