Closed zekeriyasari closed 4 years ago
@zekeriyasari can you try updating? 0.6.11 is the current version
Unfortunately, it is still the same.
(base) sari@laptop:/tmp$ julia
Activating environment at `~/.julia/environments/dev-env/Project.toml`
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.4.1 (2020-04-14)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(@dev-env) pkg> activate
Activating environment at `~/.julia/environments/v1.4/Project.toml`
(@v1.4) pkg> add VideoIO
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Updating `~/.julia/environments/v1.4/Project.toml`
[d6d074c3] + VideoIO v0.6.7
Updating `~/.julia/environments/v1.4/Manifest.toml`
[no changes]
(@v1.4) pkg> up VideoIO
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Installed FilePathsBase ───── v0.8.0
Installed CategoricalArrays ─ v0.8.0
Installed MbedTLS ─────────── v1.0.2
Installed DataFrames ──────── v0.21.0
Installed VideoIO ─────────── v0.6.11
Installed CSV ─────────────── v0.6.2
Updating `~/.julia/environments/v1.4/Project.toml`
[d6d074c3] ↑ VideoIO v0.6.7 ⇒ v0.6.11
Updating `~/.julia/environments/v1.4/Manifest.toml`
[1520ce14] ↑ AbstractTrees v0.3.2 ⇒ v0.3.3
[6e34b625] - Bzip2_jll v1.0.6+2
[00ebfdb7] ↑ CSTParser v2.2.0 ⇒ v2.2.1
[336ed68f] ↑ CSV v0.6.1 ⇒ v0.6.2
[7057c7e9] ↑ Cassette v0.3.1 ⇒ v0.3.3
[324d7699] ↑ CategoricalArrays v0.7.7 ⇒ v0.8.0
[da1fd8a2] ↑ CodeTracking v0.5.8 ⇒ v0.5.11
[34da2185] ↑ Compat v3.8.0 ⇒ v3.9.0
[9a962f9c] ↑ DataAPI v1.1.0 ⇒ v1.3.0
[a93c6f00] ↑ DataFrames v0.20.2 ⇒ v0.21.0
[864edb3b] ↑ DataStructures v0.17.10 ⇒ v0.17.15
[c87230d0] ↓ FFMPEG v0.3.0 ⇒ v0.2.4
[b22a6f82] - FFMPEG_jll v4.1.0+3
[5789e2e9] ↑ FileIO v1.2.4 ⇒ v1.3.0
[48062228] ↑ FilePathsBase v0.7.0 ⇒ v0.8.0
[08572546] ↑ FlameGraphs v0.2.0 ⇒ v0.2.3
[d7e528f0] - FreeType2_jll v2.10.1+2
[559328eb] - FriBidi_jll v1.0.5+3
[4d00f742] ↑ GeometryTypes v0.8.1 ⇒ v0.8.3
[cd3eb016] ↑ HTTP v0.8.13 ⇒ v0.8.14
[aa1ae85d] ↑ JuliaInterpreter v0.7.13 ⇒ v0.7.14
[c1c5ebd0] - LAME_jll v3.100.0+1
[dd192d2f] - LibVPX_jll v1.8.1+1
[739be429] ↑ MbedTLS v1.0.1 ⇒ v1.0.2
[e7412a2a] - Ogg_jll v1.3.3+0
[458c3c95] - OpenSSL_jll v1.1.1+2
[91d4177d] - Opus_jll v1.3.1+1
[bac558e1] ↑ OrderedCollections v1.1.0 ⇒ v1.2.0
[69de0a69] ↑ Parsers v1.0.0 ⇒ v1.0.3
[ccf2f8ad] ↑ PlotThemes v1.0.2 ⇒ v1.0.3
[995b91a9] ↑ PlotUtils v0.6.4 ⇒ v0.6.5
[90137ffa] ↑ StaticArrays v0.12.1 ⇒ v0.12.3
[88034a9c] ↑ StringDistances v0.6.3 ⇒ v0.6.4
[30578b45] ↑ URIParser v0.4.0 ⇒ v0.4.1
[d6d074c3] ↑ VideoIO v0.6.7 ⇒ v0.6.11
[83775a58] - Zlib_jll v1.2.11+9
[0ac62f75] - libass_jll v0.14.0+2
[f638f0a6] - libfdk_aac_jll v0.1.6+2
[f27f6e37] - libvorbis_jll v1.3.6+4
[1270edf5] - x264_jll v2019.5.25+2
[dfaa095f] - x265_jll v3.0.0+1
(@v1.4) pkg> st Video
ERROR: The following package names could not be resolved:
* Video (not found in project or manifest)
(@v1.4) pkg> st VideoIO
Status `~/.julia/environments/v1.4/Project.toml`
[d6d074c3] VideoIO v0.6.11
(@v1.4) pkg> build VideoIO
Building FFMPEG → `~/.julia/packages/FFMPEG/guN1x/deps/build.log`
┌ Error: Error building `FFMPEG`:
│ ERROR: LoadError: LoadError: LibraryProduct(nothing, ["libbz2"], :libbzip2, "Prefix(/home/sari/.julia/packages/FFMPEG/guN1x/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│ [1] error(::String) at ./error.jl:33
│ [2] write_deps_file(::String, ::Array{LibraryProduct,1}; verbose::Bool, isolate::Bool) at /home/sari/.julia/packages/BinaryProvider/GeAtj/src/Products.jl:419
│ [3] top-level scope at /home/sari/.julia/packages/FFMPEG/guN1x/deps/build_Bzip2.v1.0.6.jl:48
│ [4] include(::Module, ::String) at ./Base.jl:377
│ [5] include(::String) at /home/sari/.julia/packages/FFMPEG/guN1x/deps/build.jl:44
│ [6] top-level scope at /home/sari/.julia/packages/FFMPEG/guN1x/deps/build.jl:45
│ [7] include(::String) at ./client.jl:439
│ [8] top-level scope at none:5
│ in expression starting at /home/sari/.julia/packages/FFMPEG/guN1x/deps/build_Bzip2.v1.0.6.jl:48
│ in expression starting at /home/sari/.julia/packages/FFMPEG/guN1x/deps/build.jl:38
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:892
Ok, can you try master? We just merged a switch over to a newer version of FFMPEG.jl
Here is the case.
(@v1.4) pkg> add VideoIO#master
Cloning git-repo `https://github.com/JuliaIO/VideoIO.jl.git`
Updating git-repo `https://github.com/JuliaIO/VideoIO.jl.git`
Resolving package versions...
Updating `~/.julia/environments/v1.4/Project.toml`
[d6d074c3] ~ VideoIO v0.6.11 ⇒ v0.6.11 #master (https://github.com/JuliaIO/VideoIO.jl.git)
Updating `~/.julia/environments/v1.4/Manifest.toml`
[d6d074c3] ~ VideoIO v0.6.11 ⇒ v0.6.11 #master (https://github.com/JuliaIO/VideoIO.jl.git)
(@v1.4) pkg> st "VideIO"
ERROR: The following package names could not be resolved:
* VideIO (not found in project or manifest)
(@v1.4) pkg> st "VideoIO"
Status `~/.julia/environments/v1.4/Project.toml`
[d6d074c3] VideoIO v0.6.11 #master (https://github.com/JuliaIO/VideoIO.jl.git)
(@v1.4) pkg> build VideoIO
Building FFMPEG → `~/.julia/packages/FFMPEG/guN1x/deps/build.log`
┌ Error: Error building `FFMPEG`:
│ ERROR: LoadError: LoadError: LibraryProduct(nothing, ["libbz2"], :libbzip2, "Prefix(/home/sari/.julia/packages/FFMPEG/guN1x/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│ [1] error(::String) at ./error.jl:33
│ [2] write_deps_file(::String, ::Array{LibraryProduct,1}; verbose::Bool, isolate::Bool) at /home/sari/.julia/packages/BinaryProvider/GeAtj/src/Products.jl:419
│ [3] top-level scope at /home/sari/.julia/packages/FFMPEG/guN1x/deps/build_Bzip2.v1.0.6.jl:48
│ [4] include(::Module, ::String) at ./Base.jl:377
│ [5] include(::String) at /home/sari/.julia/packages/FFMPEG/guN1x/deps/build.jl:44
│ [6] top-level scope at /home/sari/.julia/packages/FFMPEG/guN1x/deps/build.jl:45
│ [7] include(::String) at ./client.jl:439
│ [8] top-level scope at none:5
│ in expression starting at /home/sari/.julia/packages/FFMPEG/guN1x/deps/build_Bzip2.v1.0.6.jl:48
│ in expression starting at /home/sari/.julia/packages/FFMPEG/guN1x/deps/build.jl:38
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:892
Can you also run ]up
? You should be able to install FFMPEG v0.3. You're failing to install an old version
OK. Fixed. I also tested, everything is alright.
(@v1.4) pkg> up
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Updating git-repo `https://github.com/JuliaIO/VideoIO.jl.git`
Updating git-repo `https://github.com/ianshmean/SystemBenchmark.jl`
Installed RecipesPipeline ─ v0.1.7
Installed Plots ─────────── v1.2.2
Installed ColorTypes ────── v0.10.3
Installed GR ────────────── v0.49.1
Updating `~/.julia/environments/v1.4/Project.toml`
[28b8d3ca] ↑ GR v0.48.0 ⇒ v0.49.1
[91a5bcdd] ↑ Plots v0.29.9 ⇒ v1.2.2
[30cdaa97] ~ SystemBenchmark v0.1.0 #master (https://github.com/ianshmean/SystemBenchmark.jl)
Updating `~/.julia/environments/v1.4/Manifest.toml`
[6e34b625] + Bzip2_jll v1.0.6+2
[35d6a980] + ColorSchemes v3.9.0
[3da002f7] ↑ ColorTypes v0.9.1 ⇒ v0.10.3
[5ae59095] ↑ Colors v0.11.2 ⇒ v0.12.0
[055956cb] ↓ DiffEqPhysics v3.5.0 ⇒ v3.2.0
[c87230d0] ↑ FFMPEG v0.2.4 ⇒ v0.3.0
[b22a6f82] + FFMPEG_jll v4.1.0+3
[53c48c17] ↑ FixedPointNumbers v0.7.1 ⇒ v0.8.0
[d7e528f0] + FreeType2_jll v2.10.1+2
[559328eb] + FriBidi_jll v1.0.5+3
[28b8d3ca] ↑ GR v0.48.0 ⇒ v0.49.1
[c1c5ebd0] + LAME_jll v3.100.0+1
[dd192d2f] + LibVPX_jll v1.8.1+1
[e7412a2a] + Ogg_jll v1.3.4+0
[458c3c95] + OpenSSL_jll v1.1.1+2
[91d4177d] + Opus_jll v1.3.1+1
[ccf2f8ad] ↑ PlotThemes v1.0.3 ⇒ v2.0.0
[995b91a9] ↑ PlotUtils v0.6.5 ⇒ v1.0.2
[91a5bcdd] ↑ Plots v0.29.9 ⇒ v1.2.2
[3cdcf5f2] ↑ RecipesBase v0.8.0 ⇒ v1.0.1
[01d81517] + RecipesPipeline v0.1.7
[30cdaa97] ~ SystemBenchmark v0.1.0 #master (https://github.com/ianshmean/SystemBenchmark.jl)
[83775a58] + Zlib_jll v1.2.11+9
[0ac62f75] + libass_jll v0.14.0+2
[f638f0a6] + libfdk_aac_jll v0.1.6+2
[f27f6e37] + libvorbis_jll v1.3.6+4
[1270edf5] + x264_jll v2019.5.25+2
[dfaa095f] + x265_jll v3.0.0+1
Building GR ───→ `~/.julia/packages/GR/cRdXQ/deps/build.log`
Building Plots → `~/.julia/packages/Plots/V8QVi/deps/build.log`
(@v1.4) pkg> build VideoIO
julia> using VideoIO
[ Info: Precompiling VideoIO [d6d074c3-1acf-5d4c-9a43-ef38773959a2]
(@v1.4) pkg> test VideoIO
Testing VideoIO
Status `/tmp/jl_yJSmgO/Manifest.toml`
[13072b0f] AxisAlgorithms v1.0.0
[6e34b625] Bzip2_jll v1.0.6+2
[fa961155] CEnum v0.2.0
[3da002f7] ColorTypes v0.10.3
[c3611d14] ColorVectorSpace v0.8.5
[5ae59095] Colors v0.12.0
[e66e0078] CompilerSupportLibraries_jll v0.3.3+0
[150eb455] CoordinateTransformations v0.5.1
[9a962f9c] DataAPI v1.3.0
[864edb3b] DataStructures v0.17.15
[c87230d0] FFMPEG v0.3.0
[b22a6f82] FFMPEG_jll v4.1.0+3
[5789e2e9] FileIO v1.3.0
[53c48c17] FixedPointNumbers v0.8.0
[d7e528f0] FreeType2_jll v2.10.1+2
[559328eb] FriBidi_jll v1.0.5+3
[c27321d9] Glob v1.3.0
[a2bd30eb] Graphics v1.0.2
[bbac6d45] IdentityRanges v0.3.1
[a09fc81d] ImageCore v0.8.14
[82e4d734] ImageIO v0.1.1
[02fcd773] ImageTransformations v0.8.4
[a98d9a8b] Interpolations v0.12.9
[c1c5ebd0] LAME_jll v3.100.0+1
[dd192d2f] LibVPX_jll v1.8.1+1
[dbb5928d] MappedArrays v0.2.2
[e1d29d7a] Missings v0.4.3
[e94cdb99] MosaicViews v0.2.2
[77ba4419] NaNMath v0.3.3
[6fe1bfb0] OffsetArrays v1.0.4
[e7412a2a] Ogg_jll v1.3.4+0
[458c3c95] OpenSSL_jll v1.1.1+2
[efe28fd5] OpenSpecFun_jll v0.5.3+3
[91d4177d] Opus_jll v1.3.1+1
[bac558e1] OrderedCollections v1.2.0
[f57f5aa1] PNGFiles v0.1.3
[5432bcbf] PaddedViews v0.5.5
[92933f4c] ProgressMeter v1.2.0
[c84ed2f1] Ratios v0.4.0
[189a3867] Reexport v0.2.0
[ae029012] Requires v1.0.1
[6038ab10] Rotations v0.13.0
[a2af1166] SortingAlgorithms v0.3.1
[276daf66] SpecialFunctions v0.10.0
[90137ffa] StaticArrays v0.12.3
[2913bbd2] StatsBase v0.33.0
[d6d074c3] VideoIO v0.6.11 #master (https://github.com/JuliaIO/VideoIO.jl.git)
[efce3f68] WoodburyMatrices v0.5.2
[83775a58] Zlib_jll v1.2.11+9
[0ac62f75] libass_jll v0.14.0+2
[f638f0a6] libfdk_aac_jll v0.1.6+2
[b53b4c65] libpng_jll v1.6.37+3
[f27f6e37] libvorbis_jll v1.3.6+4
[1270edf5] x264_jll v2019.5.25+2
[dfaa095f] x265_jll v3.0.0+1
[2a0f44e3] Base64
[ade2ca70] Dates
[8ba89e20] Distributed
[b77e0a4c] InteractiveUtils
[76f85450] LibGit2
[8f399da3] Libdl
[37e2e46d] LinearAlgebra
[56ddb016] Logging
[d6f4376e] Markdown
[a63ad114] Mmap
[44cfe95a] Pkg
[de0858da] Printf
[3fa0cd96] REPL
[9a3f8284] Random
[ea8e919c] SHA
[9e88b42a] Serialization
[1a1011a3] SharedArrays
[6462fe0b] Sockets
[2f01184e] SparseArrays
[10745b16] Statistics
[8dfed614] Test
[cf7118a7] UUIDs
[4ec0a83e] Unicode
VideoFile:
name: annie_oakley.ogg
description: The "Little Sure Shot" of the "Wild West," exhibition of rifle shooting at glass balls.
license: pubic_domain (US)
credit:
source: https://commons.wikimedia.org/wiki/File:Annie_Oakley_shooting_glass_balls,_1894.ogg
download_url: https://upload.wikimedia.org/wikipedia/commons/8/87/Annie_Oakley_shooting_glass_balls%2C_1894.ogv
VideoFile:
name: crescent-moon.ogv
description: Moonset (time-lapse).
license: Creative Commons Attribution 2.0 Generic (http://creativecommons.org/licenses/by/2.0/deed)
credit: Photo : Thomas Bresson
source: https://commons.wikimedia.org/wiki/File:2010-10-10-Lune.ogv
download_url: https://upload.wikimedia.org/wikipedia/commons/e/ef/2010-10-10-Lune.ogv
VideoFile:
name: ladybird.mp4
description: Ladybird opening wings (slow motion)
license: Creative Commons: By Attribution 3.0 Unported (http://creativecommons.org/licenses/by/3.0/deed)
credit: CC-BY NatureClip (http://youtube.com/natureclip)
source: https://downloadnatureclip.blogspot.com/p/download-links.html
download_url: https://archive.org/download/LadybirdOpeningWingsCCBYNatureClip/Ladybird%20opening%20wings%20CC-BY%20NatureClip.mp4
VideoFile:
name: black_hole.webm
description: Artist’s impression of the black hole inside NGC 300 X-1 (ESO 1004c)
license: Creative Commons Attribution 3.0 Unported (http://creativecommons.org/licenses/by/3.0/deed)
credit: Credit: ESO/L. Calçada
source: https://www.eso.org/public/videos/eso1004a/
download_url: https://upload.wikimedia.org/wikipedia/commons/1/13/Artist%E2%80%99s_impression_of_the_black_hole_inside_NGC_300_X-1_%28ESO_1004c%29.webm
Downloading annie_oakley.ogg to /home/sari/.julia/packages/VideoIO/1L3Oa/src/../videos
Downloading crescent-moon.ogv to /home/sari/.julia/packages/VideoIO/1L3Oa/src/../videos
Downloading ladybird.mp4 to /home/sari/.julia/packages/VideoIO/1L3Oa/src/../videos
Downloading black_hole.webm to /home/sari/.julia/packages/VideoIO/1L3Oa/src/../videos
Test Summary: | Pass Total
Reading of various example file formats | 16 16
Test Summary: | Pass Total
IO reading of various example file formats | 5 5
Test Summary: | Pass Total
Reading video metadata | 4 4
Test Summary: | Pass Total
Encoding video across all supported colortypes | 2 2
Test Summary: | Pass Total
Video encode/decode accuracy (read, encode, read, compare) | 12 12
Testing VideoIO tests passed
(@v1.4) pkg>
Great. Thanks for the rapid fire testing
While I try to build VideoIO v0.6.7, the following error is thrown.
I think it is related to the library
libbz2