I'm going to make another attempt at using gluster for ZM storage.
lwiscovitch has quit
bhuddah
ic0n: good luck.
i'm currently trying xtreemfs... ic0n
ic0n
yeah. the trick is mounting the gluster using nfs, so you can use noatime and nodiratime
I just heard about that for the first time yesterday. Let me know how it goes.
bhuddah
ic0n: atm it runs on a single node.. which is not the point of it. but i need to free up a second server to test it with network sync
of course i only store the event files on that fs.
ic0n
that's all I'm trying to store too
lwiscovitch joined the channel
bhuddah
ic0n: the other thing is putting the db in a HA setup.
ic0n
yeah, havn't succeeded in that yet either.
bhuddah
there are few options. sadly.
knnniggett
Doesn't mysql natively support replication?
bhuddah
sort-of.. but that's not really HA because it is master slave ... sort of one-time failover...
and it is single master.. so it does not scale well. (not very important in our case)
tduncklee has quit
twice1 has quit
tduncklee joined the channel
CiPi is now known as cipi
fishie joined the channel
Linwood
So knnniggett, what do you want me to do with 998 (image scaling), withdraw it entirely, apply the kludge to the original code, or...?
knnniggett
linwood: Yeah, I think we need to do something different, but I'm not sure what. One thing I'm not sure I understand is how the problem manifests itself. If we are talking about array bounds exceeded, then does that mean the monitor crashes and has to be restarted?
What did you see initially that caused you to look into this?
Linwood
No. What happens is that at certain magnifications (I think it is only in scale up), the image is distorted.
Each row shifts slightly to one side (right or left, I don't recall) so that overall the left side of the image
runs down at a diagonal with the right side shifted off and into the left side (or maybe it was the reverse).
This started with the unable to allocate errors. I first offered a +1 on width and height, you did that.
(Or someone), and then someone noticed this skew and changed the +1 to a bit later in the routine. That helped
but it still left some cases where the image was skewed. They showed up for me because I am doing lots of different scale sizes not
the standard 25, 33, 75, 100, 200, 400, etc. But I posted a demo program to show it scalling at different sizes so you can see it.
(Program = html page).
knnniggett
Right, haven't looked at the html page yet
That html is not working for me from work. Probably due to authentication. I'll try and run that when I get home and point it to one of my demo systems
asker: what is the syntax for embedding user credentials into the url? I forget
asker
&auth=<token> or &user=xxx&pass=yyyy
knnniggett
yeah, the second one. thanks
asker
I've just gone ahead and implemented auth= in the app if its enabled instead of always using user=&pass= (using the latter only if opt_auth && auth=simple)
Linwood
Sorry, I don't have zm visible outside so don't use authorization. That script pulls a lot of images so it may be slow if you have a slow connection.
simonpatapon joined the channel
knnniggett
linwood: shouldn't I set "monitor=" to a value?
Linwood
Yes, the questionmark there was meant to imply replace it (bad in retrospect as it looks like the URI start)
That's the two "change" statements above -- change the server-ip and the monitor number.
knnniggett
I still don't have it quite right. I need to look into this later
Linwood
I've not tried it with auth on, let me rig it up and try that.
With auth on this works for me: monitorImageObject.src = "http://zm.leferguson.com/cgi-bin/nph-zms?mode=single&monitor=4&user=admin&pass=admin&scale="
asker
in the mean time, I just undid a commit without exploding my code. I'm proud of myself.
Linwood
The test is whether you explode everyone else's code. ic0n was blaming me for hours after my last one. :)
bigmac88 joined the channel
Sagitt joined the channel
Sagitt has quit
asker has quit
cipi is now known as CiPi
asker joined the channel
Slackology has quit
asker
do the RTSP dropping packets really need to be a Warning?
ic0n
who's up for some c++ oddness bug hunting?
asker
would it make sense to add a --test option to zmfilter.pl --> this mimics the "submit" button mode of the web - and prints matches to the console ?
ic0n
what is supposed to happen in C when you divide by zero.... ? when the zero is a double....?
ah... the result is inifinty... nice.
tduncklee has quit
asker has quit
knnniggett has quit
lwiscovitch has quit
liucougar joined the channel
liucougar
is the video storage branch supposedly to work with ubuntu 14.04?
i have to add some explicit cast in the src/zm_videostore.cpp file for it to compile, but even then, when I use pass through to write videos to disk, i got: 'invalid argument' error when calling avformat_write_header
tduncklee joined the channel
simonpatapon
I received my hosafe
my who is now safe
got no POE at home
have to fin a 12v 1a trans
zerkalo joined the channel
zerkalo has left the channel
jzaw
simonpatapon, ive got that hosafe bookmarked
really interested in seeing some example streams if possible ... esp night time IR ones