robertogerson / dibr-player Goto Github PK
View Code? Open in Web Editor NEWA simple Depth-Image-Based Rendering video player
License: GNU General Public License v3.0
A simple Depth-Image-Based Rendering video player
License: GNU General Public License v3.0
jc@jc-X230:~/git/dibr-player/build$ dibr-player-opencl ../samples/images/flower04.jpg
1920x1080
clErr=0
Platform 0: Intel
Platform found : Intel
Selected Platform Vendor: Intel
Number of Devices Found 1
Device -->0 : Intel(R) HD Graphics IvyBridge M GT2
Device Version -->OpenCL 1.2 beignet 1.3
OpenCL version -->OpenCL C 1.2 beignet 1.3
max compute units -->16
Info: Found extension support ‘cl_khr_gl_sharing’!
Found GL Sharing Support!
Reading Kernel File ./convolution.cl
Build Log:
#Decode Resize Crop Filter DIBR Show
OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in resize, file /build/opencv-zcaJjh/opencv-3.2.0+dfsg/modules/imgproc/src/imgwarp.cpp, line 3492
terminate called after throwing an instance of 'cv::Exception'
what(): /build/opencv-zcaJjh/opencv-3.2.0+dfsg/modules/imgproc/src/imgwarp.cpp:3492: error: (-215) ssize.width > 0 && ssize.height > 0 in function resize
Aborted (core dumped)
jc@jc-X230:~/git/dibr-player/build$
Pls advise how to debug
eli@eli-UX310:build$ ./dibr-player-opencl images/flower04.jpg
1920x1080
Platform 0: NVIDIA Corporation
Platform found : NVIDIA Corporation
Selected Platform Vendor: NVIDIA Corporation
Number of Devices Found 1
Device -->0 : GeForce 940MX
Device Version -->OpenCL 1.2 CUDA
OpenCL version -->OpenCL C 1.2
max compute units -->3
Info: Found extension support ‘cl_khr_gl_sharing’!
Found GL Sharing Support!
Reading Kernel File ./convolution.cl
Build Log:
#Decode Resize Crop Filter DIBR Show
OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in resize, file /build/opencv-zcaJjh/opencv-3.2.0+dfsg/modules/imgproc/src/imgwarp.cpp, line 3492
terminate called after throwing an instance of 'cv::Exception'
what(): /build/opencv-zcaJjh/opencv-3.2.0+dfsg/modules/imgproc/src/imgwarp.cpp:3492: error: (-215) ssize.width > 0 && ssize.height > 0 in function resize
Aborted (core dumped)
eli@eli-UX310:build$
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- program_options
CMake Error at CMakeLists.txt:11 (find_package):
By not providing "FindLibMagic.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "LibMagic",
but CMake did not find one.
Could not find a package configuration file provided by "LibMagic" with any
of the following names:
LibMagicConfig.cmake
libmagic-config.cmake
Add the installation prefix of "LibMagic" to CMAKE_PREFIX_PATH or set
"LibMagic_DIR" to a directory containing one of the above files. If
"LibMagic" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
See also "/usr/local/dibr-player-master/build/CMakeFiles/CMakeOutput.log".
See also "/usr/local/dibr-player-master/build/CMakeFiles/CMakeError.log".
libVLC cannot be found and installed
libsdl cannot be found and installed
I wonder why this program needs these libraries...
Pls advise how to debug
eli@eli-UX310:build$ cmake ../
-- Boost version: 1.65.1
-- Found the following Boost libraries:
-- program_options
-- Found components for LIBMAGIC
-- LIBMAGIC_ROOT_DIR = /usr/local
-- LIBMAGIC_INCLUDES = /usr/include
-- LIBMAGIC_LIBRARIES = /usr/lib/x86_64-linux-gnu/libmagic.so
-- Found LibVLC include-dir path: /usr/include
-- Found LibVLC library path:/usr/lib/x86_64-linux-gnu/libvlc.so
-- Found LibVLCcore library path:/usr/lib/x86_64-linux-gnu/libvlccore.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/eli/git/others/dibr-player/build
eli@eli-UX310:build$ ./dibr-player-cpu images/flower04.jpg
images/flower04.jpg
Segmentation fault (core dumped)
eli@eli-UX310:build$
Hi, I have build the project by cmake. However, I get mistake when run the commond: "./dibr-player-cpu ../samples/images/flower04.jpg".
The error:
[00007f12a0001268] core vout display error: Failed to change zoom
[00007f12a0001268] core vout display error: Failed to set on top
[00007f12a0001268] core vout display error: Failed to change source AR
[00007f12a0001268] core vout display error: Failed to change zoom
[00007f12a0001268] core vout display error: Failed to change source AR
I check that the sentence makes the error.
"libvlc_media_player_play(ctx.mp);" in dibr-player.cc
I don't kown why it happens, is the version of libvlc or otherthing wrong?
My version is:
libvlc---2.2
libsdl--1.2
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.