Peter Keresztes Schmidt
5c96eedac8
Build: Remove dependency on libavdevice
...
We currently don't use the library so don't depend on it.
2021-06-05 15:08:38 +02:00
Peter Keresztes Schmidt
3d34e6f177
Build: Promote libswresample to a required dependency
...
FFmpeg is an integral component of ZM. Promote the appropriate libraries to required dependencies.
This reduces the possible build configurations greatly and thus maintenance burden.
2021-06-05 14:27:42 +02:00
Peter Keresztes Schmidt
762476ec76
Build: Promote libswscale to a required dependency
...
FFmpeg is an integral component of ZM. Promote the appropriate libraries to required dependencies.
This reduces the possible build configurations greatly and thus maintenance burden.
2021-06-05 14:27:31 +02:00
Peter Keresztes Schmidt
a9ad5c5eee
Build: Promote libavcodec to a required dependency
...
FFmpeg is an integral component of ZM. Promote the appropriate libraries to required dependencies.
This reduces the possible build configurations greatly and thus maintenance burden.
2021-06-05 14:25:54 +02:00
Peter Keresztes Schmidt
7d15396833
Build: Promote libavformat to a required dependency
...
FFmpeg is an integral component of ZM. Promote the appropriate libraries to required dependencies.
This reduces the possible build configurations greatly and thus maintenance burden.
2021-06-05 14:25:27 +02:00
Peter Keresztes Schmidt
1a6904a297
Build: Promote libavutil to a required dependency
...
FFmpeg is an integral component of ZM. Promote the appropriate libraries to required dependencies.
This reduces the possible build configurations greatly and thus maintenance burden.
2021-06-05 14:21:41 +02:00
Peter Keresztes Schmidt
70c626a30e
Merge pull request #3277 from Carbenium/remove-libavresample
...
Remove libavresample support
2021-06-05 11:44:50 +02:00
Peter Keresztes Schmidt
0b7f9396b4
FFmpeg: Remove no longer valid includes
2021-06-05 00:24:14 +02:00
Peter Keresztes Schmidt
7d501a6585
Remove libavresample support
...
libavresample hasn't been maintained for a long time by FFmpeg since libswresample superseded it.
In 2018 it was officially deprecated [1].
Let's remove the support for it since there is no need to maintain this option further.
[1] https://patchwork.ffmpeg.org/project/ffmpeg/patch/20171225175335.18183-1-atomnuker@gmail.com/
2021-06-04 23:46:58 +02:00
Isaac Connor
cca30661d7
remove invalid debug
2021-06-04 17:42:00 -04:00
Isaac Connor
9cce9744d2
Merge pull request #3276 from Carbenium/cmake-ffmpeg
...
Build: Add CMake package module for FFmpeg
2021-06-04 17:35:45 -04:00
Isaac Connor
9f685d6c2b
Fixup style and warnings in zm_dump_codecpar
2021-06-04 17:32:45 -04:00
Peter Keresztes Schmidt
32f139ef7f
Build: Use FFmpeg package CMake module
2021-06-04 23:18:30 +02:00
Peter Keresztes Schmidt
db9b739562
Build: Add CMake package module for FFmpeg
2021-06-04 23:18:30 +02:00
Isaac Connor
a78feb739e
enable an encoder option to actually open the codec when doing passthrough. This fixes saving the h265.
2021-06-04 16:51:21 -04:00
Isaac Connor
b16eb510d0
More debugging around clearQueue. return early if deleting
2021-06-04 15:03:08 -04:00
Isaac Connor
205c488741
spacing
2021-06-04 15:01:57 -04:00
Isaac Connor
d713770dea
Include more fields in zm_dump_codecpar and zm_dump_codec
2021-06-04 15:01:48 -04:00
Isaac Connor
72d07d1428
Add a bunch of debugging about snapshot writing
2021-06-04 15:00:16 -04:00
Isaac Connor
ad0e7a5c1a
Use new get_packet_and_increment_it in decoder. Adjust some debugging levels
2021-06-03 18:22:18 -04:00
Isaac Connor
fc6202d349
Introduce get_packet_and_increase_it just so we can lose an extra grab lock and function calls, etc. In queuePacket, if the queue is full, WAIT instead of failing to queue.
2021-06-03 18:22:18 -04:00
Isaac Connor
1b67074d35
Merge pull request #3275 from XuluniX/onvifprobe_interface
...
Fixed bug in onvifprobe interface selection
2021-06-03 10:06:24 -04:00
Xulunix
2cbb24d7b9
Fixed bug in onvifprobe
...
The arguments for "/usr/bin/zmonvif-probe.pl" was always `probe 1.1,1.2 1` with the last argument always being `1` instead of the network interface name selected in the menu.
This change fixes this issue by using the selected interface name instead of the boolean return value of the `isset()` function.
2021-06-03 02:26:24 +02:00
Isaac Connor
e4d3394888
fix missing namespace on warning
2021-06-02 18:35:13 -04:00
Isaac Connor
9a03c2c16a
Default to UTC when no timezone set so that montagereview continues working. Fixes #3274
2021-06-02 18:35:13 -04:00
Isaac Connor
ed5262432f
Fix samsite support for php <= 7.2
2021-06-02 14:59:13 -04:00
Isaac Connor
5529075fb3
Merge pull request #3273 from Carbenium/cmake-cleanup
...
Build: Remove some unused CMake code
2021-06-01 18:37:37 -04:00
Peter Keresztes Schmidt
0ea14317a4
Build: Remove unused cmakedefines
2021-06-01 23:54:49 +02:00
Peter Keresztes Schmidt
7ec37405a6
Build: Don't include unused CheckStructHasMember module
2021-06-01 08:43:49 +02:00
Peter Keresztes Schmidt
e724a93395
Build: Remove in-tree version of CheckPrototypeDefinition
...
We currently don't use the module and all supported CMake versions ship this module if needed.
2021-06-01 08:41:44 +02:00
Isaac Connor
bc3d1d161a
Merge pull request #3270 from Carbenium/remove-v4l1
...
Remove support for V4L1
2021-05-31 18:52:07 -04:00
Peter Keresztes Schmidt
81a1546a2b
LocalCamera: Remove unnecessary ZM_HAS_V4L2 conditionals
...
V4L2 is the only V4L version we support. No need to conditionally compile those parts.
2021-06-01 00:05:05 +02:00
Peter Keresztes Schmidt
f2bee0704a
LocalCamera: Remove support for V4L1
...
Kernel support for Video4Linux 1 was removed in 2.6.38 (March 2011). It's time to drop support on our side.
2021-05-31 23:29:29 +02:00
Peter Keresztes Schmidt
ed7759897b
misc: Move ZM_HAS_* defines to zoneminder-config.cmake
2021-05-31 23:29:29 +02:00
Isaac Connor
f8b779dc25
fix crash when in alert state with no event
2021-05-31 16:02:42 -04:00
Isaac Connor
cc3bce48b7
hevc requires an open codec to set stream parameters right. Fixes garbage video when h265 passthrough
2021-05-31 16:00:17 -04:00
Isaac Connor
c686fa5949
SHould reset state as well as shared_data->state
2021-05-31 16:00:17 -04:00
Isaac Connor
d2941d6b87
Always print SAR and tel about unknown codec type
2021-05-31 16:00:17 -04:00
Isaac Connor
50fe7100fa
Remove the code to do adaptive skipping. We should never sleep when doing Analysis unless an error occurred.
2021-05-31 12:52:24 -04:00
Isaac Connor
4825370a7f
Apply height css to limit height of logout modal and apply overflow:auto to add a scrollbar if needed so that we don't have to scroll to logout.
2021-05-31 10:19:58 -04:00
Isaac Connor
0bcb30b8a9
Don't print out buffer since it isn't zero terminated
2021-05-31 10:19:58 -04:00
Isaac Connor
0e598f67c9
Bump version to 1.36.3 for release
2021-05-30 18:49:09 -04:00
Isaac Connor
fd21edb7a9
Merge pull request #3268 from Carbenium/remove-travis
...
CI: Remove Travis CI
2021-05-30 18:36:25 -04:00
Isaac Connor
5bdbb25efb
Don't print out buffer since it isn't zero terminated
2021-05-30 18:31:57 -04:00
Isaac Connor
f723b39cf6
Apply height css to limit height of logout modal and apply overflow:auto to add a scrollbar if needed so that we don't have to scroll to logout.
2021-05-30 18:31:26 -04:00
Peter Keresztes Schmidt
f3cb14cc17
CI: Remove Travis CI
...
All our CI needs are handled by GitHub Actions
2021-05-31 00:15:00 +02:00
Peter Keresztes Schmidt
764f10bf82
CI: Run packpack for Buster on GitHub Actions
2021-05-31 00:14:10 +02:00
Isaac Connor
4f2945bd57
Merge pull request #3267 from Carbenium/crypto-hashing
...
Crypto: Implement a generic hashing API
2021-05-30 18:07:58 -04:00
Peter Keresztes Schmidt
fead79185b
CI: Run ESLint job with GitHub Actions
2021-05-30 23:36:19 +02:00
Isaac Connor
dab2792077
Merge pull request #3262 from Carbenium/selectable-crypto-backend
...
Build: Make crypto and JWT backends selectable
2021-05-30 17:06:22 -04:00