Plots broken on Windows bc FFMPEG broken bc avcodec-58.dll cant be loaded

Hello, since me last “up” one hour ago, Plots doesnot work anymore (on my Windows 10 machine) because FFMPEG seems broken

(on a fresh (empty) .julia)
 davidj@vivojdw ~$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.5.2 (2020-09-23)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.5) pkg> st
Status `C:\Users\davidj\.julia\environments\v1.5\Project.toml` (empty project)

(@v1.5) pkg> add Plots
 Installing known registries into `C:\Users\davidj\.julia`
      Added registry `General` to `C:\Users\davidj\.julia\registries\General`
  Resolving package versions...
  Installed Ogg_jll ───────────────────── v1.3.4+2
...
  Installed Plots ─────────────────────── v1.6.10
...
  Installed FFMPEG_jll ────────────────── v4.3.1+3
...
  Installed FFMPEG ────────────────────── v0.4.0
...
  [4ec0a83e] + Unicode
   Building GR → `C:\Users\davidj\.julia\packages\GR\BwGt2\deps\build.log`

julia> using Plots
[ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
ERROR: LoadError: InitError: could not load library "C:\Users\davidj\.julia\artifacts\7350a6401f1c0d38cc3518193083bc4f83
adfe99\bin/avcodec-58.dll"
The specified module could not be found.
Stacktrace:
 [1] dlopen(::String, ::UInt32; throw_error::Bool) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5
\Libdl\src\Libdl.jl:109
 [2] dlopen(::String, ::UInt32) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Libdl\src\Libdl.jl
:109
 [3] macro expansion at C:\Users\davidj\.julia\packages\JLLWrappers\m1BKg\src\products\library_generators.jl:61 [inlined
]
 [4] __init__() at C:\Users\davidj\.julia\packages\FFMPEG_jll\7oXwC\src\wrappers\x86_64-w64-mingw32.jl:41
 [5] _include_from_serialized(::String, ::Array{Any,1}) at .\loading.jl:697
 [6] _require_from_serialized(::String) at .\loading.jl:749
 [7] _require(::Base.PkgId) at .\loading.jl:1040
 [8] require(::Base.PkgId) at .\loading.jl:928
 [9] require(::Module, ::Symbol) at .\loading.jl:923
 [10] include(::Function, ::Module, ::String) at .\Base.jl:380
 [11] include(::Module, ::String) at .\Base.jl:368
 [12] top-level scope at none:2
 [13] eval at .\boot.jl:331 [inlined]
 [14] eval(::Expr) at .\client.jl:467
 [15] top-level scope at .\none:3
during initialization of module FFMPEG_jll
in expression starting at C:\Users\davidj\.julia\packages\FFMPEG\aazvf\src\FFMPEG.jl:3
ERROR: LoadError: Failed to precompile FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a] to C:\Users\davidj\.julia\compiled\
v1.5\FFMPEG\TGvga_JXyIH.ji.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
 [3] _require(::Base.PkgId) at .\loading.jl:1030
 [4] require(::Base.PkgId) at .\loading.jl:928
 [5] require(::Module, ::Symbol) at .\loading.jl:923
 [6] include(::Function, ::Module, ::String) at .\Base.jl:380
 [7] include(::Module, ::String) at .\Base.jl:368
 [8] top-level scope at none:2
 [9] eval at .\boot.jl:331 [inlined]
 [10] eval(::Expr) at .\client.jl:467
 [11] top-level scope at .\none:3
in expression starting at C:\Users\davidj\.julia\packages\Plots\D7Ica\src\Plots.jl:15
ERROR: Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to C:\Users\davidj\.julia\compiled\v1.5\Plots\l
d3vC_JXyIH.ji.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
 [3] _require(::Base.PkgId) at .\loading.jl:1030
 [4] require(::Base.PkgId) at .\loading.jl:928
 [5] require(::Module, ::Symbol) at .\loading.jl:923

julia>

But the artifact is there, and also the file “avcodec-58.dll” - it just seems not to be recognized as a dll file ?

davidj@vivojdw ~/.julia/artifacts/7350a6401f1c0d38cc3518193083bc4f83adfe99/bin$ julia -q
julia> using Libdl

julia> isfile("avcodec-58.dll")
true

julia> dlopen("avcodec-58.dll")
ERROR: could not load library "avcodec-58.dll"
The specified module could not be found.
Stacktrace:
 [1] dlopen(::String, ::UInt32; throw_error::Bool) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5
\Libdl\src\Libdl.jl:109
 [2] dlopen at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Libdl\src\Libdl.jl:109 [inlined] (repe
ats 2 times)
 [3] top-level scope at REPL[3]:1

julia> isfile("avutil-56.dll") # just to check another dll
true

julia> dlopen("avutil-56.dll") # just to check another dll
Ptr{Nothing} @0x00007ffbf9e10000

julia>

What can I do to have Plots working again ?
thanks for help,

Uh, no. I edited Manifest.toml

[[FFMPEG_jll]]
deps = ["Bzip2_jll", "FreeType2_jll", "FriBidi_jll", "LAME_jll", "LibVPX_jll", "Libdl", "Ogg_jll", "OpenSSL_jll", "Opus_jll", "Pkg", "Zlib_jll", "libass_jll", "libfdk_aac_jll", "libvorbis_jll", "x264_jll", "x265_jll"]
git-tree-sha1 = "13a934b9e74a8722bf1786c989de346a9602e695"
uuid = "b22a6f82-2f65-5046-a5b2-351ab43fb4e5"
version = "4.3.1+2"

and then ]instantiate.

2 Likes

Can you please do the following:

]add DependencyWalker
using DependencyWalker
Library(raw"C:\Users\davidj\.julia\artifacts\7350a6401f1c0d38cc3518193083bc4f83
adfe99\bin/avcodec-58.dll")

Dear @jaakkor2, thank you for the answer - its works !

Just for the record, for others reading this post, the “Manifest.toml” to edit is that one of the project where I am trying to do the “using Plots”, so it case of not specified (no --project option), it is

"C:\Users\yourlogin\.julia\environments\v1.5/Manifest.jl" 

Thanks again! I mark your answer as solution, awaiting more permanent fix as @giordano said in

@jdad To fix the issue I need your help though, since this is the first time I see the error. Please see the message above

julia> Library(raw"C:\Users\jaakkor2\.julia\artifacts\7350a6401f1c0d38cc3518193083bc4f83adfe99\bin\avcodec-58.dll")
◼ C:\Users\jaakkor2\.julia\artifacts\7350a6401f1c0d38cc3518193083bc4f83adfe99\bin\avcodec-58.dll
  ◼ C:\WINDOWS\System32\ole32.dll
    ◼ C:\WINDOWS\System32\RPCRT4.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\combase.dll
      ◼ C:\WINDOWS\System32\RPCRT4.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
        ◼ C:\WINDOWS\System32\KERNELBASE.dll
          ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\bcryptPrimitives.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\GDI32.dll
      ❓ C:\WINDOWS\System32\win32u.dll (COULD NOT READ METADATA)
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNEL32.DLL
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\USER32.dll
      ❓ C:\WINDOWS\System32\win32u.dll (COULD NOT READ METADATA)
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\GDI32.dll
        ❓ C:\WINDOWS\System32\win32u.dll (COULD NOT READ METADATA)
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNELBASE.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
  ◼ C:\Users\jaakkor2\AppData\Local\Programs\Julia-1.6.0-DEV\bin\libwinpthread-1.dll
    ◼ C:\WINDOWS\System32\msvcrt.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNEL32.DLL
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
  ◼ C:\WINDOWS\System32\USER32.dll
    ❓ C:\WINDOWS\System32\win32u.dll (COULD NOT READ METADATA)
    ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNELBASE.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\GDI32.dll
      ❓ C:\WINDOWS\System32\win32u.dll (COULD NOT READ METADATA)
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
  ✗ libx265.dll (NOT FOUND)
  ✗ libvorbisenc-2.dll (NOT FOUND)
  ◼ C:\WINDOWS\System32\msvcrt.dll
    ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNELBASE.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
  ✗ libvorbis-0.dll (NOT FOUND)
  ◼ C:\WINDOWS\System32\KERNEL32.DLL
    ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNELBASE.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
  ✗ libmp3lame-0.dll (NOT FOUND)
  ✗ libopus-0.dll (NOT FOUND)
  ✗ libfdk-aac-1.dll (NOT FOUND)
  ✗ swresample-3.dll (NOT FOUND)
  ✗ libx264-161.dll (NOT FOUND)
  ✗ MFPlat.DLL (NOT FOUND)
  ✗ avutil-56.dll (NOT FOUND)
  ◼ C:\Users\jaakkor2\AppData\Local\Programs\Julia-1.6.0-DEV\bin\libz.dll
    ◼ C:\WINDOWS\System32\msvcrt.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNEL32.DLL
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)

Sorry, you need to run it after you get the error above

Here is the result

(@v1.5) pkg> add DependencyWalker
   Updating registry at `C:\Users\davidj\.julia\registries\General`
  Resolving package versions...
  Installed StructIO ───────── v0.3.0
  Installed DependencyWalker ─ v0.1.0
  Installed Crayons ────────── v4.0.4
  Installed ObjectFile ─────── v0.3.6
Updating `C:\Users\davidj\.julia\environments\v1.5\Project.toml`
  [7db386b5] + DependencyWalker v0.1.0
Updating `C:\Users\davidj\.julia\environments\v1.5\Manifest.toml`
  [a8cc5b0e] + Crayons v4.0.4
  [7db386b5] + DependencyWalker v0.1.0
  [d8793406] + ObjectFile v0.3.6
  [53d494c1] + StructIO v0.3.0


julia> using DependencyWalker
[ Info: Precompiling DependencyWalker [7db386b5-e858-4964-8eb4-2fa66f8df882]

julia> Library(raw"C:\Users\davidj\.julia\artifacts\7350a6401f1c0d38cc3518193083bc4f83adfe99\bin/avcodec-58.dll")
◼ C:\Users\davidj\.julia\artifacts\7350a6401f1c0d38cc3518193083bc4f83adfe99\bin/avcodec-58.dll
  ◼ C:\WINDOWS\System32\ole32.dll
    ◼ C:\WINDOWS\System32\RPCRT4.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNEL32.DLL
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\USER32.dll
      ❓ C:\WINDOWS\System32\win32u.dll (COULD NOT READ METADATA)
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\GDI32.dll
        ❓ C:\WINDOWS\System32\win32u.dll (COULD NOT READ METADATA)
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\combase.dll
      ◼ C:\WINDOWS\System32\RPCRT4.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
        ◼ C:\WINDOWS\System32\KERNELBASE.dll
          ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\GDI32.dll
      ❓ C:\WINDOWS\System32\win32u.dll (COULD NOT READ METADATA)
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNELBASE.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
  ◼ C:\Users\davidj\AppData\Local\Programs\Julia 1.5.2\bin\libwinpthread-1.dll
    ◼ C:\WINDOWS\System32\msvcrt.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNEL32.DLL
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
  ✗ libvorbisenc-2.dll (NOT FOUND)
  ◼ C:\WINDOWS\System32\KERNEL32.DLL
    ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNELBASE.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
  ✗ libmp3lame-0.dll (NOT FOUND)
  ✗ libopus-0.dll (NOT FOUND)
  ✗ libz.dll (NOT FOUND)
  ✗ libx265.dll (NOT FOUND)
  ◼ C:\WINDOWS\System32\USER32.dll
    ❓ C:\WINDOWS\System32\win32u.dll (COULD NOT READ METADATA)
    ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNELBASE.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\GDI32.dll
      ❓ C:\WINDOWS\System32\win32u.dll (COULD NOT READ METADATA)
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
  ◼ C:\WINDOWS\System32\msvcrt.dll
    ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNELBASE.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
  ✗ libvorbis-0.dll (NOT FOUND)
  ✗ libfdk-aac-1.dll (NOT FOUND)
  ✗ swresample-3.dll (NOT FOUND)
  ✗ libx264-161.dll (NOT FOUND)
  ✗ MFPlat.DLL (NOT FOUND)
  ✗ avutil-56.dll (NOT FOUND)

julia>

Hope it helps !

No, sorry, it doesn’t help because I need the output of the command after you get the error, as I wrote just above

Second try

davidj@vivojdw ~$ julia -q
julia> using DependencyWalker

julia> using Plots
[ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
ERROR: LoadError: InitError: could not load library "C:\Users\davidj\.julia\artifacts\7350a6401f1c0d38cc3518193083bc4f83
adfe99\bin/avcodec-58.dll"
The specified module could not be found.
Stacktrace:
 [1] dlopen(::String, ::UInt32; throw_error::Bool) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5
\Libdl\src\Libdl.jl:109
 [2] dlopen(::String, ::UInt32) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Libdl\src\Libdl.jl
:109
 [3] macro expansion at C:\Users\davidj\.julia\packages\JLLWrappers\m1BKg\src\products\library_generators.jl:61 [inlined
]
 [4] __init__() at C:\Users\davidj\.julia\packages\FFMPEG_jll\7oXwC\src\wrappers\x86_64-w64-mingw32.jl:41
 [5] _include_from_serialized(::String, ::Array{Any,1}) at .\loading.jl:697
 [6] _require_search_from_serialized(::Base.PkgId, ::String) at .\loading.jl:782
 [7] _require(::Base.PkgId) at .\loading.jl:1007
 [8] require(::Base.PkgId) at .\loading.jl:928
 [9] require(::Module, ::Symbol) at .\loading.jl:923
 [10] include(::Function, ::Module, ::String) at .\Base.jl:380
 [11] include(::Module, ::String) at .\Base.jl:368
 [12] top-level scope at none:2
 [13] eval at .\boot.jl:331 [inlined]
 [14] eval(::Expr) at .\client.jl:467
 [15] top-level scope at .\none:3
during initialization of module FFMPEG_jll
in expression starting at C:\Users\davidj\.julia\packages\FFMPEG\aazvf\src\FFMPEG.jl:3
ERROR: LoadError: Failed to precompile FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a] to C:\Users\davidj\.julia\compiled\
v1.5\FFMPEG\TGvga_JXyIH.ji.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
 [3] _require(::Base.PkgId) at .\loading.jl:1030
 [4] require(::Base.PkgId) at .\loading.jl:928
 [5] require(::Module, ::Symbol) at .\loading.jl:923
 [6] include(::Function, ::Module, ::String) at .\Base.jl:380
 [7] include(::Module, ::String) at .\Base.jl:368
 [8] top-level scope at none:2
 [9] eval at .\boot.jl:331 [inlined]
 [10] eval(::Expr) at .\client.jl:467
 [11] top-level scope at .\none:3
in expression starting at C:\Users\davidj\.julia\packages\Plots\D7Ica\src\Plots.jl:15
ERROR: Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to C:\Users\davidj\.julia\compiled\v1.5\Plots\l
d3vC_JXyIH.ji.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
 [3] _require(::Base.PkgId) at .\loading.jl:1030
 [4] require(::Base.PkgId) at .\loading.jl:928
 [5] require(::Module, ::Symbol) at .\loading.jl:923

julia> Library(raw"C:\Users\davidj\.julia\artifacts\7350a6401f1c0d38cc3518193083bc4f83adfe99\bin/avcodec-58.dll")
◼ C:\Users\davidj\.julia\artifacts\7350a6401f1c0d38cc3518193083bc4f83adfe99\bin/avcodec-58.dll
  ◼ C:\WINDOWS\System32\ole32.dll
    ◼ C:\WINDOWS\System32\RPCRT4.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNEL32.DLL
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\USER32.dll
      ❓ C:\WINDOWS\System32\win32u.dll (COULD NOT READ METADATA)
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\GDI32.dll
        ❓ C:\WINDOWS\System32\win32u.dll (COULD NOT READ METADATA)
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\combase.dll
      ◼ C:\WINDOWS\System32\RPCRT4.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
        ◼ C:\WINDOWS\System32\KERNELBASE.dll
          ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\GDI32.dll
      ❓ C:\WINDOWS\System32\win32u.dll (COULD NOT READ METADATA)
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNELBASE.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
  ◼ C:\Users\davidj\AppData\Local\Programs\Julia 1.5.2\bin\libwinpthread-1.dll
    ◼ C:\WINDOWS\System32\msvcrt.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNEL32.DLL
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
      ◼ C:\WINDOWS\System32\KERNELBASE.dll
        ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
  ✗ libvorbisenc-2.dll (NOT FOUND)
  ◼ C:\WINDOWS\System32\KERNEL32.DLL
    ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNELBASE.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
  ✗ libmp3lame-0.dll (NOT FOUND)
  ✗ libopus-0.dll (NOT FOUND)
  ✗ libz.dll (NOT FOUND)
  ✗ libx265.dll (NOT FOUND)
  ◼ C:\WINDOWS\System32\USER32.dll
    ❓ C:\WINDOWS\System32\win32u.dll (COULD NOT READ METADATA)
    ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNELBASE.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\GDI32.dll
      ❓ C:\WINDOWS\System32\win32u.dll (COULD NOT READ METADATA)
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
  ◼ C:\WINDOWS\System32\msvcrt.dll
    ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
    ◼ C:\WINDOWS\System32\KERNELBASE.dll
      ❓ C:\WINDOWS\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
  ✗ libvorbis-0.dll (NOT FOUND)
  ✗ libfdk-aac-1.dll (NOT FOUND)
  ✗ swresample-3.dll (NOT FOUND)
  ✗ libx264-161.dll (NOT FOUND)
  ✗ MFPlat.DLL (NOT FOUND)
  ✗ avutil-56.dll (NOT FOUND)

julia>

(personal rematrk, I am surprised by the last line as I know avutil-56.dll is here and loadable)

Thank you, works for me, too.

Looking at

C:\Users\jaakkor2\.julia\artifacts\7350a6401f1c0d38cc3518193083bc4f83adfe99\logs\FFMPEG.log.gz
`FFMPEG_jll v4.3.1+3` is compiled (linked) against `-lmfplat` that is not found on my system.

FFMPEG_jll v4.3.1+2 is not, and it works.

FFMPEG_jll v4.3.1+2 and FFMPEG_jll v4.3.1+3 use exactly the same tarballs, they haven’t changed.

Sorry, that’s correct.

Just updating the registry should now automatically bring you a working version of FFMPEG_jll (v4.3.1+2), but the root problem is still unclear.

2 Likes

Most kind thanks for repairing the registry/update system. I understand you still do not know what was the initial problem. What could I do to help get better info? (I have kept my specially tailored « .Julia » folder for tests, just in case …)

2 Likes

Thanks for the offer, I’ve got already some help from other Windows users. I’ve gathered some useful information, but the culprit is still hiding from my sight :disappointed:

1 Like

Works for me too! thanks @jaakkor2

will this problem be fixed in the future?

Thanks again and best luck for bug hunting then :wink:

1 Like