Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WARNING: erroneous pipeline: no element "x264enc"

I have been trying to get this running for the past couple of days now. I have a gstreamer command that requires x264enc. I am running a Mac I cannot seem to get x264 development libraries installed. I have installed gst-plugins-bad but that does not help. I read in forums I need to install x264 libraries first before installing gst-plugins-bad

I also tried VideoLAN's http://www.videolan.org/developers/x264.html That did not help either. I don't know what I'm missing. If it was Linux I could install the x264-devel packages. But I can't seem to find an alternative to that on Mac El Capitan.

The error I get is:

WARNING: erroneous pipeline: no element "x264enc"

Please help.

like image 307
Anil Avatar asked Feb 09 '17 18:02

Anil


3 Answers

Try: brew install gst-plugins-ugly --with-x264

like image 180
Louis Le Avatar answered Nov 10 '22 11:11

Louis Le


x264enc is in gst-plugins-ugly, have you installed that? Homebrew is a popular package manager for macOS, installing gstreamer and x264 using that may be helpful also.

like image 3
Brendan Shanks Avatar answered Nov 10 '22 13:11

Brendan Shanks


Build all module of GStreamer in follows sequence:

(1) Gstreamer-1.0
(2) gst-libav-1.8.3
(3) gst-plugins-base-1.8.3
(4) gst-plugins-good-1.8.3
(5) gst-plugins-bad-1.8.3
(6) gst-plugins-ugly-1.8.3

Set below path :

export PATH=$PATH:<install_dir_path>/bin 
                         export LD_LIBRARY_PATH=<install_dir_path>/lib
                         export GST_PLUGIN_PATH=<install_dir_path>/lib/gstreamer-1.0
like image 1
Pooja Avatar answered Nov 10 '22 12:11

Pooja