python gstreamer脚本错误消息no元素"h264parse" [英] python gstreamer script error message no element "h264parse"
本文介绍了python gstreamer脚本错误消息no元素"h264parse"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在Ubuntu中运行Python脚本.该脚本使用gstreamer.我收到以下错误消息.
I am running a Python script in Ubuntu. The script uses gstreamer. I get the following error message.
错误:没有元素"h264parse"
error: no element "h264parse"
请让我知道其他信息是否有帮助.
Let me know if any other information would be helpful.
推荐答案
h264parse是"gst-plugins-bad"的一部分,如果您的脚本从gi.repository导入了Gst,则您将希望通过软件包管理器进行安装.您将需要1.0插件,否则将需要0.10.
h264parse is part of the "gst-plugins-bad" , you will want to install them through your package manager, if your script imports Gst from gi.repository you will want the 1.0 plugins, the 0.10 otherwise.
祝你有美好的一天:)
这篇关于python gstreamer脚本错误消息no元素"h264parse"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文