Hello,
Release: android_p11.0.0_2.6.0
Board: i.MX8MQ based custom board
We are currently debugging the open-source video player QGroundControl( https://github.com/mavlink/qgroundcontrol ). We have switched the video decoding to hardware decoding, using the gstreamer element shown in the following figure:
Our final pipeline diagram is shown below:
Test method: We cyclically switch the resolution of the video source in the order of 1080P8M ->720P4M ->560P1M ->240P512K, and then QGroundControl.apk plays the RTSP video stream.
Problem: When frequently switching to a resolution of 240P512K, QGroundControl.apk experiences screen flickering while playing videos.
Problem analysis:
We tracked the logs of gstreamer (gst_debug_det_default_threshold (GST_LEVEL_EARNING); )When there is an error in the video playback resolution switch, the gstreamer log reports the following error:
My question:
How should I solve this problem? Should I optimize the parameters of some element? If so, which components should I optimize and what should be the direction of parameter optimization?
Look forward to your reply