Isaac Connor
|
35b5bb7b85
|
Fix changeScale not updating zms url when the page initially loads as not scale to fit
|
2021-01-11 13:38:04 -05:00 |
Isaac Connor
|
9a821e1fb9
|
split long line
|
2021-01-11 13:37:32 -05:00 |
Isaac Connor
|
1b1438bf7a
|
Add detecting target pixfmt and if rgb0 is supported, use it to do the transfer direct to the Image.
|
2021-01-11 13:36:51 -05:00 |
Isaac Connor
|
e1f6f5984d
|
Handle signal loss, improve debugging
|
2021-01-11 13:35:48 -05:00 |
Isaac Connor
|
70090f7edc
|
Add AVBufferRef setup when Populating AVFrame from Image. This allows hwtranfer to work because it relies on AVBuffer AVFrame. Please note that we don't want AVBuffer to free the buffer so we pass an empty function to it.
|
2021-01-11 13:35:23 -05:00 |
Isaac Connor
|
f625734c82
|
Set imagePixFormat everywhere. Add PopulateFrame which creates and AVFrame pointing to the image's buffer. Will do this with proper refcounting eventually
|
2021-01-11 11:57:34 -05:00 |
Isaac Connor
|
29255d1528
|
Fix missing comma
|
2021-01-11 11:15:22 -05:00 |
Isaac Connor
|
ab9583cbdf
|
clean up code giving warning when no starttime is given
|
2021-01-11 10:06:54 -05:00 |
Isaac Connor
|
dd4685ecf2
|
include kleyframe status in zm_dump_video_frame
|
2021-01-10 19:13:02 -05:00 |
Isaac Connor
|
4b90eb992d
|
remove unused var temp
|
2021-01-08 16:45:16 -05:00 |
Isaac Connor
|
9e353a8837
|
break long line
|
2021-01-08 16:45:03 -05:00 |
Isaac Connor
|
c0a2286dee
|
Code style
|
2021-01-08 15:49:21 -05:00 |
Isaac Connor
|
a6aefcf477
|
get camera if we havn't already. Don't delete the timestamp in shared zmpackets because it is just a pointer to shmem. Set it to null instead so that ~ZMpacket doesn't try to free it
|
2021-01-08 15:49:09 -05:00 |
Isaac Connor
|
736b14327e
|
allocate our own CodecContext for decoding. Reusing the existing one doesn't work for hwaccel. Add hwaccel flags to let it use Constrained Baseline for Baseline profile streams. Try without specified device if hwdevice_ctx_create fails.
|
2021-01-08 15:48:01 -05:00 |
Isaac Connor
|
81d6f8c1ee
|
disable rtsp_server
|
2021-01-07 15:13:02 -05:00 |
Isaac Connor
|
c70e2ccfc2
|
Must notify before waiting in destructor. Fix leaks
|
2021-01-07 15:12:44 -05:00 |
Isaac Connor
|
514201c7b2
|
use zm_av_send_packet_receive_frame and fixup hwaccel support
|
2021-01-07 15:12:27 -05:00 |
Isaac Connor
|
f729034e9f
|
improve hwaccel support
|
2021-01-07 15:11:46 -05:00 |
Isaac Connor
|
272fdcec68
|
Merge branch 'master' into rtsp_server
|
2021-01-07 09:51:00 -05:00 |
Isaac Connor
|
655e54db17
|
remove unused directbuffer
|
2021-01-07 09:50:45 -05:00 |
Isaac Connor
|
f8cd820d5e
|
Change Disabled to Auto and add h265 as codec options
|
2021-01-07 09:48:22 -05:00 |
Isaac Connor
|
595bb2f565
|
Open/CLose RTSP with analysis thread when opening and closing monitor. We have to have successfully PrimeCapture before adding streams to RTSP Server and need to shut it down when closing the monitor because the packetqueue goes away
|
2021-01-07 09:47:53 -05:00 |
Isaac Connor
|
c6d15f193a
|
Update codec opening to properly handle passthrough
|
2021-01-07 09:46:35 -05:00 |
Isaac Connor
|
5cca440bee
|
change outputFd which is unused to stream_id which is the stream_id to concern ourselves with when getting packets from the packetqueue. Add more tests for zm_terminate. Add testing for AV_CODEC_ID instead of v4l2 PIX_FMT to determine stream type
|
2021-01-07 09:46:06 -05:00 |
Isaac Connor
|
abc402878b
|
remove analysis_it and correctly manage external iterators. Fix testing for ability to remove packets from packetqueue. Fix some cases where the order of testing zm_terminate and packet locking is important
|
2021-01-07 09:43:53 -05:00 |
Isaac Connor
|
3b8266a6f0
|
add missing and mix order of Packet initializers
|
2021-01-07 09:41:08 -05:00 |
Isaac Connor
|
0d450f4f85
|
add missing and mix order of Packet initializers
|
2021-01-07 09:41:02 -05:00 |
Isaac Connor
|
ff3bc981de
|
move code from Load for purpose==ANALYSIS because it will never run. Analysis is a thread now and must assume that PrimeCapture has already succeeded.
|
2021-01-07 09:40:24 -05:00 |
Isaac Connor
|
7afaf00202
|
spacing and NULL=>nullptr
|
2021-01-07 09:36:54 -05:00 |
Isaac Connor
|
e30f0245ef
|
NULL=>nullptr
|
2021-01-07 09:36:33 -05:00 |
Isaac Connor
|
c9641063ca
|
Don't need to get_ref_image anymore. It will block waiting for a capture packet and the ref image will be set by capture thread
|
2021-01-07 09:36:18 -05:00 |
Andrew Bauer
|
a431f08133
|
eslint
|
2021-01-06 15:57:30 -06:00 |
Andrew Bauer
|
4756a03b16
|
show alarm state and fps on zones view
|
2021-01-06 14:27:06 -06:00 |
Andrew Bauer
|
9d7f738f61
|
replace mootools in MonitorStream
|
2021-01-06 14:19:25 -06:00 |
Isaac Connor
|
315dccdaec
|
Rename H264PASSTHROUGH to just PASSTHROUGH. Add an analysis_it to the Monitor object as it will no longer exist in the packetqueue
|
2021-01-06 11:32:09 -05:00 |
Isaac Connor
|
e93a895f28
|
Rename H264PASSTHROUGH to just PASSTHROUGH. Start with last_signal set to true so that we don't have a signal change event on startup. Use new generic packetqueue functions
|
2021-01-06 11:31:31 -05:00 |
Isaac Connor
|
d6c217c1ec
|
Rename H264PASSTHROUGH to just PASSTHROUGH
|
2021-01-06 11:30:42 -05:00 |
Isaac Connor
|
08a28e6960
|
Set codec_type in zm_packet
|
2021-01-06 11:30:03 -05:00 |
Isaac Connor
|
7c049afc61
|
Add AVPacket parsing queue and other files for rtsp_server
|
2021-01-06 11:26:08 -05:00 |
Isaac Connor
|
770cf5703d
|
continue roughing in rtsp server. Fix not adding session to rtspServer.
|
2021-01-06 11:24:52 -05:00 |
Isaac Connor
|
d6b59c0abf
|
Add rtsp_server files to CMakeLists.txt
|
2021-01-06 10:48:52 -05:00 |
Isaac Connor
|
bbd54c363d
|
Add MIN_RTSP_PORT config item, but commented out for now
|
2021-01-06 10:48:24 -05:00 |
Andrew Bauer
|
3eef753183
|
Debian builds have been moved to dedicated build host
|
2021-01-05 13:44:43 -06:00 |
Andrew Bauer
|
6dcedb584d
|
modernize monitors view
|
2021-01-05 10:16:51 -06:00 |
Andrew Bauer
|
ebbd2888f0
|
tableExport plugin is no longer used
|
2021-01-04 15:40:53 -06:00 |
Andrew Bauer
|
bd18904bf4
|
remove js files that define popupSizes
|
2021-01-04 15:33:26 -06:00 |
Andrew Bauer
|
51132cb5e1
|
old overlay code is no longer used
|
2021-01-04 13:51:03 -06:00 |
Andrew Bauer
|
0cdc2b448d
|
remove obsolete controlpreset js files
|
2021-01-04 13:18:05 -06:00 |
Andrew Bauer
|
75e2f526ae
|
WIP jquery conversion
|
2021-01-04 13:05:33 -06:00 |
Andrew Bauer
|
a1b26c8f61
|
WIP replace with jquery
|
2021-01-04 10:28:16 -06:00 |