-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
changing h264 encoder level with openmax hangup #250
Comments
Can you produce a modifiled hello_encode example that shows the lockup? |
just change eLevel couple times 4->3->2 ,... btw |
Are H264 levels really supported ?. |
another combination that hangup constant bitrate + high profile |
@xlazom00 is this still an issue? |
Pretty sure this is fixed. @xlazom00 can you reproduce? |
I just run both of my examples and no it isn't working |
CBR and CABAC together are not supported, so that is why CBR and high profile will fail. |
Ack that it shouldn't lock up (for some reason it is retrying over and over) - IL wasn't used for about the last 3 years on production devices in favour of MMAL. I'm not going to investigate further for a fix, as it is only an issue if the client is being stupid. I believe all is good under MMAL and it will throw the correct error. |
@6by9, @popcornmix shouldn't this issue be closed? |
Add this to encoder example
and if change to unsupported h264 level openmax api hang up.
And sometimes I can't init openmax again.
OMX_VIDEO_PARAM_PROFILELEVELTYPE profileLevelType;
memset(&profileLevelType, 0, sizeof(OMX_VIDEO_PARAM_PROFILELEVELTYPE));
profileLevelType.nSize = sizeof(OMX_VIDEO_PARAM_PROFILELEVELTYPE);
profileLevelType.nVersion.nVersion = OMX_VERSION;
profileLevelType.eProfile = OMX_VIDEO_AVCProfileMain;
profileLevelType.eLevel = OMX_VIDEO_AVCLevel2;
profileLevelType.nPortIndex = 201;
r = OMX_SetParameter(ILC_GET_HANDLE(video_encode),
OMX_IndexParamVideoProfileLevelCurrent, &profileLevelType);
if (r != OMX_ErrorNone) {
printf
("%s:%d: OMX_SetParameter() for bitrate for video_encode port 201 failed with %x!\n",
FUNCTION, LINE, r);
exit(1);
}
The text was updated successfully, but these errors were encountered: