-
Notifications
You must be signed in to change notification settings - Fork 114
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
Problems regarding ssim/psnr output #191
Comments
So far no problem here...
Output method is unchanged, ssim/psnr uses the same output method. There was ssim/psnr on the --log output of NVEncC, or redirected stderr output in command prompt.
Also, I have a .NET plugin which captures and shows stderr of the NVEncC64, but I was able to get the results. |
Does ssim/psnr work for you if you feed NVEncC through a (for example ffmpeg) pipe? |
No problem here, at least on command prompt...
|
Okay, this is getting stranger and stranger: using:
I got:
removing '--cuda-schedule' I got:
rerunning the initial call:
I got
-> No clue why, but: |
Hello, Back to the topic. |
Removing the lookahead and three times calling,....
ssim/psnr values are not shown once,.. :/ |
using:
I get:
so seems like the psnr/ssim calculation is done, but no output is showing,... |
Thanks for the log, I might have missed the synchronization of the ssim calculation thread. I made a new build with improved synchronization between main thread and ssim calc thread, would you please have a try? The order of the output should be always the same on this build as below.
|
Hmm,... something is still not okay.
the call is stuck
waited a minute, then I aborted.
and then nothing happens. |
Thanks for testing, please give a try with the new test build, should fix the lock you have faced at the end of encoding. |
That's better:
strange thing are the two 'inf' values. |
"inf" shows there is no difference between original and encoded video. I think it's because the input file 5000frames.mp4 has almost no chroma in there. |
you are probably right, I tested with a short sample:
|
Thanks for checking, I'll add this fix in the next release. |
Happy to help, especially since that fixed not only the command line but also the problem me not capturing the output in Qt. :) |
contextをまたいだフレームのやり取りで不安定になっている可能性があるので。
When using --ssim / --psnr inside the Windows command prompt I get something like:
at the end of the encode, but when calling NVEncC through Qt and capturing the standard error output of the NVEncC process I don't get the ssim/psnr lines, all other outputs are there.
Also those lines also do not show up when piping to NVEncC (even in the Windows command prompt).
Did you change the output method somehow or is the SSIM/PSNR output by another process?
The text was updated successfully, but these errors were encountered: