Deepstream报错“Namespace GstRtspServer not available”解决方法

用Deepstream6.0 docker官方sample容器运行python app 报下列错误:

Traceback (most recent call last):

File “deepstream-database-rtsp.py”, line 28, in

gi.require_version(‘GstRtspServer’, ‘1.0’)

File “/usr/lib/python3/dist-packages/gi/init.py”, line 130, in require_version

raise ValueError(‘Namespace %s not available’ % namespace)

ValueError: Namespace GstRtspServer not available

解决方法:运行以下

sudo apt-get install gir1.2-gst-rtsp-server-1.0

 

(0)
上一篇 2022-05-06 15:08
下一篇 2022-05-06 15:11