Last active
April 3, 2023 01:22
-
-
Save iamyb/8e03601402a44085e05fe128dd302a04 to your computer and use it in GitHub Desktop.
Dockerfile to cross compile ffmpeg Windows build from ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Author
Author
update from https://yangcha.github.io/FFmpeg-Win64/
Author
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
Can't work with docker build(below) directly on wsl2.
There need additional actions for mpg123 package, so need execute the cross_compile manually
and exeucte additional autoconf/automake commands for mpg123 package