atyenoria / janus-webrtc-gateway-docker

Perfect Docker Image for Media Streaming Expert User ( https://github.com/meetecho/janus-gateway )
688 stars 200 forks source link

x264 won't compile on MacBook Pro M1 #71

Closed antoniotuzzi closed 1 year ago

antoniotuzzi commented 2 years ago

had to add
--host=arm-linux to this sequence:

    wget http://download.videolan.org/pub/x264/snapshots/x264-snapshot-$X264.tar.bz2 && \
    tar xjvf x264-snapshot-$X264.tar.bz2 && \
    cd x264-snapshot-$X264 && \
    PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" --enable-static --disable-opencl --disable-asm --host=arm-linux && \
    PATH="$HOME/bin:$PATH" make && \
    make install && \
    make distclean