Cap*_*ags 4 python amazon-ec2 gstreamer gobject-introspection
我目前正在尝试让一个简单的 GstRtspServer 程序在外部 amazon linux EC2 服务器上工作,但我在让它实际运行时遇到了严重的问题。无论我做什么,当我尝试运行它时,我总是遇到同样的错误,即使程序仅减少到
import gi
gi.require_version('Gst','1.0')
from gi.repository import GLib, Gst, GstRtspServer
Run Code Online (Sandbox Code Playgroud)
我安装了 pygobject,安装了 gstreamer,安装了 gobject-introspection,任何谷歌搜索结果都毫无帮助。有谁知道我可能会错过什么?
具体来说,在 Ubuntu 16.04 上,必须安装包gir1.2-gst-rtsp-server-1.0,其中包含自省类型库。
sudo apt install gir1.2-gst-rtsp-server-1.0
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4102 次 |
| 最近记录: |