rigaya / NVEnc

NVENCによる高速エンコードの性能実験
https://rigaya34589.blog.fc2.com/blog-category-17.html
Other
1.03k stars 108 forks source link

Switch output-depth broken. #566

Closed bitspyer closed 3 months ago

bitspyer commented 4 months ago

It seems, that Versions greater 7.41 have broken output when option

--output-depth 10

is set. correct encoding (version 7.41) ver741

failed: (Version 7.44)

ver744

rigaya commented 4 months ago

Would you please let me know the exact option used and also the log, as I'm not being able to reproduce the issue by adding --output-depth 10?

I suppose it is related with the input format or combination of options.

bitspyer commented 4 months ago

I did some tests... it's not output-depth 10 alone... It's in combination with the crop filter... Fast check: NVEncC64.exe --avhw --preset quality --sar 1:1 --output-depth 10 --qvbr 18 --codec hevc Everything is OK

NVEncC64.exe --avhw --preset quality --sar 1:1 --output-depth 10 --qvbr 18 --codec hevc --crop 0,120,0,120

you got the Color Error

I used this Example (https://mega.nz/file/Sfw1hDpK#ErxCOpQDVjcI1gq6ZbX3vIfdtXZompkFe0jq47EhR2o) Linked from here ( https://kodi.wiki/view/Samples , / Ultra HD Formats, Sample No. 4)

babiulep commented 4 months ago

I've got the same issue when trying to deinterlace: --vpp-deinterlace adaptive. When using --crop 0,180,0,180 it goes wrong. Without it works.

FYI: the last version working (for me) was 7.42beta3 (r2710)

rigaya commented 4 months ago

Thank you for the details, now I know that actually --crop is the cause of the bug.

I'll check out and will fix in next release.

rigaya commented 3 months ago

NVEnc 7.45 should have fixed --crop issue from 7.42, please have try.