m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.52k stars 264 forks source link

Request: [build x264] #2394

Open CreaLogiciel opened 1 year ago

CreaLogiciel commented 1 year ago

Hello, I would like to compile x264 directly. I put the source folder from Git. I would like to compile to integrate (libswscale 7.2.100) (libavformat 60.4.100) (ffmpegsource 3.0.1.0) (lsmash 2.16.1) as does the auto script from the 'media-autobuild_suite.bat'.

I use this : ./configure --build=$MINGW_CHOST --host=$MINGW_CHOST --prefix=$LOCALDESTDIR --bindir=$LOCALDESTDIR/bin-video --enable-static --enable-pic --extra-cflags="-I/c/media-autobuild_suite-master/local64/include" --extra-ldflags=-L/c/media-autobuild_suite-master/local64/lib

But it does not work : Unknown option --build=x86_64-w64-mingw32, ignored platform: X86_64 byte order: little-endian system: WINDOWS cli: yes libx264: internal shared: no static: yes bashcompletion: no asm: yes interlaced: yes avs: yes lavf: no ffms: no mp4: no gpl: yes thread: win32 opencl: yes filters: resize crop select_every lto: no debug: no gprof: no strip: no PIC: yes bit depth: all chroma format: all

Thank you for telling me how to do it. And congratulations again for your software.