0

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
  • Could you show us some code? Commented Nov 3, 2013 at 20:52

1 Answer 1

2

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 :)

Sign up to request clarification or add additional context in comments.

5 Comments

Thanks Mathieu, I'm new to Unbuntu and Python so I'm not sure how to install gst-plugins-bad. I tried sudo apt-get install gst-plugins-bad and I also tried adding python-pip to the end of the same command line. Or, do I download the zip file from git and then what it the command for installing from the downloaded files/folder?
apt-cache search gst-plugins-bad should show you available packages. You can then apt-get install the relevant one.
apt-cache search gst-plugins-bad just returns to the command prompt without any information
ok, I figured that out, I think I got gst-plugins-bad installed but now I am getting the error message: no element ffdec_h264
part of gst-plugins-ffmpeg (now called gst-libav)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.