[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

[HOWTO]How to reduce the size of recorded video files during game recording (For NVIDIA codec)

If you are using NVIDIA NVENC H.264 codec by default, the recorded file may be very large.

 

If you click the codec menu of Ocam, you can check whether you are using the NVENC H.264 codec as follows.

 


 

 

In Ocam's Codec menu, click Hardware Encoder Settings.

 

Then, the following hardware encoder setting window appears, and you can reduce the size of the recorded video file by modifying the part marked with yellow box.

 

First, let's take a look at how to reduce the size of a recorded file using the variable bitrate.

(Rate control should be 1-PASS VBR as shown below.)

 

 


 

 

The quantizer value can be set from 1 to 51.

 

Lower quantizer values ​​result in better image quality; higher quantizer values ​​result in poorer image quality.

 

 

That is, the recording quality is defined by the range from the minimum quantizer to the maximum quantizer value.

 

For example,

If the minimum quantizer value is 1 and the maximum quantizer value is 13, the recording quality is 1 to 13.

If the minimum quantizer value is 1 and the maximum quantizer value is 51, the recording quality is 1 to 51.

If the minimum quantizer value is 13 and the maximum quantizer value is 51, the recording quality is 13 to 51.

 

 

In conclusion, to reduce the size of a movie recording file, the larger the minimum and maximum quantizer values, the lower the recording quality and the smaller the recording file size.

 

 

The quantizer value can be adjusted as follows.

 

To lower the quality and reduce the size of the recorded image while maintaining the maximum recording quality, set the minimum quantizer value to 1 and the maximum quantizer value as large as you want to reduce the quality.

(E.g. minimum quantizer: 1, maximum quantizer 30)

 

To reduce the size of the recorded image by reducing the image quality to the maximum in the middle while maintaining the medium quality, the minimum quantizer is 26 and the maximum quantizer value is 51.

 

 

Note that the minimum quantizer value cannot be greater than the maximum quantizer value.

That is, the minimum quantizer value <= maximum quantizer value.

 

 

Note: If you set the minimum quantizer value to 1 or the maximum quantizer value to 1, the file size of the recorded video will be huge.

The default minimum quantizer value is 1, the maximum quantizer value is 13, and it is recommended to set it within the following range.

Minimum quantizer> = 1 and maximum quantizer value> = 13

 

 

 

Here's how to reduce the size of a recorded video file using a fixed bitrate.

 

Just change the rate control to 1-PASS CBR as shown and set the average bitrate.

 


 

 

 

The larger the average bitrate size, the higher the image quality, and the smaller the size, the lower the image quality and the smaller the recorded file size.

 

 

 

Finally, using fixed quantizer parameters.

 

Set the rate control to 1-PASS fixed quantizer parameter as shown below.

 


 

 

There is no concept of minimum quantizer and maximum quantizer in VBR, and the quantizer will set the quality to a fixed value.

Statistics Elements


Back to top