Staxrip: UI Not Setting NVEnc --vpp-pad Switch Values Correctly

Created on 31 May 2021  路  3Comments  路  Source: staxrip/staxrip

I just grabbed the latest version so am on 2.6.0.

Describe the bug
Setting padding value(s) does not add all 4 (l,t,r,b) values for --vpp-pad. Setting top and bottom only causes error: Error: Invalid value "60,60" for "--vpp-pad"

Expected behavior
Switch values for setting top and bottom padding of 60. Switch expected to render as:
--vpp-pad=0,60,0,60

How to reproduce the issue

  1. Select the NVidia H264 encoder
  2. Click Encoder Options to configure
  3. Configure generic
  4. Now go to VPP to Misc 2
  5. Check to enable the Padding section
  6. Set only top and bottom to anything other than 0
  7. Note in the preview at bottom the --vpp-pad switch is added with only the values you change from 0 (should always have all 4 once you change one to other than 0).

Provide information
Current NVEncC64.exe with 2.6.0:
NVEncC (x64) 5.32 (r1925) by rigaya, May 18 2021 14:30:14 (VC 1928/Win/avx2)

Reference for switch:

   --vpp-pad <int>,<int>,<int>,<int>
     add padding to left,top,right,bottom (in pixels)
addefixedone bug

All 3 comments

Confirmed.

Just FYI, instead of using the embedded filter of _NVEnc_, you can try the AddBorders AviSynth filter.

AddBorders(0, 60, 0, 60)

This adds black color of 60 pixels at top and bottom.

There's one more advantage with AviSynth filter: you can see what the result will be like in _Preview_. By contrast, you can't with NVEnc vpp filters.

Is fixed and will be included in the next release.

@AYColumbia
Thanks for the report, which was additionally very detailed.

Glad to help. Thank you.

Was this page helpful?
0 / 5 - 0 ratings