Code: Select all
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so; export LD_PRELOAD
My webcam works just fine, in this case.
However, I am having great difficulty starting zoneminder using my system startup scripts, it starts just fine, but does not appear to have the LD_PRELOAD propogating down to the servers, and my webcam is showing as a green screen with static in the top 5%.
If I stop/start using the web interface, things all work fine.
I assume it's something to do with the perl zmpkg.pl constraining the environment it allows on it's children?
I tried using wget to use the web interface to start but I have authentication turned on and don't know how to generate a suitable series of 'wget's to login. I can generate the start/stop events after snooping the apache access log.
Suggestions would be greatly appreciated.