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.

user1218122
  • 80
  • 2
  • 10

1 Answers1

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

Mathieu_Du
  • 787
  • 4
  • 10
  • 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? – user1218122 Nov 04 '13 at 01:38
  • 1
    apt-cache search gst-plugins-bad should show you available packages. You can then apt-get install the relevant one. – Mathieu_Du Nov 04 '13 at 09:06
  • apt-cache search gst-plugins-bad just returns to the command prompt without any information – user1218122 Nov 04 '13 at 22:37
  • 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 – user1218122 Nov 04 '13 at 23:43
  • part of gst-plugins-ffmpeg (now called gst-libav) – Mathieu_Du Nov 05 '13 at 12:14