After upgrading deepstream from 4 to 5, the video surface turned to red

Hi,
Please try

uridecodebin -> nvvideoconvert -> videoconvert-> xvimagesink

Probably the issue is specific to qtquick2videosink.