问题
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