Closed magdesign closed 5 years ago
I uncommented in src/MediaServer/MediaServer.h
all following lines:
#define PI_IMAGES_DIR "/boot/ofxpimapper/sources/images/"
#define PI_VIDEOS_DIR "/boot/ofxpimapper/sources/videos/"
/*
* These you can get when you apt-get install usbmount
*/
#define USB0_IMAGES_DIR "/media/usb0/"
#define USB1_IMAGES_DIR "/media/usb1/"
#define USB2_IMAGES_DIR "/media/usb2/"
#define USB3_IMAGES_DIR "/media/usb3/"
#define USB0_VIDEOS_DIR "/media/usb0/"
#define USB1_VIDEOS_DIR "/media/usb1/"
#define USB2_VIDEOS_DIR "/media/usb2/"
#define USB3_VIDEOS_DIR "/media/usb3/"
and compiled again, then made a symlink in ofxPiMapper/example_fbo-sources/bin/data/sources
pointing to an images and a videos folder. All media is selectable and shows on a surface.
But when selecting Slide_Show_Source, it stays black. Terminal tells me:
[notice ] SetSourceCmd: exec
[notice ] MediaServer: Unload image, current reference count: 1
[notice ] MediaServer: New reference count: 0
[notice ] MediaServer: Removing image /media/internal/images/PVJ_with_box_hd.jpg
[notice ] MediaServer: Source count BEFORE image removal: 1
[notice ] MediaServer: Source count AFTER image removal: 0
[notice ] MediaServer: Attempting to load FBO source with name Slide Show Source
[notice ] MediaServer: Current Slide Show Source reference count: 1
Any help very welcome. Will donate to the one who fixes it.
https://github.com/kr15h/ofxPiMapper/issues/138 changing this in line 182 gives a compile error....
Thanks to: Cristobal Mendoza for the fix!
(my fork is too old publish the code change there...)
I compiled
example_fbo-sources
on my RPI. When I run the mapper and selectSlide Show Source
as source, the surface stays black.Its quite a while since we contributed the slideshow code and I am quite rusty in digging in the code. Anyone knows how to fix the
Slide Show Source
to get it running as expected on RPI ?!Seeing this in the terminal: