rdp / ffmpeg-windows-build-helpers

Helper script for cross compiling some media tools for windows, like customizable ffmpeg.exe (with or without non-free components, etc), and some other bonuses like mplayer, mp4box, mxf, etc.
GNU General Public License v3.0
1.08k stars 414 forks source link

openh264 and curl ssl errors #619

Open donradzsk opened 2 years ago

donradzsk commented 2 years ago

I'm trying to build this on Windows 10 Ubuntu app and running into errors.

First, openh264 not found from win32/ffmpeg_git/ffbuild/config.log:

BEGIN /tmp/ffconf.8Qp1evsh/test.c
    1   #include <opencore-amrwb/dec_if.h>
    2   #include <stdint.h>
    3   long check_D_IF_init(void) { return (long) D_IF_init; }
    4   int main(void) { int ret = 0;
    5    ret |= ((intptr_t)check_D_IF_init) & 0xFFFF;
    6   return ret; }
END /tmp/ffconf.8Qp1evsh/test.c
/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-gcc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1 -D__printf__=__gnu_printf__ -D_WIN32_WINNT=0x0600 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -mtune=generic -O3 -DLIBTWOLAME_STATIC -DMODPLUG_STATIC -DCACA_STATIC -mtune=generic -O3 -std=c11 -fomit-frame-pointer -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -pthread -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -DLIBXML_STATIC -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libxml2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/fribidi -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/freetype2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/harfbuzz -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -DLIBXML_STATIC -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libxml2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/freetype2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/harfbuzz -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/bs2b -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -DLIBXML_STATIC -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libxml2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/freetype2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/harfbuzz -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/freetype2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/harfbuzz -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/fribidi -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/lensfun -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -c -o /tmp/ffconf.8Qp1evsh/test.o /tmp/ffconf.8Qp1evsh/test.c
/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-gcc -Wl,--large-address-aware -Wl,--nxcompat,--dynamicbase -Wl,--as-needed -Wl,--pic-executable,-e,_mainCRTStartup -o /tmp/ffconf.8Qp1evsh/test.exe /tmp/ffconf.8Qp1evsh/test.o -lopencore-amrwb -lpthread -lmpg123 -lshlwapi -lm -lharfbuzz
require_pkg_config libopenh264 openh264 wels/codec_api.h WelsGetCodecVersion
check_pkg_config libopenh264 openh264 wels/codec_api.h WelsGetCodecVersion
test_pkg_config libopenh264 openh264 wels/codec_api.h WelsGetCodecVersion
pkg-config --exists --print-errors openh264
check_func_headers wels/codec_api.h WelsGetCodecVersion -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/openh264 -L/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib -lopenh264 -lstdc++
test_ld cc -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/openh264 -L/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib -lopenh264 -lstdc++
test_cc -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/openh264 -L/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib
BEGIN /tmp/ffconf.8Qp1evsh/test.c
    1   #include <wels/codec_api.h>
    2   #include <stdint.h>
    3   long check_WelsGetCodecVersion(void) { return (long) WelsGetCodecVersion; }
    4   int main(void) { int ret = 0;
    5    ret |= ((intptr_t)check_WelsGetCodecVersion) & 0xFFFF;
    6   return ret; }
END /tmp/ffconf.8Qp1evsh/test.c
/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-gcc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1 -D__printf__=__gnu_printf__ -D_WIN32_WINNT=0x0600 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -mtune=generic -O3 -DLIBTWOLAME_STATIC -DMODPLUG_STATIC -DCACA_STATIC -mtune=generic -O3 -std=c11 -fomit-frame-pointer -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -pthread -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -DLIBXML_STATIC -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libxml2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/fribidi -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/freetype2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/harfbuzz -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -DLIBXML_STATIC -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libxml2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/freetype2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/harfbuzz -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/bs2b -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -DLIBXML_STATIC -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libxml2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/freetype2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/harfbuzz -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/freetype2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/harfbuzz -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/fribidi -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/lensfun -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/openh264 -L/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib -c -o /tmp/ffconf.8Qp1evsh/test.o /tmp/ffconf.8Qp1evsh/test.c
/tmp/ffconf.8Qp1evsh/test.c:1:10: fatal error: wels/codec_api.h: No such file or directory
    1 | #include <wels/codec_api.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: openh264 not found using pkg-config

Then I disabled libopenh264 and now I'm getting curl SSL certificate error:

downloading https://github.com/madler/zlib/archive/v1.2.11.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
failure, exiting: unable to download https://github.com/madler/zlib/archive/v1.2.11.tar.gz

ffmpeg_git wasn't created in the win64 folder so I can't get a config.log there.

rdp commented 2 years ago

self signed? odd...proxy? Still failing?

On Fri, Feb 25, 2022 at 5:19 PM donradzsk @.***> wrote:

I'm trying to build this on Windows 10 Ubuntu app and running into errors.

First, openh264 not found from win32/ffmpeg_git/ffbuild/config.log:

BEGIN /tmp/ffconf.8Qp1evsh/test.c 1 #include <opencore-amrwb/dec_if.h> 2 #include 3 long check_D_IF_init(void) { return (long) D_IF_init; } 4 int main(void) { int ret = 0; 5 ret |= ((intptr_t)check_D_IF_init) & 0xFFFF; 6 return ret; } END /tmp/ffconf.8Qp1evsh/test.c /home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-gcc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -USTRICT_ANSI -DUSE_MINGW_ANSI_STDIO=1 -Dprintf=gnu_printf -D_WIN32_WINNT=0x0600 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -mtune=generic -O3 -DLIBTWOLAME_STATIC -DMODPLUG_STATIC -DCACA_STATIC -mtune=generic -O3 -std=c11 -fomit-frame-pointer -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -pthread -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -DLIBXML_STATIC -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libxml2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/fribidi -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/freetype2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/harfbuzz -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -DLIBXML_STATIC -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libxml2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/freetype2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/harfbuzz -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/bs2b -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -DLIBXML_STATIC -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libxml2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/freetype2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/harfbuzz -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/freetype2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/harfbuzz -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/fribidi -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/lensfun -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -c -o /tmp/ffconf.8Qp1evsh/test.o /tmp/ffconf.8Qp1evsh/test.c /home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-gcc -Wl,--large-address-aware -Wl,--nxcompat,--dynamicbase -Wl,--as-needed -Wl,--pic-executable,-e,_mainCRTStartup -o /tmp/ffconf.8Qp1evsh/test.exe /tmp/ffconf.8Qp1evsh/test.o -lopencore-amrwb -lpthread -lmpg123 -lshlwapi -lm -lharfbuzz require_pkg_config libopenh264 openh264 wels/codec_api.h WelsGetCodecVersion check_pkg_config libopenh264 openh264 wels/codec_api.h WelsGetCodecVersion test_pkg_config libopenh264 openh264 wels/codec_api.h WelsGetCodecVersion pkg-config --exists --print-errors openh264 check_func_headers wels/codec_api.h WelsGetCodecVersion -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/openh264 -L/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib -lopenh264 -lstdc++ test_ld cc -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/openh264 -L/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib -lopenh264 -lstdc++ test_cc -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/openh264 -L/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib BEGIN /tmp/ffconf.8Qp1evsh/test.c 1 #include <wels/codec_api.h> 2 #include 3 long check_WelsGetCodecVersion(void) { return (long) WelsGetCodecVersion; } 4 int main(void) { int ret = 0; 5 ret |= ((intptr_t)check_WelsGetCodecVersion) & 0xFFFF; 6 return ret; } END /tmp/ffconf.8Qp1evsh/test.c /home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-gcc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -USTRICT_ANSI -DUSE_MINGW_ANSI_STDIO=1 -Dprintf=__gnu_printf__ -D_WIN32_WINNT=0x0600 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -mtune=generic -O3 -DLIBTWOLAME_STATIC -DMODPLUG_STATIC -DCACA_STATIC -mtune=generic -O3 -std=c11 -fomit-frame-pointer -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -pthread -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -DLIBXML_STATIC -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libxml2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/fribidi -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/freetype2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/harfbuzz -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -DLIBXML_STATIC -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libxml2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/freetype2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/harfbuzz -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/bs2b -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -DLIBXML_STATIC -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libxml2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/freetype2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/harfbuzz -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/freetype2 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/libpng16 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/harfbuzz -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/fribidi -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -pthread -mms-bitfields -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/lensfun -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/glib-2.0 -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/glib-2.0/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include -I/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/include/openh264 -L/home/joe/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib -c -o /tmp/ffconf.8Qp1evsh/test.o /tmp/ffconf.8Qp1evsh/test.c /tmp/ffconf.8Qp1evsh/test.c:1:10: fatal error: wels/codec_api.h: No such file or directory 1 | #include <wels/codec_api.h> | ^~~~~~ compilation terminated. ERROR: openh264 not found using pkg-config

Then I disabled libopenh264 and now I'm getting curl SSL certificate error:

downloading https://github.com/madler/zlib/archive/v1.2.11.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (60) SSL certificate problem: self signed certificate in certificate chain More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. failure, exiting: unable to download https://github.com/madler/zlib/archive/v1.2.11.tar.gz

ffmpeg_git wasn't created in the win64 folder so I can't get a config.log there.

— Reply to this email directly, view it on GitHub https://github.com/rdp/ffmpeg-windows-build-helpers/issues/619, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADBUGRICZDEG5XJRMWHNDU5AMCTANCNFSM5PLTJJ6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

donradzsk commented 2 years ago

Self signed? I don't understand. I just installed the Ubuntu app and followed the instructions on the main page (I'm new to Linux). It did say to install some other files with sudo and I did those. Then it ran for a while and stopped after the curl error. Now I'm stuck. How to get rid of the wrong certificate and get the right one? And how to get the file or directory that's missing for the openh264 error?

Krautmaster commented 2 years ago

same here: ./cross_compile_ffmpeg.sh --git-get-latest=y --disable-nonfree=n --compiler-flavors=win64 --sandbox-ok=y --gcc-cpu-count=4 --prefer-stable=n --cflags="-march=skylake -O2 -pipe"

image

donradzsk commented 2 years ago

It turned out that Kaspersky was causing the certificate error so I turned it off. The openh264 error is still there though.

rdp commented 2 years ago

OK pull for h264 :)

On Sun, Feb 27, 2022 at 1:27 AM donradzsk @.***> wrote:

It turned out that Kaspersky was causing the certificate error so I turned it off. The openh264 error is still there though.

— Reply to this email directly, view it on GitHub https://github.com/rdp/ffmpeg-windows-build-helpers/issues/619#issuecomment-1053356303, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADBUFN32NJGKTOI62KIVTU5HN75ANCNFSM5PLTJJ6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

AnimMouse commented 2 years ago

cf519ad7b40353dc8f2f573b28c8434f4596a5c9

donradzsk commented 2 years ago

Had some errors about svn.tmp being locked then I deleted the folder and it built error-free after that.

Is there a way to hide these entries from ffmpeg -buildconf?

--cross-prefix=/home/xxxxxxxxx
--prefix=/home/xxxxxxxx

If not, this issue can be closed. @rdp

donradzsk commented 2 years ago

@rdp can those entries be hidden?

rdp commented 2 years ago

probably, I'd consider that a different issue?

On Wed, Mar 16, 2022 at 5:07 AM donradzsk @.***> wrote:

Had some errors about svn.tmp being locked then I deleted the folder and it built error-free after that.

Is there a way to hide these entries from ffmpeg -buildconf?

--cross-prefix=/home/xxxxxxxxx --prefix=/home/xxxxxxxx

If not, this issue can be closed.

— Reply to this email directly, view it on GitHub https://github.com/rdp/ffmpeg-windows-build-helpers/issues/619#issuecomment-1069004746, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADBUD2CYPJGMVCQGSUB7DVAG6GXANCNFSM5PLTJJ6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

rdp commented 2 years ago

Probably, I've never tried it...

On Sun, Mar 20, 2022 at 3:48 AM donradzsk @.***> wrote:

@rdp https://github.com/rdp can those entries be hidden?

— Reply to this email directly, view it on GitHub https://github.com/rdp/ffmpeg-windows-build-helpers/issues/619#issuecomment-1073213248, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADBUBJCI2GSR6IYQWRWFDVA3YALANCNFSM5PLTJJ6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>