The gstreamer pipeline works fine for the first time in python-opencv after each boot. But after exiting normally, the same code will report an error when trying to open gstreamer again. opencv cannot read each frame from the gstreamer pipeline. So I would like to ask if there is a bash command or python script that can free the resources occupied by gstreamer? There are similar problems in the forum, but above methods do not work for the problem I am currently facing.