Skip to content

Instantly share code, notes, and snippets.

@iamyb
Last active April 3, 2023 01:22
Show Gist options
  • Select an option

  • Save iamyb/8e03601402a44085e05fe128dd302a04 to your computer and use it in GitHub Desktop.

Select an option

Save iamyb/8e03601402a44085e05fe128dd302a04 to your computer and use it in GitHub Desktop.
Dockerfile to cross compile ffmpeg Windows build from ubuntu
FROM ubuntu:latest
RUN apt-get install -y --no-install-recommends \
lsb-release \
subversion \
ragel \
curl \
texinfo \
g++ \
ed \
bison \
flex \
cvs \
yasm \
automake \
libtool \
autoconf \
gcc cmake \
git \
make \
pkg-config \
zlib1g-dev \
unzip \
pax \
nasm \
gperf \
autogen \
bzip2 \
autoconf-archive \
p7zip-full \
meson \
clang \
python3-distutils \
python-is-python3
RUN git clone https://github.com/rdp/ffmpeg-windows-build-helpers.git && \
cd ffmpeg-windows-build-helpers && \
./cross_compile_ffmpeg.sh --compiler-flavors=win64
@iamyb
Copy link
Copy Markdown
Author

iamyb commented Apr 2, 2023

@iamyb
Copy link
Copy Markdown
Author

iamyb commented Apr 3, 2023

svn tunnel over http_proxy

step 1

update /etc/hosts

scm.orgis.org 127.0.0.1

step 2

apt install desproxy
desproxy scm.orgis.org 3690 $HTTP_PROXY 3690

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment