Giter VIP home page Giter VIP logo

Comments (9)

giordano avatar giordano commented on June 14, 2024 1

Please update the registry, it should work now

from ffmpeg.jl.

jebej avatar jebej commented on June 14, 2024

There might be some kind of conflict with VideoIO

from ffmpeg.jl.

dlfivefifty avatar dlfivefifty commented on June 14, 2024

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.

ChrHorn avatar ChrHorn commented on June 14, 2024

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.

islent avatar islent commented on June 14, 2024

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.

giordano avatar giordano commented on June 14, 2024

@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.

islent avatar islent commented on June 14, 2024

Many thanks. Now the LoadError is gone ! 😄

from ffmpeg.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.