I am first time compiling gstreamer from source code and I am facing difficulty in building gst-libav-1.0 in windows.
I followed link given in the gstreamer website. only creation of .cerbero.cbc is avoided (as it gives lots more problems ,but default will work it say in site) compiling gstreamer from source code-- gstreamer website
ISSUES
1) After running build command I am getting error of
"/w32pthreads.h:137:1: error: unknown type name 'INIT_ONCE'" For more detailed error see error.txt file C:\Users\Admin\AppData\Local\Programs\Python\Python36\Python.exe ./cerbero-uninstalled buildone gst-libav-1.0
2) when I set the enable nvenc , cuda ...etc its showing :
configure: WAARNING: unrecognized options: --enable-hwaccels --enable-devices --enable-nvenc --enable-omx --enable-omx-rpi --enable-cuda --enable-cuvid --enable-libnpp --enable-ffmpeg
I have added above option in file "gst-libav-1.0.recipe" at below mentioned place
class Recipe(custom.GStreamer):
name = 'gst-libav-1.0'
# TODO - check license - plugin is certainly LGPLv2+, but need to check
# the linked libs
licenses = [License.LGPLv2Plus]
config_sh = 'sh ./autogen.sh --noconfigure && ./configure'
configure_options = "--enable-lgpl --disable-examples --enable-static "
How can I enable this option in the build of libav ?
Note: I have added logs generated while building
"Python.exe ./cerbero-uninstalled
buildone gst-libav-1.0 "
a) gst-libav-1.0-compile.log gst-libav-1.0-compile.log
b) error.txt error.log