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

File Size Issues #24

Open
card0z opened this issue Jul 17, 2024 · 5 comments
Open

File Size Issues #24

card0z opened this issue Jul 17, 2024 · 5 comments

Comments

@card0z
Copy link

card0z commented Jul 17, 2024

I am having issues with the size of the output file. It is always several times smaller than the original regardless of the CRF value. Even when I set the value to 0 it produces an output file of a much smaller size

@card0z card0z changed the title Size Issues File Size Issues Jul 17, 2024
@mikigal
Copy link
Owner

mikigal commented Jul 24, 2024

It may depend on encoding of your input file.
Does output file looks better than input one?

@NiuAWSM
Copy link

NiuAWSM commented Jul 28, 2024

same problem and it looks worse.

@mikigal
Copy link
Owner

mikigal commented Aug 5, 2024

@card0z @NiuAWSM
What version of GPU drivers, encoder and file type (8 bit SDR/10 bit HDR) are you using?

I found something interesting in NVIDIA 560.70 drivers
[NVENC] Quality and bitrate settings are ignored at 10-bit encoding [4697900]
Source: https://www.nvidia.com/en-us/geforce/drivers/results/230094/

@elmaxa
Copy link

elmaxa commented Sep 10, 2024

i had the same problem with amd rx 6800 card. the issue solved once i checked the compatibility mode and the size is larger and the quality better, and yes the size changes depending on CRF value.

@WareZTv
Copy link

WareZTv commented Oct 8, 2024

I have a rx 7900xtx card. My original file is in this format: MKV, H264 1.42GB 1080p.
My upscale presets are: 4K, A+A shaders, AV1 AMF encoder, CRF 15
The output file format is: MKV, 4K, AV1 and it weighs only 233MB!
it doesn't matter what CRF i choose, the file will always weights 233MB
The same thing happens will all AMF encoders

I tryed to check the compatibility mode box and it worked slowly but perfectly fine ONLY IF I change the preset to H264 encoding. Because AV1 will not work and it will automatically convert it to H264 without telling me, which will increase considerably the bitrate. I also noticed that the cpu usage is 100% so I believe when you check the compatibility box, it forces the system to use H264(CPU) encoding regardless of what your presets are

I tryed to disable AMF encoding and I used AV1 (CPU) encoding
With the presets I used and according to my original file,
If CRF=15, the output file weights 1.13GB
If CRF=10, the output file weights 1.72GB
If CRF=5, the output file weights 3.32GB
If CRF=1, the output file weights 6.57GB
If CRF=0, the output file weights 326MB SO THIS VALUE DOESN'T WORK

Conclusion: The solution is to disable AMF encoding if you have this problem. The upscale speed will be longer but it is still acceptable. Do not check the compatibility box because you will have somes issues with AV1 (and maybe H265).
Keep in mind that CRF = 0 will not work with AV1 encoding (and maybe H265) so only use it with H264.

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

5 participants