Closed AYColumbia closed 3 months ago
The encoder started failing when using --dhdr10-info copy recently
You mean after update of encoder? (older version run fine?)
Unfortunately, I think it might be difficult to solve, as I don't have that kind of files which fails and cannot reproduce the issue. Further more, --dhdr10-info copy
does not support Dolby Vision.
The encoder started failing when using --dhdr10-info copy recently
You mean after update of encoder? (older version run fine?)
Unfortunately, I think it might be difficult to solve, as I don't have that kind of files which fails and cannot reproduce the issue. Further more,
--dhdr10-info copy
does not support Dolby Vision.
Yes, it used to work but am not sure when it broke as I haven't had to encode anything for a while and there have been several updates. I'll try with older versions and get back to you. It may be a few days though.
I can get you a small sample if I can get it to you privately so let me know the best way to do that please. Also, I don't care about DV as I'm only interested in keeping the HDR10/HDR10+ metadata so if your copy process doesn't do DV, I'm fine with that. :) Thank you.
I tried with versions 7.49 and all 7.5x and all fail with the same errors.
Thank you for the sample file send by e-mail.
I was able to find out what was happening at avcuvid: failed to get header.
. I will check further to fix this.
Thank you for the sample file send by e-mail.
I was able to find out what was happening at
avcuvid: failed to get header.
. I will check further to fix this.
Thanks a lot. Appreciate your efforts.
Thank you for the sample file, I was able to fix the issue. Fix will be included in the next release.
Although I haven't got time to create a new release now, it is possible to have a test with the test build below. https://nightly.link/rigaya/NVEnc/actions/runs/10162329267/NVEncC_release_r2947_x64.zip
That was fast. :) Thank you. I should have time tonight to test it. Looking forward to the next release. Thanks again
I didn't get a chance to test it yesterday but did today. Worked great! :) I did see the warning at the start of encoding:
avcuvid: Failed to get header from extradata: 0 byte, retry checking first packet.
avcuvid: Got header from first packet: 101 byte.
Max B frames are 0 frames.
NVEncC (x64) 7.57 (r2947) by rigaya, Jul 30 2024 12:38:10 (VC 1929/Win)
Thank you very much. I didn't close the ticket as I figured you or I can after the fix is released.
Thank you for confirming, I'll close the issue as the fix has been release with NVEnc 7.58.
The encoder started failing when using
--dhdr10-info copy
recently. After that, I used the HDR tool to extract the HDR metadata info and using it does work, i.e.,--dhdr10-info "md.json"
.Here's the version I'm using:
This is a sample of my typical encoding command. I did try encoding with both --avhw and --avsw and the results are below as both failed.
using --avhw
using --avsw
Here's the mediainfo tool's Video info from the source in case it's needed:
Please let me know if there is any other info you need to help diagnose this. Thanks a lot.