Open jpillora opened 4 years ago
same here failed to download last_x264.tar.bz2 when run build.sh
--2020-07-07 03:12:07-- http://download.videolan.org/pub/videolan/x264/snapshots/last_x264.tar.bz2
Resolving download.videolan.org (download.videolan.org)... 213.36.253.2, 2a01:e0d:1:3:58bf:fa02:c0de:5
Connecting to download.videolan.org (download.videolan.org)|213.36.253.2|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-07-07 03:12:08 ERROR 404: Not Found.
Download failed.
--2020-07-07 03:12:08-- http://mirror2.openwrt.org/sources/last_x264.tar.bz2
Resolving mirror2.openwrt.org (mirror2.openwrt.org)... 46.4.11.11, 2a01:4f8:221:3d45::2
Connecting to mirror2.openwrt.org (mirror2.openwrt.org)|46.4.11.11|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-07-07 03:12:09 ERROR 404: Not Found.
Download failed.
--2020-07-07 03:12:09-- http://downloads.openwrt.org/sources/last_x264.tar.bz2
Resolving downloads.openwrt.org (downloads.openwrt.org)... 176.9.48.73, 2a01:4f8:150:6449::2
Connecting to downloads.openwrt.org (downloads.openwrt.org)|176.9.48.73|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://downloads.openwrt.org/sources/last_x264.tar.bz2 [following]
--2020-07-07 03:12:09-- https://downloads.openwrt.org/sources/last_x264.tar.bz2
Connecting to downloads.openwrt.org (downloads.openwrt.org)|176.9.48.73|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sources.openwrt.org/last_x264.tar.bz2 [following]
--2020-07-07 03:12:10-- https://sources.openwrt.org/last_x264.tar.bz2
Resolving sources.openwrt.org (sources.openwrt.org)... 148.251.151.136, 2a01:4f8:210:5087::2
Connecting to sources.openwrt.org (sources.openwrt.org)|148.251.151.136|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-07-07 03:12:13 ERROR 404: Not Found.
Download failed.
No more mirrors to try - giving up.
Same here.
Weirdly, it tries both x264 and x265:
$ cd /ffmpeg-static/build
$ tar --skip-old-files -xzvf /ffmpeg-static/dl/x264-stable.tar.gz
--2020-09-02 07:09:10-- https://bitbucket.org/multicoreware/x265/downloads/x265_2.7.tar.gz
Resolving bitbucket.org (bitbucket.org)... 18.205.93.2, 18.205.93.0, 18.205.93.1, ...
Connecting to bitbucket.org (bitbucket.org)|18.205.93.2|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2020-09-02 07:09:10 ERROR 403: Forbidden.
Download failed.
--2020-09-02 07:09:10-- http://mirror2.openwrt.org/sources/x265_2.7.tar.gz
Resolving mirror2.openwrt.org (mirror2.openwrt.org)... 46.4.11.11, 2a01:4f8:221:3d45::2
Connecting to mirror2.openwrt.org (mirror2.openwrt.org)|46.4.11.11|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-09-02 07:09:10 ERROR 404: Not Found.
Download failed.
--2020-09-02 07:09:10-- http://downloads.openwrt.org/sources/x265_2.7.tar.gz
Resolving downloads.openwrt.org (downloads.openwrt.org)... 176.9.48.73, 2a01:4f8:150:6449::2
Connecting to downloads.openwrt.org (downloads.openwrt.org)|176.9.48.73|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://downloads.openwrt.org/sources/x265_2.7.tar.gz [following]
--2020-09-02 07:09:11-- https://downloads.openwrt.org/sources/x265_2.7.tar.gz
Connecting to downloads.openwrt.org (downloads.openwrt.org)|176.9.48.73|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sources.openwrt.org/x265_2.7.tar.gz [following]
--2020-09-02 07:09:11-- https://sources.openwrt.org/x265_2.7.tar.gz
Resolving sources.openwrt.org (sources.openwrt.org)... 148.251.151.136, 2a01:4f8:210:5087::2
Connecting to sources.openwrt.org (sources.openwrt.org)|148.251.151.136|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-09-02 07:09:11 ERROR 404: Not Found.
Download failed.
No more mirrors to try - giving up.
Seems I fixed the problem by replacing the source mirrors:
Remove this:
#download \
# "x264-stable.tar.gz" \
# "" \
# "nil" \
# "https://code.videolan.org/videolan/x264/-/archive/stable/"
#download \
# "x265_2.7.tar.gz" \
# "" \
# "b0d7d20da2a418fa4f53a559946ea079" \
# "https://bitbucket.org/multicoreware/x265/downloads/"
And add this instead:
download \
"master.tar.gz" \
"" \
"nil" \
"https://github.com/mirror/x264/archive/"
download \
"x265_3.2.tar.gz" \
"" \
"nil" \
"http://ftp.videolan.org/pub/videolan/x265/"
On my machine itself with recent Ubuntu and gcc, now I do have a NASM compilation error from another issue #90 ;)
BUT, it builds in the supplied docker container without any problems with this mirrors!