Closed Aesthermortis closed 3 months ago
The error does not occur if I remove the filter --vpp-resize "algo=ngx-vsr,vsr-quality=4"
-------------------------------------------------------------------------------- NVEncC (x64) 7.59 (r2957) by rigaya, Aug 2 2024 12:45:34 (VC 1929/Win) OS Version Windows 11 x64 (22631) [UTF-8] CPU Intel Core i7-10750H @ 2.60GHz [TB: 4.30GHz] (6C/12T) GPU #0: NVIDIA GeForce RTX 2060 (1920 cores, 1560 MHz)[PCIe3x16][560.70] NVENC / CUDA NVENC API 12.2, CUDA 12.6, schedule mode: sync Input Buffers CUDA, 45 frames Input Info avcuvid: H.264/AVC, 1920x1080, 24/1 fps Trim 1900-2500 [offset: 0] Vpp Filters cspconv(nv12 -> yv12(16bit)) resize: ngx-vsr 1920x1080 -> 3840x2160 ngx-vsr: colorspace: cspconv(yv12(16bit) -> yuv444(16bit)) matrix:bt709->GBR cspconv(rgb(fp32) -> rgb32) nvsdk-ngx vsr: quality: 4 cspconv(rgb32 -> rgb(fp32)) colorspace: matrix:GBR->bt709 edgelevel: strength 5.0, threshold 24.0, black 0.0, white 0.0 ngx-truehdr: colorspace: matrix:bt709->GBR cspconv(rgb(fp32) -> rgb32) ngx-truehdr: contrast: 100, saturation: 100, middleGray: 50, maxLuminance: 1000 cspconv(rgba(fp16) -> rgb(fp32)) colorspace: prim:bt709->bt2020 transfer:linear->smpte2084 matrix:GBR->bt2020nc cspconv(yuv444(16bit) -> p010) Output Info H.265/HEVC main10 @ Level 5 3840x2160p 0:0 24.000fps (24/1fps) avwriter: hevc => matroska Encoder Preset quality Rate Control VBR Multipass 2pass-full Bitrate 16000 kbps (Max: 24000 kbps) Target Quality auto QP range I:0-63 P:0-63 B:0-63 QP Offset cb:0 cr:0 VBV buf size 32000 kbit Split Enc Mode auto Lookahead on, 32 frames, Level 3, Adaptive I Insert GOP length 30 frames B frames 4 frames [ref mode: each] Ref frames 4 frames, MultiRef L0:auto L1:auto AQ on (spatial, strength 1) CU max / min auto / auto VUI matrix:bt2020nc,colorprim:bt2020,transfer:smpte2084,range:limited,chromaloc:left MaxCLL/MaxFALL 0/0 Dynamic HDR10 copy dovi profile copy (unset) dovi rpu copy Others mv:Q-pel aud pic-struct buf-period repeat-headers edgelevel: error at edgelevel(yv12(16bit)): cudaErrorInvalidPitchValue: This indicates that one or more of the pitch-related parameters passed to the API call is not within the acceptable range for pitch.. Error while running filter "edgelevel". avout: failed to write header for output file: Invalid data found when processing input encoded 0 frames, 0.00 fps, 0.00 kbps, 0.00 MB encode time 0:00:03, CPULoad: 0.5%
Thank you fore reporting. Seems to be a bug of --vpp-resize ngx-vsr, I'll have it fixed in the next release.
The error does not occur if I remove the filter --vpp-resize "algo=ngx-vsr,vsr-quality=4"