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
SEncoderStatistics.uiAverageFrameQP always return 0 when get the encoder stats #3317
Comments
Export choosen pict_type and qp. NOTE: now libopenh264enc always export the the average QP with zero. And I have opened a issue for libopenh264 in cisco/openh264#3317 Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Export choosen pict_type and qp. NOTE: now libopenh264enc always export the the average QP with zero. And I have opened a issue for libopenh264 in cisco/openh264#3317 Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Export choosen pict_type and qp. NOTE: now libopenh264enc always export the the average QP with zero. And I have opened a issue for libopenh264 in cisco/openh264#3317 Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
|
any detailed case for this issue? Actually If the encoder is called properly, and encoding is just in the process, the return value should be true. |
|
I think uiAverageFrameQP means Average Frame QP base on Frame, but openh264enc just return 0 now |
|
your guess is right. But it is strange that it returns 0. Any more details on how it occurs? |
|
You can try FFmpeg + Openh264enc with the patch mypopydev/FFmpeg@9f95625 |
|
that because the uiAverageFrameQP is not assigned when GetOption ENCODER_OPTION_GET_STATISTICS. You may add one line "pStatistics->uiAverageFrameQP = pEncStatistics->uiAverageFrameQP;" as follows to solve it: case ENCODER_OPTION_GET_STATISTICS: { } |
|
Will try this patch, thx |
Export choosen pict_type and qp. NOTE: now libopenh264enc always export the the average QP with zero. And I have opened a issue for libopenh264 in cisco/openh264#3317 Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
|
@huili2 can you try Allen1207's patch for this issue |
|
I do not have code at hand, but from above code lines, I think it should be OK. |
Export choosen pict_type and qp. NOTE: now libopenh264enc always export the the average QP with zero. And I have opened a issue for libopenh264 in cisco/openh264#3317 Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
SEncoderStatistics.uiAverageFrameQP always return 0 when get the encoder stats with option ENCODER_OPTION_GET_STATISTICS
The text was updated successfully, but these errors were encountered: