gabrieleilertsen / lumahdrv Goto Github PK
View Code? Open in Web Editor NEWEncoding and decoding of HDR video
Home Page: https://computergraphics.on.liu.se/lumahdrv/
License: BSD 3-Clause "New" or "Revised" License
Encoding and decoding of HDR video
Home Page: https://computergraphics.on.liu.se/lumahdrv/
License: BSD 3-Clause "New" or "Revised" License
The MSVC Windows build of LumaHDRv currently suffers from several issues
"Cannot open include file: 'sys/time.h' in luma_decoder.h" - It seems that this header is not referenced in the code and is not necessary. Since there is no equivalent header on Windows, this include should be removed.
CMake does not generate a Win64 Visual Studio solution for LumaHDRv, so if libvpx is configured for the Win64 toolchain, the libvpx library will not link. Either CMake should provide the option to generate a Win64 solution, or the Win32 limitation should be documented.
Projects lumaenc, lumadec, test_simple_enc, and test_simple_dec fail to link, with the error "cannot open input file 'Release\luma_decoder.lib' and 'Release\luma_encoder.lib'". The luma_encoder and luma_decoder projects are configured to build dynamic library DLL files, not static library lib files.
I follow the instructions in the readme file and it seems to work properly but when I try to use it I encounter command not found error. I'm new to Linux so there might be a problem with the installation that I don't observe. The libvpx and libmatroska also are not found on the system after installation so I guess there's an issue there.
Optional libraries such as OpenExr, Matroska, PFS and EBML are not mentioned in the Readme. Rather than requiring the developer to trawl through the CMake files for information, the ideal installation locations (include/ and lib/ directories) should be listed.
Hi,
During building lumahdrv I've got following warning:
CMake Warning (dev) at /usr/share/cmake-3.16/Modules/FindOpenGL.cmake:275 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
CMakeLists.txt:20 (find_package)
I have ignored it. But I also get error during compilation:
/lumahdrv/src/luma_quantizer.cpp:263:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
263 | return res;
| ^~~~~~
[ 11%] Building CXX object CMakeFiles/luma_decoder.dir/src/mkv_interface.cpp.o
[ 14%] Linking CXX shared library libluma_decoder.so
[ 14%] Built target luma_decoder
Scanning dependencies of target lumaplay
[ 18%] Building CXX object CMakeFiles/lumaplay.dir/lumaplay.cpp.o
/lumahdrv/lumaplay.cpp:66:10: fatal error: lumaplay_dequantizer_glsl.h: No such file or directory
66 | #include "lumaplay_dequantizer_glsl.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/lumaplay.dir/build.make:63: CMakeFiles/lumaplay.dir/lumaplay.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:107: CMakeFiles/lumaplay.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
The command '/bin/sh -c git clone -q --depth 1 --branch v1.0.0 https://github.com/gabrieleilertsen/lumahdrv.git && cd lumahdrv && mkdir build && cd build && cmake ../ && make && make install' returned a non-zero code: 2
When vpx is installed from packages on Ubuntu 18.04:
sudo apt-get install libvpx-dev
and lumanenc is started, the following message is displayed:
lumaenc encoding error: Failed to initialize vpxEncoder
Everything works fine if compiled with the static version of vpx.
Hi, thanks for the useful tools. However, I found some problems, when I tried to use the test sample.
I'm sure the input video is HDR video which is encoded by HEVC, but it shows the error 'Failed to locate Luma HDRv meta data in '01_hevc_sumsung.mkv'.
Could anyone tell me what the problem is?
So many thanks.
When testing #6, I encountered the following error:
CMake Error at cmake_install.cmake:47 (file):
file INSTALL cannot copy file
"/home/travis/build/EwoutH/lumahdrv/build/libluma_encoder.so" to
"/usr/local/lib/libluma_encoder.so".
Makefile:95: recipe for target 'install' failed
make: *** [install] Error 1
The command "make install" exited with 2.
Full log: https://travis-ci.com/EwoutH/lumahdrv
Commands used:
- mkdir build
- cd build
- cmake ../
- make
- make install
- make test
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.