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.
Try: brew install gst-plugins-ugly --with-x264
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With