-
Notifications
You must be signed in to change notification settings - Fork 113
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
H264 and --gop-len(?) #449
Comments
I think there is no problem with the input, but something related to the encoder. Although, it is difficult to find out the cause, I recommend not using "--preset p7" and instead use at least default preset (or higher), there seem to be no problem with that. |
It is not surprising that v4.29 behaves different. Preset configs has been changed from v5.10 (as it introduced NVENC API v10.0 which changes preset configs and adds P1-P7). I think using P4(default) preset is the solution, or if you can go with HEVC if possible, it seems to have no problem here. x64\NVEncC64.exe -i imagesource.avs -o F:\temp\test.mp4 -c hevc --lossless --profile main444 --preset P7 --gop-len 30 |
I see. If you want to go with P1, then adding |
Not asking for immediate attention, just wondering if its able to be fixed by you, and if possible would you? I know h264 is on its way out, so it might get low or no priority. |
As there is a case with no problem depending on the parameter, it can be said that there is no problem with the app sending frames to the encoder. As we won’t be able to go into the internal of the driver,( and I don’t want to do that), the way to solve this will be to change the parameters, which we have been discussing previously. I think adding --bref-mode each can easily solve the problem which I think is a good way to solve. I’ll think of making --bref-mode each as default when it is supported by the GPU and B frame is enabled. |
Thank you for reporting this issue. NVEnc 7.14 enables --bref-mode by default when preset slower than default is selected. I'll close this issue, as now we will be able to avoid this issue by default. |
boy does --bref-mode each have a performance cost, but it saves space vs --bframes 0 |
using --codec h264 I'm having concerns about --gop-len , 1) create test video.. RGB Color Cube (virtualdub2) and now 2) looping frames using avisynth+, they'll sometimes leave behind remnants of previous frames.
I've provided a zip with the test pngs you made months ago and an avisynth+ file that includes nvencc64 commands sent commented out.
test.zip
if I use --preset p1 the higher --gop-len numbers don't appear to be affected if that narrows the list of possible issues.
I saw this show up on W7 AMD FX6300>X960, and now W10 INTEL 12400&RTX3070 platforms
The text was updated successfully, but these errors were encountered: