Isaac Connor
|
a0be7b1fcb
|
fixup EmptyPreAlarmFrames
|
2020-07-20 21:02:49 -04:00 |
Isaac Connor
|
41dfb8ae38
|
fix duplicate jpeg_create_compress memleak
|
2020-07-20 21:02:06 -04:00 |
Isaac Connor
|
d716d1d686
|
Merge branch 'release-1.34'
|
2020-07-20 16:25:41 -04:00 |
Isaac Connor
|
5c844f9cae
|
remove extra space
|
2020-07-20 10:22:40 -04:00 |
Isaac Connor
|
01892352da
|
rename sseversion to sse_version
|
2020-07-19 17:50:47 -04:00 |
Isaac Connor
|
6b39f59b3a
|
use delete[] instead of delete.
|
2020-07-16 16:00:23 -04:00 |
Isaac Connor
|
2c056c188f
|
Fix compile on old ffmpeg
|
2020-07-16 15:59:08 -04:00 |
Isaac Connor
|
4e2732e12d
|
Priming capture logs should be debug not Info
|
2020-07-16 15:51:24 -04:00 |
Isaac Connor
|
a7b76dfe41
|
Remove debug
|
2020-07-16 15:48:09 -04:00 |
Isaac Connor
|
0a6321ee56
|
Update linesize when using AssignDirect. Fixes #2979
|
2020-07-16 15:48:06 -04:00 |
Isaac Connor
|
d849ee54a4
|
Update state to ALARM AFTER we have opened the event, so that we get the correct event Id. Fixes #2978 Fixes #2894
|
2020-07-16 15:47:01 -04:00 |
Isaac Connor
|
a8e46feb12
|
Merge branch 'master' of github.com:ZoneMinder/zoneminder
|
2020-07-16 15:42:56 -04:00 |
Isaac Connor
|
3658c3b589
|
Update state to ALARM AFTER we have opened the event, so that we get the correct event Id. Fixes #2978 Fixes #2894
|
2020-07-16 15:36:26 -04:00 |
Isaac Connor
|
c2a025300f
|
Remove debug
|
2020-07-16 15:34:29 -04:00 |
Isaac Connor
|
9e06385f26
|
Update linesize when using AssignDirect. Fixes #2979
|
2020-07-16 14:50:50 -04:00 |
Isaac Connor
|
9b05337e57
|
Priming capture logs should be debug level, especially if they ar egoing to log passwords
|
2020-07-13 15:03:04 -04:00 |
Isaac Connor
|
880219bb0f
|
Merge branch 'release-1.34'
|
2020-07-07 18:58:32 -04:00 |
Isaac Connor
|
9b447bde8e
|
remove extra {
|
2020-07-07 18:56:51 -04:00 |
Isaac Connor
|
e675c8373e
|
Merge branch 'release-1.34'
|
2020-07-07 16:15:56 -04:00 |
Isaac Connor
|
916d1ed59e
|
Merge branch 'release-1.34' of github.com:ZoneMinder/zoneminder into release-1.34
|
2020-07-07 16:15:23 -04:00 |
Isaac Connor
|
c79c65e72e
|
spacing fixes
|
2020-07-07 16:14:57 -04:00 |
Isaac Connor
|
af74ecac4c
|
Pass along the image linesize to Image constructors so that Image knows about the requirement for it to be 32byte aligned.
|
2020-07-07 16:14:38 -04:00 |
Isaac Connor
|
fd9272241a
|
Introduce constructors that can be passed a linesize which is the # of bytes to use to store a line of image. This can be different from the image width * colours as it should be 32byte aligned for use with sws_scale.
|
2020-07-07 16:13:41 -04:00 |
Isaac Connor
|
cae8978501
|
add an alignment variable to ffmpeg_camera to use wherever we want to tell ffmpeg about the buffer and linesize alignment. Figure out linesize in the constructor so that zm_monitor can pass the info along to zm_image.
|
2020-07-07 16:12:14 -04:00 |
Isaac Connor
|
209cbe1000
|
Merge branch 'master' of github.com:ZoneMinder/zoneminder
|
2020-07-07 09:23:46 -04:00 |
Isaac Connor
|
acf8a30434
|
Merge branch 'release-1.34'
|
2020-07-07 09:22:56 -04:00 |
Isaac Connor
|
533876f313
|
rewrite code to use fewer lines. No logic change.
|
2020-07-07 09:16:42 -04:00 |
Andrew Bauer
|
dcab218a2e
|
remove global config item CREATE_ANALYSIS_IMAGES
|
2020-07-06 12:22:41 -05:00 |
Isaac Connor
|
864cd4c178
|
introduce a linesize variable which represents the # of bytes to hold a line of the image in the buffer. May be > width * colours
|
2020-07-05 17:51:57 -04:00 |
Isaac Connor
|
2eac69dd88
|
fix duplicate extrapad names
|
2020-07-04 17:16:43 -04:00 |
Isaac Connor
|
2db65d3821
|
Merge branch 'release-1.34'
|
2020-07-04 09:09:24 -04:00 |
Isaac Connor
|
e137e1dacf
|
Don't consult EVENT_CLOSE_MODE if mode is RECORD
|
2020-06-26 19:30:35 -04:00 |
Isaac Connor
|
728f41fe9c
|
Log @debug when a linked monitor is disconnected. Use ZM_MAX_RESTART_DELAY instead of hard coded 60 seconds before next reconnect attempt
|
2020-06-23 16:56:35 -04:00 |
Isaac Connor
|
31a3be5c8e
|
check shared_data->valid when checking if LinkedMonitor is connected
|
2020-06-23 15:05:17 -04:00 |
Isaac Connor
|
7354b4d30f
|
Fix compile on old ffmpeg
|
2020-06-23 14:43:11 -04:00 |
Isaac Connor
|
a15aace2fb
|
introduce shared_data->zmc_heartbeat_time and zma_heartbeat_time.
|
2020-06-22 10:40:00 -04:00 |
Isaac Connor
|
4d020bab56
|
spacing
|
2020-06-22 10:39:29 -04:00 |
Isaac Connor
|
ae5116ff9c
|
improve efficiency of outputting device query. The constant strlen's were terrible.
|
2020-06-15 15:29:26 -04:00 |
Isaac Connor
|
bd287d7c7c
|
Fix segfault when timestamp contains an unimplemented character. Fixes #2943
|
2020-05-29 11:45:38 -04:00 |
Isaac Connor
|
2637c887f8
|
Fix segfault when timestamp contains an unimplemented character. Fixes #2943
|
2020-05-29 11:44:34 -04:00 |
Isaac Connor
|
662b9894bd
|
Don't delete send_image because it is static. Fixes #2923
|
2020-05-23 16:12:55 -04:00 |
Isaac Connor
|
ce9e2c8b27
|
Merge branch 'release-1.34'
|
2020-05-15 11:53:09 -04:00 |
Isaac Connor
|
9ea1c637f9
|
Remove debug Exiting message
|
2020-05-15 11:48:41 -04:00 |
Isaac Connor
|
6bb2c09a72
|
Merge branch 'release-1.34'
|
2020-05-15 11:41:34 -04:00 |
Isaac Connor
|
7a85be59be
|
Remove errant closing db debug output
|
2020-05-15 10:22:58 -04:00 |
Isaac Connor
|
d92772343a
|
Merge branch 'release-1.34'
|
2020-05-14 12:02:50 -04:00 |
Isaac Connor
|
25a772c5eb
|
reorder logic a bit to make it easier to read. Make exit_zmu not return a value.
|
2020-05-14 12:02:02 -04:00 |
Isaac Connor
|
16e7ca5a51
|
failure opening a monitor should not be fatal.
|
2020-05-14 12:01:24 -04:00 |
Isaac Connor
|
402c0c6a1b
|
Fix build on older ffmpeg
|
2020-05-14 12:01:03 -04:00 |
Isaac Connor
|
efbab4e2bc
|
Dont' call mysql_library_end as it segfaults and hangs.
|
2020-05-14 12:00:36 -04:00 |
Isaac Connor
|
bbf64de40e
|
If there is a failure when decoding due to lack of support for the codec profile, re-init without hwaccel
|
2020-05-13 08:04:53 -04:00 |
Isaac Connor
|
7e80b33ee0
|
If there is a failure when decoding due to lack of support for the codec profile, re-init without hwaccel
|
2020-05-12 15:10:08 -04:00 |
Isaac Connor
|
81cd338545
|
Merge branch 'master' of github.com:zoneminder/ZoneMinder
|
2020-05-11 08:34:19 -04:00 |
Isaac Connor
|
3d278eddf8
|
erge branch 'master' into batch_frame_records
|
2020-05-08 20:16:36 -04:00 |
Isaac Connor
|
1f6e68c129
|
Merge branch 'release-1.34' of github.com:ZoneMinder/zoneminder into release-1.34
|
2020-05-08 17:26:02 -04:00 |
Isaac Connor
|
a798e874fe
|
Spacing
|
2020-05-07 13:44:32 -04:00 |
Isaac Connor
|
fcf6eb2631
|
Add setting the codecpar->codec_type as well. Fixes detecting stream type
|
2020-05-07 13:44:02 -04:00 |
Isaac Connor
|
40633830d0
|
Code style/spacing
|
2020-05-07 13:43:35 -04:00 |
Isaac Connor
|
b1b258ab9b
|
Code Style and use backtick escapes on sql column names, specifically Function
|
2020-05-07 13:43:05 -04:00 |
Isaac Connor
|
6939f9953a
|
code style, merge Debug lines and consult zm_terminate in the main while loop
|
2020-05-07 13:41:39 -04:00 |
Isaac Connor
|
87d0eb88b7
|
code style, merge Debug lines and consult zm_terminate in the main while loop
|
2020-05-07 13:41:29 -04:00 |
Isaac Connor
|
09740d72a4
|
code style, merge Debug lines and consult zm_terminate in the main while loop
|
2020-05-07 13:41:09 -04:00 |
Isaac Connor
|
7489d66557
|
use is_video_stream utility function.
|
2020-05-07 13:40:32 -04:00 |
Isaac Connor
|
9f73a55087
|
Make params to is_video_* a const because we don
't alter it
|
2020-05-07 13:39:32 -04:00 |
Isaac Connor
|
bab15217f5
|
Make zm_terminate available to anyone who includes zm.h
|
2020-05-07 13:38:56 -04:00 |
Isaac Connor
|
e9b1eacc6d
|
Fix not finding stream with old libs
|
2020-05-02 11:49:28 -04:00 |
Isaac Connor
|
eca56c7123
|
Provide a more useful error message when the monitor's function is set to NONE. Fixes #2877
|
2020-05-01 19:21:20 -04:00 |
Isaac Connor
|
ef540aa972
|
sun_path is defined to be 108 bytes. No need for 4095. Quiets compiler warnings
|
2020-05-01 19:13:50 -04:00 |
Joe540
|
c9f04c9136
|
Support event_close_mode for record mode
Support event_close_mode for record mode (with linked monitor)
|
2020-05-01 19:10:23 -04:00 |
Isaac Connor
|
6098c4c961
|
properly close streams and free memory in ffmpeg_input destructor
|
2020-05-01 19:03:18 -04:00 |
Isaac Connor
|
c5cf6e1a74
|
undo random addition
|
2020-05-01 19:01:09 -04:00 |
Isaac Connor
|
050868fad1
|
fix build on libavtools < 12
|
2020-05-01 19:00:40 -04:00 |
Isaac Connor
|
9beb5cee3a
|
use delete[] instead of delete.
|
2020-05-01 18:55:48 -04:00 |
Isaac Connor
|
24aaeee155
|
dynamically load monitor Object when loading event data. Also dynamically load Storage, but only when the Id is different. Free the various objects in the destructor. Sync up some spacing issues with master.
|
2020-05-01 18:44:35 -04:00 |
Isaac Connor
|
2071b2a71e
|
Guess video file name for in progress events
|
2020-05-01 18:14:58 -04:00 |
Isaac Connor
|
917c43a54b
|
If can't connect to db, bail instead of loading config
|
2020-05-01 18:08:32 -04:00 |
Isaac Connor
|
f96cc66b9d
|
google code style
|
2020-05-01 18:06:27 -04:00 |
Isaac Connor
|
ffcef8a42a
|
spacing and make sws_context static global so we don't have to keep initializing it when playing back from mp4 in eventstream.
|
2020-05-01 15:22:32 -04:00 |
Isaac Connor
|
ffd7970b07
|
Merge branch 'release-1.34'
|
2020-05-01 13:17:10 -04:00 |
Isaac Connor
|
14b90903a9
|
Merge branch 'release-1.34' of github.com:ZoneMinder/zoneminder into release-1.34
|
2020-05-01 12:50:10 -04:00 |
Isaac Connor
|
3675ee1c33
|
Properly delete FramesData as well.
|
2020-05-01 09:56:27 -04:00 |
Isaac Connor
|
434f34f027
|
use delete[] instead of delete.
|
2020-04-30 11:04:55 -04:00 |
Isaac Connor
|
a6ee817bc4
|
Fix auth by hash
|
2020-04-28 19:00:42 -04:00 |
Isaac Connor
|
e21ffbea7d
|
Merge branch 'fix_zms'
|
2020-04-26 18:43:39 -04:00 |
Isaac Connor
|
ae9a5766f5
|
Merge branch 'release-1.34' into fix_zms
|
2020-04-26 18:19:30 -04:00 |
Isaac Connor
|
3b11258fbc
|
Make checkEventLoaded return true if a new event was loaded, false otherwise. The idea is to give more information back to whoever calls it
|
2020-04-26 15:22:29 -04:00 |
Isaac Connor
|
a7363a4b36
|
reduce compiler deprecation warnings by using our zm api's that hide support for older ffmpeg versions
|
2020-04-24 19:05:58 -04:00 |
Isaac Connor
|
7a7f366eb1
|
Change semantics of zm_send_packetreceive_frame to return the # of bytes consumed. This is inline with how to old deprecated api used to work. The new api consumes the packet, so just return packet size.
|
2020-04-24 19:05:17 -04:00 |
Isaac Connor
|
c6c8a23c02
|
sun_path is defined to be 108 bytes. No need for 4095. Quiets compiler warnings
|
2020-04-24 18:03:00 -04:00 |
Isaac Connor
|
b0c5abc2c2
|
Quiet compiler warnings.
|
2020-04-24 17:51:00 -04:00 |
Isaac Connor
|
ed7c0815de
|
Merge branch 'release-1.34'
|
2020-04-24 17:05:32 -04:00 |
Isaac Connor
|
3dd5ac8146
|
shrink buffers for writing timestamp into. Don't need 64 when 28 will do. Quiets compiler warnings
|
2020-04-24 16:43:27 -04:00 |
Isaac Connor
|
e274aa471a
|
Use fputc instead of printf for separator to be a tiny bit more efficient. Report current state when forcing alarm on
|
2020-04-23 18:13:34 -04:00 |
Isaac Connor
|
00dad82b46
|
Fix use of strncpy using the entire size of the buffer. You have to -1 for the null char
|
2020-04-23 18:12:54 -04:00 |
Isaac Connor
|
4aaa02dc24
|
fix cpplint complaints and remove casts that are unnecessary. Micro-optimisation by using fputs for date_string instead of fprintf
|
2020-04-23 18:12:44 -04:00 |
Pliable Pixels
|
df4fab5fbf
|
re-enable fragmented mp4 recordings
|
2020-04-23 18:11:10 -04:00 |
Isaac Connor
|
b8781301f8
|
Drop lock around openFile so that we don't hang
|
2020-04-23 18:08:14 -04:00 |
Isaac Connor
|
d31216330c
|
Only align buffers to 32bit if using a 32bit pix format. Fixes #2819
|
2020-04-23 18:07:07 -04:00 |
Isaac Connor
|
5bf068791b
|
Merge branch 'rate_dropdown' into release-1.34
|
2020-04-23 16:11:59 -04:00 |
Pliable Pixels
|
9b77f77ac3
|
better logs
|
2020-04-23 11:09:39 -04:00 |