Closed MemeTao closed 1 month ago
~~So... Infostealer is being spread via GitHub? DO NOT DOWNLOAD THIS "fix.zip"! (Or at least do not run executable inside archive)~~
UPD: GitHub acted and deleted these messages
yes I was tricked by this too
Well, sorry, but before you sent answer i already reported you as hacked account spreading malware.
Anyways, back to topic. It seems like VCEEnc developer rigaya does it this way, but similar fragments with slightly different last line encounters several times, so idk which one is one that is closest to your case.
uint32_t value32 = 0;
if (buffer->GetProperty(AMF_PARAM_STATISTIC_AVERAGE_QP(m_encCodec), &value32) == AMF_OK) {
output->setAvgQP(value32);
But i am not coder, so i just found snippet that seems to be helpful to your question.
AMF_VIDEO_ENCODER_STATISTICS_FEEDBACK needs to be set on input surface every time, not on encoder.
AMF_VIDEO_ENCODER_STATISTICS_FEEDBACK needs to be set on input surface every time, not on encoder.
thanks!
Can i get QP directly from amf api ?
Currently i used following code but not works: