Commit Graph

9871 Commits

Author SHA1 Message Date
digital-gnome 617a92e33e Re-Add streamstatus pause
Handles when stream is paused from zms side.
2017-11-16 16:21:17 -05:00
digital-gnome 6d02c88db9 Don't round percentage in bulkframes
Gives more accurate frame delta.
2017-11-16 12:48:04 -05:00
digital-gnome a7b02ea3ba Fix eventVideo and content div wrapping properly
Wrap eventVideo div around both videojs and zms.  Consolidate control buttons/status to common set with default values.
2017-11-14 23:04:05 -05:00
digital-gnome ef6cb42c5f Cleanup 2017-11-11 14:49:43 -05:00
digital-gnome 1b8ae2bb45 Fix autoscale for ZMS
ZMS zoom would display broken jpegs with arbitrary scale.  When using scaleToFit set zms scale to nearest regular scale and let the browser handle the rest.
2017-11-11 14:49:43 -05:00
digital-gnome 44c8299faa Consolidate initPage 2017-11-11 14:49:43 -05:00
digital-gnome 91c3e3573c ZMS controls for videojs
Add ZMS style controls to videojs page.  Zoom, fast forward, fast reverse, frame skip, play/pause.  Some cleanup of old videojs code
2017-11-11 14:49:43 -05:00
digital-gnome 21949f5426 Cleanup vjsReplay 2017-11-11 14:49:43 -05:00
digital-gnome f08e75c598 Add remaining buttons to videojs 2017-11-11 14:49:43 -05:00
digital-gnome 91cda415bd Add default values to buttons 2017-11-11 14:49:43 -05:00
digital-gnome 1b6992ea6b Fix stills
Event stills fits on the page without a phantom scroll.  Still image is scaled to fit the window instead of being full event size.
2017-11-11 14:49:43 -05:00
digital-gnome 81a57b086e Add stills window for everything
Stills can work for every event since frames can be generated after the fact by ffmpeg
2017-11-11 14:49:43 -05:00
digital-gnome 5e9aacfc09 Stills path fix 2017-11-11 14:49:42 -05:00
digital-gnome 5283f778c5 Fix virtual/bulk frame calculation
Previously bulk frames wouldn't calculate at the start and end of bulk frame collection.  Also the calculation for percent was inaccurate.
2017-11-11 14:49:42 -05:00
digital-gnome 8086b6e0a5 whitespace 2017-11-11 14:49:42 -05:00
digital-gnome 5960da0b85 Make mp4 link download
download instead of view
2017-11-11 14:49:42 -05:00
digital-gnome 1ae3fca599 Fast forward and rewind show active
FF and RW show as active if they are active
2017-11-11 14:49:42 -05:00
digital-gnome 0c59c5ba88 Fix databar jumping
dataBar items would jump around when navigating between events dues to automatic spacing and different string lengths.  This locks them in place and should allow for most reasonable event sizes.
2017-11-11 14:49:42 -05:00
digital-gnome 95622cc3b0 pause on delete
Pausing on delete lets a slow network user know that the click worked.
2017-11-11 14:49:42 -05:00
digital-gnome e6ba5162ef choose correct video download
Use download mp4 link if it's a videojs event, otherwise use the video generator link.
2017-11-11 14:49:42 -05:00
digital-gnome 1007add771 add row highlighting
Both other css sets have this
2017-11-11 14:49:42 -05:00
digital-gnome ab87848899 Add visual cue to archived events
The asterisk didn't do it for me.  Added a faint cast to the row.
2017-11-11 14:49:42 -05:00
Isaac Connor 8694edb1b6 add :80 default 2017-11-10 16:23:38 -05:00
Isaac Connor 57a53f6fdd spacing and fixes 2017-11-09 15:03:23 -05:00
Isaac Connor 821717b06e turn off debug 2017-11-08 11:26:13 -05:00
Isaac Connor 2570869aa0 bring back libvlc 2017-11-08 11:18:54 -05:00
Isaac Connor aba7ecd9a6 split lines 2017-11-08 11:18:23 -05:00
Isaac Connor 59a87c14d3 fix error message 2017-11-08 11:17:46 -05:00
Isaac Connor 625170bffc fix getVideoStream to getVideoStreamHTML. Change how scaling works 2017-11-08 11:17:30 -05:00
Isaac Connor b6548ba137 put curl back, we use it's decoding function for urls 2017-11-07 15:54:13 -05:00
Isaac Connor a9419064ef don't calc fps if no time has passed 2017-11-07 09:35:13 -05:00
Isaac Connor c3cfd096c7 Don't connect to the monitor when doing an eventStream 2017-11-07 09:34:47 -05:00
Isaac Connor 4b8a8e7b56 fix new return value from Capture, 1 signals 1 frame captured 2017-11-05 18:02:09 -05:00
Isaac Connor bef7c0ed94 Only start a monitor if it has a Function 2017-11-05 11:54:00 -05:00
Isaac Connor 7374ced076 0 is a prefectly valid PreEventCount 2017-11-05 10:00:24 -05:00
Isaac Connor 0a3327e2d2 move test for h264 into the code that opens the stream instead of comparing on every capture 2017-11-05 09:59:27 -05:00
Isaac Connor ee96f58ac4 fix fps reporting value when Capture doesn't return a new frame 2017-11-05 09:59:06 -05:00
Isaac Connor 09f3355e18 add /usr/share/zoneminder/www/cache as a temp dir 2017-11-04 14:52:36 -04:00
Isaac Connor 63c788ef0e handle when sql error occurs and no params given 2017-11-03 15:45:11 -04:00
Isaac Connor f39353a4a3 add missing breaks 2017-11-03 15:44:53 -04:00
Isaac Connor 8432ab5938 change quotes, and limit the # of results to 2 when getting next and previous frames. 2 is because one of them could be the currently selected Event, 2017-11-03 15:09:19 -04:00
Isaac Connor 0ef5c16bcc when doing parseSort, reset the sortfield to StartTime instead of DateTime 2017-11-03 15:07:04 -04:00
Isaac Connor cab8c4cd5e cleanup Monitor::Capture. Cleanup the return values from Capture and CaptureAndRecord. <0 is error, 0 is things ok, but no video frame. > 0 means we have a frame. Plus google code style 2017-11-03 13:49:42 -04:00
Isaac Connor 54d77519c0 Only show Storage and Server filters if there is more than 1 2017-11-03 12:03:01 -04:00
Isaac Connor 67bb8c302f add missing / 2017-11-03 10:00:29 -04:00
Isaac Connor 09938ef7ee join the echo's into 1 to also get the line breaks 2017-11-03 09:24:13 -04:00
Isaac Connor 073c06f6a8 fix sizing after switching scale. basically re-apply the layout 2017-11-03 09:23:50 -04:00
Isaac Connor fdbd344d74 whitespace 2017-11-03 09:23:08 -04:00
Isaac Connor 4ef28bb30d don't put the leading / in the cache link 2017-11-03 09:22:43 -04:00
Isaac Connor 31b756bd53 add missing tests for StartDateTime etc 2017-11-03 07:18:30 -04:00