Closed Tyde closed 5 years ago
Thanks. It looks like they took down all old versions. I'm not sure when I'll get the time to update this package to use the latest version, but I'll try to get to it soon.
(If you find another source for older binaries on Windows, please let me know)
I mirrored this single package on my server (http://www.daniel-thiem.de/ffmpeg/ffmpeg-2.2.3-win64-shared.7z). This could maybe work as a temporary solution (Just to make it buildable again and use the packages, that depend on it).
Ran into the same issue - tried solving it by adapting the build script like so:
if is_windows()
ws=string(Sys.WORD_SIZE)
provides(Binaries, URI("http://ffmpeg.zeranoe.com/builds/win"*ws*"/shared/ffmpeg-latest-win"*ws*"-shared.7z"),
libav_libs,
os = :Windows,
unpacked_dir="ffmpeg-latest-win"*ws*"-shared/bin")
end
to try and build with the latest version. Unfortunately, this led to the following error:
INFO: Downloading file http://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-latest-win64-shared.7z
INFO: Done downloading file http://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-latest-win64-shared.7z
INFO: Attempting to Create directory C:\Users\nils\.julia\v0.6\VideoIO
INFO: Directory C:\Users\nils\.julia\v0.6\VideoIO already created
===============================[ ERROR: VideoIO ]===============================
LoadError: Provider BinDeps.RemoteBinaries failed to satisfy dependency libavcodec
while loading C:\Users\nils\.julia\v0.6\VideoIO\deps\build.jl, in expression starting on line 104
I'm afraid I don't know enough about video codecs to understand whether this is a fundamental issue or one that could be solved relatively easily!?
@nilshg I think you ran into a different issue. Your issue is, that $WORD_SIZE is now removed under v0.6.0
The problem of the original issue is, that the server does not serve the old version (2.2.3) of the ffmpeg package. You changed the ffmpeg version in your code to the latest version which is apparently not compatible with the VideoIO.jl package.
I got it to run with a little "hack": I used your code and changed the version back to 2.2.3
if is_windows()
ws=string(Sys.WORD_SIZE)
provides(Binaries, URI("http://ffmpeg.zeranoe.com/builds/win"*ws*"/shared/ffmpeg-2.2.3-win"*ws*"-shared.7z"),
libav_libs,
os = :Windows,
unpacked_dir="ffmpeg-2.2.3-win"*ws*"-shared/bin")
end
What I also had to do is to put the binary file into the VideoIO/deps/downloads/ folder. Building then worked.
Closing given that both ffmpeg version and WORD_SIZE issues are fixed now
Hi I was installing PGFPlots which depends on VideoIO.jl. During the build, I got the following error:
So it seems that the ffmpeg binary is not provided anymore on this server.