Comments (9)
Please update the registry, it should work now
from ffmpeg.jl.
There might be some kind of conflict with VideoIO
from ffmpeg.jl.
I'm also seeing a build error in Windows, not sure if its related:
ERROR: LoadError: InitError: could not load library "C:\Users\travis\.julia\artifacts\52d195e9e73e7321d06ad9980656174ac0464ed4\bin\avdevice-58.dll"
310The specified module could not be found.
311
312Stacktrace:
313 [1] #dlopen#3(::Bool, ::typeof(Libdl.dlopen), ::String, ::UInt32) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Libdl\src\Libdl.jl:109
314 [2] dlopen at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Libdl\src\Libdl.jl:109 [inlined] (repeats 2 times)
315 [3] __init__() at C:\Users\travis\.julia\packages\FFMPEG_jll\tCUYA\src\wrappers\x86_64-w64-mingw32.jl:231
316 [4] _include_from_serialized(::String, ::Array{Any,1}) at .\loading.jl:692
317 [5] _require_from_serialized(::String) at .\loading.jl:743
318 [6] _require(::Base.PkgId) at .\loading.jl:1034
319 [7] require(::Base.PkgId) at .\loading.jl:922
320 [8] require(::Module, ::Symbol) at .\loading.jl:917
321 [9] include at .\boot.jl:328 [inlined]
322 [10] include_relative(::Module, ::String) at .\loading.jl:1105
323 [11] include(::Module, ::String) at .\Base.jl:31
324 [12] top-level scope at none:2
325 [13] eval at .\boot.jl:330 [inlined]
326 [14] eval(::Expr) at .\client.jl:425
327 [15] top-level scope at .\none:3
328during initialization of module FFMPEG_jll
329in expression starting at C:\Users\travis\.julia\packages\FFMPEG\vocw2\src\FFMPEG.jl:3
See https://travis-ci.org/github/JuliaHolomorphic/ComplexPhasePortrait.jl/jobs/710871843
from ffmpeg.jl.
I'm having the same issue with a different file.
julia> using FFMPEG
[ Info: Precompiling FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a]
ERROR: LoadError: InitError: could not load library "C:\Users\Chris\.julia\artifacts\7350a6401f1c0d38cc3518193083bc4f83adfe99\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\Chris\.julia\packages\JLLWrappers\m1BKg\src\products\library_generators.jl:61 [inlined]
[4] __init__() at C:\Users\Chris\.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\Chris\.julia\packages\FFMPEG\aazvf\src\FFMPEG.jl:3
ERROR: Failed to precompile FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a] to C:\Users\Chris\.julia\compiled\v1.5\FFMPEG\TGvga_ztj3h.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 1.5.2, clean .julia
from ffmpeg.jl.
Same issue with v0.4.0 and v0.3.0 on Windows:
julia> using FFMPEG
[ Info: Precompiling FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a]
ERROR: LoadError: InitError: could not load library "E:\.julia\artifacts\7350a6401f1c0d38cc3518193083bc4f83adfe99\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 E:\.julia\packages\JLLWrappers\m1BKg\src\products\library_generators.jl:61 [inlined]
[4] __init__() at E:\.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 E:\.julia\packages\FFMPEG\vocw2\src\FFMPEG.jl:3
ERROR: Failed to precompile FFMPEG [c87230d0-a227-11e9-1b43-d7ebe4e7570a] to E:\.julia\compiled\v1.5\FFMPEG\TGvga_LUT1c.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
I have to downgrade to v0.2.4 and it finally worked.
In v0.2.4, FFMPEG
is locally builded when installing by Pkg
, so I would presume that a broken 'artifact` is uploaded.
from ffmpeg.jl.
@dlfivefifty FFMPEG cannot possibly work on Travis due their installation of Windows lacking audio/video system libraries: #14 (comment). There is nothing we can do, the only solution is to test packages involving FFMPEG on Windows on other CI services, like AppVeyor or GitHub Actions
from ffmpeg.jl.
Many thanks. Now the LoadError
is gone !
from ffmpeg.jl.
Related Issues (20)
- Removal of `have_avcodec()` etc HOT 5
- Initialization error with artifacts on mac
- Enable flag to support svg
- Julia v1.4 failed to precompile plots on windows 7 x64 HOT 1
- libfdk-aac.so.1: cannot open shared object file HOT 5
- Can't use Plots package in Jupyterlab but can use in REPL
- ffplay HOT 1
- artifact not found HOT 10
- Error precompiling FFMPEG HOT 1
- Upgrading FFMPEG downgrades e.g. Plots v1.0.14 ⇒ v0.27.1
- Cannot use FFMPEG in Julia (1.4 or 1.5) HOT 4
- julia says "ffmpeg: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory" HOT 2
- FFMPEG recompilation failure (libavformat) HOT 5
- FFMPEG.ffmpeg_exe failed because of ERROR: failed process HOT 4
- TagBot trigger issue HOT 6
- Old version installed
- ENOENT linker error starting ffmpeg executable in "test FFMPEG" on NixOS HOT 3
- UndefVarError: ffmpeg not defined HOT 1
- `using PyPlot` before `using FFMPEG`: Could not load library libobject-2.0.so.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg.jl.