#zoneminder

/

      • linuxmint2 has quit
      • rob_h has quit
      • evil_core has left the channel
      • liucougar has quit
      • Matthias_ has quit
      • t3rror has quit
      • Haxxa
        I have spare gpus in my server anyway I could use them/
      • aquarat has quit
      • aquarat joined the channel
      • Bhaal
        rexd666: So ummm, this: Oct 3 13:20:39 elvandar zmc_m8[29157]: FAT [Error encoding video frame packet: Invalid argument#012]
      • "encoding" ?
      • "8" is one of the h264 cameras
      • rexd666
        Bhaal: All the time or just occasionally?
      • Bhaal
        That's the first time I have seen it.... Just wondering what it's "encoding" as it's meant to be passing through
      • rexd666
        I am in the middle of debugging something else, but then I will look for that message
      • Bhaal
        np, no rush
      • inflex
        thanks rexd666
      • liucougar joined the channel
      • rexd666
        Bhaal: So that error message should maybe be “Error writing packet to output stream”, but I need to check the code for that error handling as I am not sure it is correct. https://github.com/ZoneMinder/ZoneMinder/blob/f...
      • Bhaal
        So it's "decoding" ? :)
      • as said, no rush
      • and I'l bbl
      • rexd666
        Well yes and no, it is always decoding for analysis and other functions. But we take the packets and write them out to a new video file, key point is a stream of h264 packets is not an mp4 video file. So we operate at the packet level saving them once we know they are video packets.
      • Bhaal
        I am not analising
      • analysing
      • I mean, checking for motion
      • All my cameras are record only
      • rexd666
        It is still decoding just not doing anything with it.
      • Bhaal
        Hrm...
      • I guess... What a waste of cpu
      • rexd666
        The point where h264 passthrough takes over is after the frame is decoded as it is only passing valid packets
      • Yes I didn’t write that part just took it over to make it work
      • But I have always been modect so not been a worry for me
      • Bhaal
        I am being more sarcastic than anything
      • rexd666
        I will keep it in mind sometime and maybe check it camera is in record mode and therefore no motion detect needed and no images needed, would be videowriter on, jpeg off and mode record then skip decode
      • Bhaal
        Also, how can I view the stream then? Currently it's still only mjpeg so that's one of the reasons it's decoding...
      • I cannot find a FF plugin which will let me watch mpeg streams
      • inflex is *still* trying to build ZM+264store :\
      • inflex
        I should do this on a faster CPU
      • rexd666
        inflex: maybe to start with, I just use VM’s for playing around
      • and h264 is playing around
      • Bhaal: in good news for you I have managed to get that same error message, but I was testing new code under the remote source cameras not in ffmpeg ones
      • Bhaal
        haha cool, also let me know when that is working...
      • And if you have a clue on how I can use the html5 video thing to view the live and raw h264 feeds that would be awesome!
      • achan joined the channel
      • inflex
        mmm yes, h264 -> HTML5 live would be nice
      • inflex waits for ffmpeg to build... almost done... almost *sigh*
      • liucougar
        inflex: i found the h264 branch only builds under ubuntu 15.04, it won't build under 14.04
      • inflex just stares blankly now.
      • inflex
        well, it almost built, looks like yet more odd conflicts
      • maybe less trouble at this point to jump from 14.04LTS -> 15
      • liucougar
        i was using libav, not ffmpeg, if you are building ffmpeg from source, it may work for you
      • inflex
        liucougar: something is fubar'd, so it might be less trauma for me to just bump to 15.04 and rely on the fact that it now has gotten back with ffmpeg iirc
      • liucougar
        yes, 15.04 does have ffmpeg (not libav any more)
      • Bhaal
        liucougar: I have it running under 14.04 and also had it running under 12.04
      • rexd666: Been thinking... If the machine had a nvidia gfx card in it, could the gpu be used to do the decoding/encoding?
      • Ahhh
      • rexd666
        Gets talked about everynow and then.
      • Bhaal
        ffmpeg might do it with vdpau
      • I have a GTX550ti lying around...
      • rexd666
        I think it works best when gpu decodes and draws to screen, which is how they are designed to do it
      • Bhaal
        not according to this
      • Just wondering if there are any arguments I can pass to ffmpeg to enable it
      • Or does it work by default if a card exists?
      • tduncklee1 has quit
      • Or I can only give arguments for encoding, not decoding..?
      • rexd666
        I doubt it is that simple
      • liucougar has quit
      • Now this is annoying, run zm on my dev box using zmpkg.pl, with my test camera set to remote and I get that same error as your camera 8. Run zmc -m8 in debug and it runs with no error
      • should be m3 not 8
      • t3rror joined the channel
      • zz_CyberJacob is now known as CyberJacob
      • Bhaal
        rexd666: I do not get the error repeatedly (that I know of) will check logs, I just happened to see it while watching the logs...
      • It's happened twice today, same camera...
      • Which is also the same hardware as the other cameras...
      • Raspberry Pi A+ with a usb ethernet dongle...
      • rob_h joined the channel
      • achan has quit
      • elmargol has quit
      • elmargol joined the channel
      • elmargol has quit
      • elmargol joined the channel
      • aquarat has quit
      • aquarat joined the channel
      • tekzilla has quit
      • tekzilla joined the channel
      • Matthias_ joined the channel
      • elmargol has quit
      • elmargol joined the channel
      • elmargol has quit
      • elmargol joined the channel
      • Sagitt joined the channel
      • elmargol has quit
      • elmargol joined the channel
      • elmargol has quit
      • elmargol joined the channel
      • elmargol has quit
      • elmargol joined the channel
      • elmargol has quit
      • elmargol joined the channel
      • elmargol has quit
      • elmargol joined the channel
      • elmargol has quit
      • elmargol joined the channel
      • elmargol has quit
      • elmargol joined the channel
      • elmargol has quit
      • elmargol joined the channel
      • elmargol has quit
      • elmargol joined the channel
      • elmargol has quit
      • Matthias_ has quit
      • elmargol joined the channel
      • achan joined the channel
      • elmargol has quit
      • elmargol joined the channel
      • elmargol has quit
      • achan has quit
      • inflex
        Can't seem to get the ZM dpkg to install, well, it does... but never exits
      • last line is - "insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `screen-cleanup'"
      • and if I try to do anything with apt now it wants me to finish configuring the ZM package before doing anything more :(
      • elmargol joined the channel
      • knnniggett joined the channel
      • knnniggett
        asker-alterego : you there?
      • inflex
        btw, at least afer I had upgraded to 15.04 the h264 package did actually build :)
      • elmargol has quit
      • oh my wrong, it eventually exited with an error
      • YellowGTO has quit
      • asker-alterego
        knnniggett: am here - will log in on
      • In 45 mins
      • barjac joined the channel
      • inflex
        seems like I FINALLY have success
      • even managed to get the damned Foscam C1 to work again
      • asker joined the channel
      • asker
        knnniggett: here
      • saw your email about cake - I'll set up a clean ubuntu machine and document what happens
      • inflex
        Mmm... I see the interesting technique for the analysis frames for the motion detect, are there multiple framing options for that or is it always the 'outline', as opposed to perhaps just a rectangular boxing?
      • asker has quit
      • andyman53 joined the channel
      • andyman53
        Hey all
      • Zoneminder is started. Fixed the php date issue in php.ini but I can't get past the socket issue. "socket_sendto( /var/lib/zoneminder/sock/zms-"
      • in that directory first I only saw zmdc.sock. Then I saw zms-*correctnum*w.sock, but the log is erroring on not finding zms-*correctnum*s.sock
      • any Idea why that's happening?
      • CyberJacob is now known as zz_CyberJacob
      • as per apache logs, I commented out the /cgi-bin/ scriptalias in /etc/httpd/conf/httpd.conf
      • I at least see where the stream would be now
      • still no socket though
      • Matthias_ joined the channel
      • ren0v0 joined the channel