python gstreamer script error message no element “h264parse”

徘徊边缘 提交于 2019-12-13 04:50:54

问题


I am running a Python script in Ubuntu. The script uses gstreamer. I get the following error message.

error: no element "h264parse"

Let me know if any other information would be helpful.


回答1:


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.

Have a nice day :)



来源:https://stackoverflow.com/questions/19757936/python-gstreamer-script-error-message-no-element-h264parse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!