[Tips]Lossless recording-using x264vfw  

[Tips]Lossless recording-using x264vfw

* Before you begin, you need to install the x264 codec and you can find the instructions in the following link.

(http://cafe.naver.com/ohsoft/618)

Click on CODEC menu of OHCAM and click on the external codec menu item.

Check Use External Codec, select the x264vfw codec and click the Settings button.

 
Based on the x264vfw default setting, change the yellow box in the figure below as shown.


The parts that are changed are as follows.

Preset-Ultrafast (Set to improve encoding speed and can increase file size, but other options will cause more racks.)

Profile-High 4: 4: 4 (Changes to High 444 for lossless encoding as the default profile may lose video quality.)

Keep input colorspace-Maintains the color space of the internally received buffer. (Other options may cause encoding to fail.)

Rate control-Single pass-lossless-Change for lossless encoding.

Press the OK button to apply the setting.


Since the settings are applied to x264vfw64 for 64-bit when recording 64-bit games, run x264vfw-Configure x264vfw64 from the Start menu and set them as shown above.

If you record with the above settings, you will be recording losslessly, where the important part is to change the settings of the video player to play lossless video losslessly.

The following shows how to check the lossless video based on the next pot player.

After launching the next pot player, click Preferences (F5).

 

 
In the environment setting window

Click Image-Colorspace / Properties on the left, and then select Convert directly if possible-Change to default output colorspace in the Colorspace group box on the right. (If this setting is not made, the color of the screen will be lost when playing the video even if the recording is lossless.)


Press OK and play the video recorded without loss.

At this time, if you press Ctrl + F1 on the next pot player, the video codec output format must be output in RGB (32 Bits) as shown below.


In addition, the properties below should be identical in the Playback Information-File Information tab as shown in the following figure.

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 properly and the preview thumbnail is not displayed in Windows Explorer.



Additional tips

[Tips]Using the x264vfw External Codec

Ocam supports external codec (VFW) and how to use the x264 codec.

The x264 codec can be downloaded from the following site.
http://sourceforge.net/projects/x264vfw/

Go to the site and click the download button.


The download starts automatically.


The installation screen is as follows only.


Agree to the terms.

 
Specify the installation path.

 
The installation is complete.

 
Click Done.

 
After installing the codec, you must re-run Ocam to see it in the external codec list.

After re-launching Ocam, click the codec button in the ocam main window and click the external codec menu.

 



Check the box to Use an external codec.

 


Select x264vfw-H264 / MPEG-4 AVC codec from the list.

 

Click on the Settings button to see the detailed settings in the codec.

 
The codec setting window will appear as shown below. Currently, we need to record the screen in real time rather than the normal video encoding, so select Ultrafast in Preset, check the Zero Latency checkbox and set the encoding to be the fastest, and press the OK button.

(This setting method is useful for real time recording and you can set it according to the situation.)

 
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.


Back to top