GithubHelp home page GithubHelp logo

gabrieleilertsen / lumahdrv Goto Github PK

View Code? Open in Web Editor NEW
54.0 10.0 17.0 4.88 MB

Encoding and decoding of HDR video

Home Page: https://computergraphics.on.liu.se/lumahdrv/

License: BSD 3-Clause "New" or "Revised" License

CMake 1.13% C++ 32.60% C 65.87% GLSL 0.40%
encoding decoding hdr-video libvpx codec

lumahdrv's People

Contributors

gabrieleilertsen avatar mantiuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lumahdrv's Issues

Windows Build Errors

The MSVC Windows build of LumaHDRv currently suffers from several issues

  1. "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.

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

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

Ubuntu installation issue.

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.

Need installation instructions for Windows dependencies

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.

System requirements and GL version for build lumahdrv

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

Failed to locate Luma HDRv meta data in '01_hevc_sumsung.mkv'

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.

CMake install error

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

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.