decord icon indicating copy to clipboard operation
decord copied to clipboard

FFmpeg-static version for windows

Open ahasan016 opened this issue 4 years ago • 0 comments

Has anyone built this library from source in windows? I have found a version of FFmpeg-static-3.4.2. but I have trouble building the .sln in Visual Studio. I find some errors. I don't know whether they are because of the FFmpeg version or not. Can anyone give me a FFmpeg latest static version for windows? or can someone guide me to build one?

I tried the Pip install version of the decord library, it works but uses a lot of memory. So, I was trying to build from the source and wanted to give it a try.

Severity Code Description Project File Line Suppression State Error C1083 Cannot open include file: 'dlpack/dlpack.h': No such file or directory (compiling source file C:\decord\decord-0.4.0\src\video\video_interface.cc) decord c:\decord\decord-0.4.0\include\decord\runtime\c_runtime_api.h 50 Error C1083 Cannot open include file: 'dlpack/dlpack.h': No such file or directory (compiling source file C:\decord\decord-0.4.0\src\runtime\thread_pool.cc) decord C:\decord\decord-0.4.0\include\decord\runtime\c_runtime_api.h 50 Error C1083 Cannot open include file: 'dlpack/dlpack.h': No such file or directory (compiling source file C:\decord\decord-0.4.0\src\video\ffmpeg\filter_graph.cc) decord c:\decord\decord-0.4.0\include\decord\runtime\c_runtime_api.h 50 Error C1083 Cannot open include file: 'dlpack/dlpack.h': No such file or directory (compiling source file C:\decord\decord-0.4.0\src\video\ffmpeg\threaded_decoder.cc) decord c:\decord\decord-0.4.0\include\decord\runtime\c_runtime_api.h 50 Error C1083 Cannot open include file: 'dlpack/dlpack.h': No such file or directory (compiling source file C:\decord\decord-0.4.0\src\video\logging.cc) decord c:\decord\decord-0.4.0\include\decord\runtime\c_runtime_api.h 50 Error C1083 Cannot open include file: 'dlpack/dlpack.h': No such file or directory (compiling source file C:\decord\decord-0.4.0\src\video\storage_pool.cc) decord c:\decord\decord-0.4.0\include\decord\runtime\c_runtime_api.h 50 Error C1083 Cannot open include file: 'dlpack/dlpack.h': No such file or directory (compiling source file C:\decord\decord-0.4.0\src\video\video_loader.cc) decord c:\decord\decord-0.4.0\include\decord\runtime\c_runtime_api.h 50 Error C1083 Cannot open include file: 'dlpack/dlpack.h': No such file or directory (compiling source file C:\decord\decord-0.4.0\src\video\video_reader.cc) decord c:\decord\decord-0.4.0\include\decord\runtime\c_runtime_api.h 50 Error C1083 Cannot open include file: 'dmlc/io.h': No such file or directory (compiling source file C:\decord\decord-0.4.0\src\runtime\dso_module.cc) decord C:\decord\decord-0.4.0\include\decord\runtime\module.h 11 Error C1083 Cannot open include file: 'dmlc/io.h': No such file or directory (compiling source file C:\decord\decord-0.4.0\src\runtime\module.cc) decord C:\decord\decord-0.4.0\include\decord\runtime\module.h 11 Error C1083 Cannot open include file: 'dmlc/json.h': No such file or directory decord C:\decord\decord-0.4.0\src\runtime\file_util.cc 5 Error C1083 Cannot open include file: 'dmlc/json.h': No such file or directory (compiling source file C:\decord\decord-0.4.0\src\runtime\str_util.cc) decord c:\decord\decord-0.4.0\src\runtime\meta_data.h 9 Error C1083 Cannot open include file: 'dmlc/logging.h': No such file or directory decord C:\decord\decord-0.4.0\src\runtime\cpu_device_api.cc 5 Error C1083 Cannot open include file: 'dmlc/logging.h': No such file or directory decord C:\decord\decord-0.4.0\src\runtime\ndarray.cc 6 Error C1083 Cannot open include file: 'dmlc/logging.h': No such file or directory decord C:\decord\decord-0.4.0\src\runtime\registry.cc 6 Error C1083 Cannot open include file: 'dmlc/logging.h': No such file or directory decord C:\decord\decord-0.4.0\src\sampler\sequential_sampler.cc 9 Error C1083 Cannot open include file: 'dmlc/logging.h': No such file or directory decord C:\decord\decord-0.4.0\src\sampler\random_file_order_sampler.cc 11 Error C1083 Cannot open include file: 'dmlc/logging.h': No such file or directory decord C:\decord\decord-0.4.0\src\runtime\threading_backend.cc 7 Error C1083 Cannot open include file: 'dmlc/logging.h': No such file or directory decord C:\decord\decord-0.4.0\src\sampler\random_sampler.cc 11 Error C1083 Cannot open include file: 'dmlc/logging.h': No such file or directory (compiling source file C:\decord\decord-0.4.0\src\runtime\system_lib_module.cc) decord c:\decord\decord-0.4.0\include\decord\runtime\packed_func.h 9 Error C1083 Cannot open include file: 'dmlc/logging.h': No such file or directory (compiling source file C:\decord\decord-0.4.0\src\runtime\workspace_pool.cc) decord c:\decord\decord-0.4.0\include\decord\runtime\packed_func.h 9 Error C1083 Cannot open include file: 'dmlc/memory_io.h': No such file or directory decord C:\decord\decord-0.4.0\src\runtime\module_util.cc 7 Error C1083 Cannot open include file: 'dmlc/thread_local.h': No such file or directory decord C:\decord\decord-0.4.0\src\runtime\c_runtime_api.cc 6

ahasan016 avatar Oct 06 '21 13:10 ahasan016