The problem of Imx8MQ using gstreamer hardware decoding to switch resolution and flicker screen

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The problem of Imx8MQ using gstreamer hardware decoding to switch resolution and flicker screen

282 Views
pyh0603
Contributor III

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:

1.png

Our final pipeline diagram is shown below:

harddecode.png

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:

2.png

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?

pyh0603_0-1747103892867.png

 

Look forward to your reply

0 Kudos
Reply
1 Reply

204 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @pyh0603 

Sorry to reply late. Did you try the latest version code?

Could your please share your test process? Include your test code,  I will try to test it on my site.

B.R

0 Kudos
Reply