#zoneminder

/

      • asker
        okay
      • Bhaal
        I haven't checked for anything to do with the api, but sure would love to see something...
      • asker
        and mr. cougar is moving with lighting speed - I told him he needs to get the API working first and last evening he emailed me a working proof along with details I need. So I'd like to do my part now :-)
      • yeah, I'll add video support into zmNinja
      • linuxmint has quit
      • Bhaal
        I'm planning on playing with gstreamer and seeing if I cannot montage the webm streams into a single 1080p webm stream
      • asker
        I did not know you were using webm
      • Bhaal
        I'm not
      • asker
        ah
      • Bhaal
        But I can use webm to view the live feeds so its not mjpeg ... But that gets a little clunky when you have 9 cameras going
      • asker
        right
      • based on what liu sent me, looks like the video branch is storing a mp4 file with H264 in the same deep_storage directory structure
      • and it seems I need to check for VideoEnabled==1
      • Bhaal
        It does yes
      • asker: So, zmninja works with what presently?
      • asker
        the jpeg version of images
      • I haven't focussed on video branch at all, till liu came along
      • Bhaal
        Ok, rexd666 is the author of the video branch
      • I am looking at your youtube video now
      • well shortly
      • asker: That looks really good!
      • asker
        thanks! did you also see the push notifications using the new zoneminder event server? real time !
      • Bhaal
        This needs to be a linux client as well
      • asker
        yes, it can run on desktops with minimum changes
      • I'm focussing on Android and iOs for now - but will tweak it to run on desktops later
      • only thing is the gestures/etc are more tuned to touch devices not mouse devices, even though I test the app on my desktop all the time
      • s anyway, back to video branch:
      • Bhaal
        Alright, When you have something for the video branch message me, I will gladly test on android
      • asker
        how does one figure out which "frames" are "alarmed" when you are storing it as an mp4?
      • Bhaal
        from the database
      • The same was as you can get a frame from the mp4
      • asker
        what happes if saveJPEG is off
      • Bhaal
        ZM uses ffmpeg to pluck the requested frame out and display it as a jpeg
      • asker
        will it still populate the frames db?
      • yes, I know that - but that is only if the jpeg images are created
      • Bhaal
        asker: Not sure how it stores the alarms, just know that it does :)
      • asker: No
      • nono
      • asker
        no?
      • Bhaal
        I do not store jpegs at all
      • asker
        interesting
      • but it still stores all frame details in the FramesDB?
      • Bhaal
        And I can still click on a frame and ZM will create a jpeg of that frame (time period) from the mp4 file
      • asker
        and does it show you which ones are alarmed?
      • Bhaal
        So it won't be a "frame" as it used to be, it will be a frame from the video which corresponds with the timestamp
      • I don't know that detail.. It's possible I guess...
      • I am a user not a dev
      • asker
        okay thanks. Ah, I thought you were developing too.
      • but thanks - useful info
      • Bhaal
        I know php, not the rest
      • inflex: might be able to help he has been hacking the code recently
      • kazoo joined the channel
      • inflex
        what? what have I broken?
      • achan joined the channel
      • YellowGTO joined the channel
      • YellowGT0 has quit
      • phroco1 joined the channel
      • phroco has quit
      • phroco1 is now known as phroco
      • red_racer12
        zmninja seems pretty neat
      • where can i find more information about the h264 mode?
      • i have 13 1080p cameras from hikvision, i can't use them at anything more than 2fps because cpu load is too high, no matter what software i use
      • liucougar joined the channel
      • lwiscovitch has quit
      • lwiscovitch joined the channel
      • liucougar has quit
      • imox has quit
      • liucougar joined the channel
      • liucougar has quit
      • liucougar joined the channel
      • asker
        liucougar - sorry for the delay. Do you happen to have a test server with video working I can get acccess to for zmninja testing?
      • I have a few questions on the video part - how does on figure out which frames are alarmed and which frames are not in an mp4 file?
      • Q2: how do you live view a monitor? today I route it via nph-zms
      • liucougar
        Q1: i don't think that's saved anywhere, however I use secondary stream in motion detection and use SaveJPEGs (the same as before, so it's image based)
      • Q2: it's still handled by nph-zms
      • do you need admin access to the zm?
      • asker
        no any user access that can use the APIs and view live is fine (I will start work on in on Monday so no imm hurry)
      • liucougar : so what happens when you go to ZM events? it doesn't show you how many alarm frames etc?
      • another user here earlier in the morning mentioned that the FramesDB gets populated even if you don't save jpegs
      • liucougar
        uhm, ok, but that does not necessarily mean it has the info to know where it is in the video
      • asker
        yes that is the other problem
      • liucougar
        i will email you details on how to access the zm server i will expose
      • asker
        thx
      • so to summarize:
      • liucougar
        currently i don't use video saving with motion detection, but I will try to add that to the server so you can see it for yourself
      • (video saving is used with always recording cameras)
      • asker
        take a look at how I display alarms and frames
      • in the video branch, I guess this will not be possible
      • I'll have to replace that window with a video tag and thats it
      • no skipping to alarm frames
      • correct?
      • liucougar
        for savejpegs monitor, it will be the same, i think
      • for videos, it would be different, yes (DefaultVideo will be non-empty in this case)
      • asker
        yes
      • okay fine
      • liucougar
        for first step, i am happy to just have the savejpegs monitors working
      • with zmninjia
      • asker
        but that should work without any change
      • if you download zmN today it should work with all monitors that have saveJpeg based on what I am seeing
      • liucougar
        asker: i don't see anywhere how i could download it (without compliing it myself)
      • or did I miss something (I use android)
      • asker
        all you have to do is ask :-) Its an open beta
      • but I'd prefer folks contact me before downloading so I know how to track
      • since you have, go ahead and give it a whirl
      • liucougar
        oh, cool, thanks, will give it a try and let you know how it goes
      • asker
        np
      • liucougar has quit
      • red_racer12
        asker: i can set up a ZM box for you at my office i have more than 12 IP cameras setup
      • asker
        red_racer12 you a video branch person too?
      • red_racer12
        id like to be3
      • *be
      • i can't find any software that works for me, with many IP cameras
      • asker
        on the phone you mean?
      • red_racer12
        i'd like to record straight to my hard drive, the straight feeds, i think motion detection takes too much cpu load
      • oh sorry i'm not sure if i understand?
      • i want to try zmninja, i dont have an android phone right now though, i'll have one tomorrow!
      • liucougar joined the channel
      • asker
        okay, well when you do , I'd be happy to send you a beta link
      • please shoot me an email when you have an android device and have an API version of ZM working
      • digdilem
        red_racer12, i record 22 cameras on one 4 core server, and do motion detection on another 22 on the same server
      • capacity is down to fps and image size.
      • asker
        damn, I just discovered an auto changelog generator for github which generated all of this on its own. Neat. https://github.com/pliablepixels/zmNinja/blob/m...
      • red_racer12
        i thought your app was iOS based
      • asker
        both iOS and Android
      • liucougar has quit
      • red_racer12
        oh how is that possible?
      • asker
        its a cordova/ionic app - written in angular JS and uses native platform plugins where needed
      • liucougar joined the channel
      • OsteHovel has quit
      • OsteHovel joined the channel
      • asker has quit
      • knnniggett has quit
      • irv has quit
      • jzaw
      • some difference between these two new cams and the one ive had a month
      • can almost see the second hand on the clock 8m away
      • and that's with pure IR it's pitch black out there tonight
      • fixxxermet
        very clear picture
      • digdilem
        that's excellent, jzaw
      • jzaw
        i think part of the issue on the first cam is maybe a touch of re-focusing required
      • also it would be good if i could find the updated firmware ... these new ones have younger firmware
      • that noisiness i found on the front cam is still there ( i tuned it out a bit by lowering the brightness and contrast a touch)
      • irv joined the channel
      • digdilem
        that's still not bad, better than many
      • jzaw
        oh and weirdly i found it was switching to b/w + ir way too late
      • and trying too hard to use gain at dusk/dawn
      • so i used a bit of electrical tape to cover ½ the sensor hole in the glass ... thus making it switch much earlier