This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear all,
I try to encode a stereo video with h264 on a DM8148 (SDK 5.05.01.04) .
I get an OMX_ErrorBadParameter error when I set the static encoder parameter als following:
staticParam.videoStaticParams.h264EncStaticParams.videnc2Params.encodingPreset = XDM_USER_DEFINED; staticParam.videoStaticParams.h264EncStaticParams.videnc2Params.rateControlPreset = IVIDEO_STORAGE; staticParam.videoStaticParams.h264EncStaticParams.videnc2Params.profile = IH264_HIGH_PROFILE; staticParam.videoStaticParams.h264EncStaticParams.videnc2Params.level = IH264_LEVEL_42; staticParam.videoStaticParams.h264EncStaticParams.videnc2Params.inputContentType = IVIDEO_INTERLACED_FRAME; staticParam.videoStaticParams.h264EncStaticParams.interCodingParams.interCodingPreset = IH264_INTERCODING_MED_SPEED_HIGH_QUALITY; staticParam.videoStaticParams.h264EncStaticParams.stereoInfoParams.stereoInfoPreset = IH264_STEREOINFO_ENABLE_DEFAULT;
Also when I remove IVIDEO_INTERLACED_FRAME I get the same error.
If I remove steroInfoPreset I get again the same error if IVIDEO_INTERLACED_FRAME is set.
Only without IVIDEO_INTERLACED_FRAME and IVIDEO_INTERLACED_FRAME it works.
Is it possible to do stereo encoding and if yes are there any additional parameter settings necessary (maybe also on the ports)?
Thanks,
Guenter
Hello,
Could you give more details? What is your input video ?
Best regards,
Margarita
Hello,
input is 1920x1080p @ 60Hz.
The application is based on capture_encode example.
I use for the encoder only dynamic/static parameters. All other OMX encoder parameter are removed.
Thanks in advance
Guenter