oh, and you'll be able to store some 20-40 times more footage this way ;)
depending on cam qual (like video artifacts etc)
Yellow-Snow
ty
ty
pos
less wear on drives, filesystem speed etc, etc, etc
ic0n has quit
zm master won't stream/show old jpeg events (yet)
ic0n's storageareas branch has a patch
you can ofc generate video from old jpeg events
ic0n joined the channel
Yellow-Snow
"Input stream is not h264. The stored event file may not be viewable in browser."
pos
is the stream h264? try it in vlc, look at media info
adjust cam settings/use alt stream for h264
Yellow-Snow
Codec: H264 - MPEG-4 AVC (part 10) (h264)
whats what vlc says?
thats*
ic0n
Yellow-Snow: I recommend having it make a snapshot in jpeg settings. It gets used for thumbnails.
pos
ic0n, works without but is prolly generated per event list view
ic0n
yeah without it, we run ffmpeg to generate it.
pos
so, i've got these cams which, when using ffmpeg with -vcodec copy, end up with funky files. let's say an event is supposed to be 15 secs long, i get a video file sized about 5MB but all players, including "zms" think it's 50 minutes long
Justin417 has quit
"zms" just shows the first frame for 50 minutes, vlc 2.x crashes on open, mpv/mplayer play the video but also believes it to be long (complains about invalid timestamps)
windows media player however, works
Yellow-Snow
ic0n ty for the tip
pos
i've tried -fflags +gentps as ffmpeg input options
also tried -vsync drop as encoder options but unsure as to whether it made a diff
or worked
how are options like the latter configured as videostorage encoder options, btw? log complain about invalid pair
Justin417 joined the channel
pos has quit
ren0v0
hey guys, i've updated a system from 14.04 to 16.04, and in turn it seems to have broken my ZM install
what's the correct way to update mySQL db to ensure the correct tables are in place?
i'm getting errors such as "Can't insert event: Field 'DefaultVideo' doesn't have a default value"
also this "Memory map file '/dev/shm/zm.mmap.6' does not exist. zmc might not be running."
and this frontend error "Uncaught ReferenceError: $j is not defined"
:/
The docs have been removed it seems, i can't find anything to do with upgrading, those commands related to DB updating etc
ic0n joined the channel
hi ic0n do you get scrolls? :D
ic0n
scrolls?
ren0v0: ?
ren0v0
yea from a bouncer or anything
i just asked a load of questions and then you joined :)
ic0n
yeah my irc has been crap for a while. keeps telling me i've timed out
I don't know why
ren0v0
Well channel excuse my copy/paste :/
<ren0v0> hey guys, i've updated a system from 14.04 to 16.04, and in turn it seems to have broken my ZM install
<ren0v0> what's the correct way to update mySQL db to ensure the correct tables are in place?
<ren0v0> i'm getting errors such as "Can't insert event: Field 'DefaultVideo' doesn't have a default value"
<ren0v0> also this "Memory map file '/dev/shm/zm.mmap.6' does not exist. zmc might not be running."
<ren0v0> and this frontend error "Uncaught ReferenceError: $j is not defined"
ic0n
you can re-apply all the zm_update-* scripts. They are designed to be re-applable.
mysql -uz muser -p zm < /usr/share/zoneminder/db/zm_update-1.31.whatever
what version of zm were you running before and which are you running now?
ren0v0
to be honest it hink it might have been a newer one, like 1.31 but now i installed frmo PPA and its 1.30.4
maybe i built it :/
damn dist-upgrades
ic0n
Switch to my ppa for my branch, it is more fun.
you will have a ppa entry in /etc/apt/sources.list.d, in it the line will be remarked out. Uncomment it and then do apt-get update && apt-get dist-upgrade and you will get whatever ppa version you had before
o wait it'll be this one now :D iconnor-ubuntu-zoneminder-xenial.list
ic0n, it says nothing to upgrade
ic0n
how about just try sudo add-apt-repository ppa:iconnor/zoneminder-master
Haxxa joined the channel
ren0v0
ic0n, it installed no issues, but i'm still getting this "Uncaught TypeError: Cannot read property 'isDisplayed' of undefined"
/zm/tools/mootools/mootools-more.js
and now this:
Can't insert event: Field 'DefaultVideo' doesn't have a default value. sql was (insert into Events ( MonitorId, Name, StartTime, Width, Height, Cause, Notes, StateId, Videoed ) values ( 1, 'New Event', from_unixtime( 1515087345 ), 1920, 1080, 'Linked', 'Linked: SideSub', '1', '0' ))
ic0n
sudo zmupdate.pl
if that doesn't do anything, then
mysql -u zmuser -p zm < /usr/share/zoneminder/db/zm_update-1.31.0.sql
ren0v0
Database already at version 1.31.1, update aborted.
remage joined the channel
jburgess has quit
ic0n has quit
nope, stream still won't show :(
getStreamCmdResponse stream error: Socket /var/run/zm/zms-490723s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is
it does seem that any time i upgrades or something things make a mess of themselves
usually its something basic like php timezone or silly stuff
ic0n
I think I missed what you have been saying. Last I had was me satying to do
mysql -u zmuser -p zm < /usr/share/zoneminder/db/zm_update-1.31.0.sql
Iamnacho joined the channel
remage has quit
jzaw has quit
ren0v0
yea i did that and then got this
getStreamCmdResponse stream error: Socket /var/run/zm/zms-490723s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is