Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black squeres after hevc_nvenc #72

Open
SlimRG opened this issue Feb 1, 2025 · 5 comments
Open

Black squeres after hevc_nvenc #72

SlimRG opened this issue Feb 1, 2025 · 5 comments

Comments

@SlimRG
Copy link

SlimRG commented Feb 1, 2025

Set more bitrate and lossless options for this coder
I have black squeres across video

@TNTwise
Copy link
Owner

TNTwise commented Feb 1, 2025

Seems like an encoder issue, does CPU x265 work?

@SlimRG
Copy link
Author

SlimRG commented Feb 1, 2025

CPU works fine (no artifacts) but too slow
Nvidia RTX 4090 in loseless mode ffmpeg works fine too, but I see no loseless mode (-preset p7 -qp 0) in your app(

@SlimRG
Copy link
Author

SlimRG commented Feb 1, 2025

slow mode is DEPRECATED in ffmpeg as I understand... (use p5 (slow) or p7 (loseless) + -multipass 2)
-cq:v in some videos has bug in nvenc that needs -minrate to be set, or bitrate goes to 2M and this can cause artifacs

I'm not a guru of ffmeg, so maybe I made a mistake in my thinking...

@TNTwise
Copy link
Owner

TNTwise commented Feb 1, 2025

Nvenc 265 slow works fine for me, but I will look into it on the Windows build.

@SlimRG
Copy link
Author

SlimRG commented Feb 1, 2025

I tried to upscale old serial Death Note :)
System Information:

OS: Windows 10 AMD64
CPU: Intel(R) Xeon(R) CPU E5-2696 v3 @ 2.30GHz
RAM: 447.90 GB
Available Disk Space: 1572.69GB

Software Information:

REAL Video Enhancer Version: 2.2.0
Available Backends: ['tensorrt', 'pytorch (cuda)', 'ncnn']
TensorRT Version: 10.6.0
PyTorch Version: 2.6.0.dev20241214+cu126
PyTorch GPU 0: NVIDIA GeForce RTX 4090
NCNN Version: 20220729
NCNN GPU 0: NVIDIA GeForce RTX 4090
Half precision support: True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants