Commit Graph

138 Commits

Author SHA1 Message Date
Martin Pulec
180aa49711 vf_merge_tiles: copy compress_start timestamp 2020-04-22 22:32:00 +02:00
Martin Pulec
24a2645aba AJA: prepare for CI build 2020-02-11 15:44:19 +01:00
Martin Pulec
78b0630e5f XIMEA: configure fix, Coverity+clang-tidy warnings
- paths were not deduced when GENICAM_GENTL64_PATH was set
2019-12-02 16:47:30 +01:00
Martin Pulec
92a58c3f8c Indicate to compiler that color_out and log_msg are printf-alike
+ include config_* headers in some sources that don't (and include
  debug.h which now needs the ATTRIBUTE macro)
2019-11-21 16:51:03 +01:00
Martin Pulec
5f0ce56dc2 Color_out: flush output
Prevent interleaving formatting ESC sequences with different streams
when not flushed.
2019-11-21 13:48:06 +01:00
Martin Pulec
fa7ecd4048 Win32 alarm compat 2019-11-20 07:40:11 +01:00
Martin Pulec
7f17d8734c Fixed another Coverity bugs 2019-11-19 08:22:50 +01:00
Martin Pulec
1f36c1d315 Small documentation updates 2019-11-13 15:38:15 +01:00
Martin Pulec
11ab484be6 SDP: missing headers [Win] 2019-11-09 17:20:46 +01:00
Martin Pulec
4c71573a89 Fixed first series of Coverity bugs 2019-11-09 17:20:37 +01:00
Martin Pulec
31d9809fcd Updated documentation
Updated authors, copyright to 3-clause BSD (where possible) and file-level Doxygen
2019-11-09 13:47:11 +01:00
Martin Pulec
0cc3cc0aa4 File cap.: print time info when seeking 2019-10-29 07:50:44 +01:00
Martin Pulec
002c55dd17 get_framerate_n/d: Fixed a warning
+ added unittests to make sure it works correctly
2019-10-16 09:49:05 +02:00
Martin Pulec
8864f88c61 Key control: improvements
- guard the recently added commands ('C', 'q', 's')
- display output related commands to cout instead with logger to prevent
  dismissing important messages (suspended output/verbose=0) which would
  confuse user (that may not know that the output is suspended)
- missing log_level restore in read_command() on EOF
2019-10-11 10:21:30 +02:00
Martin Pulec
eb551e4262 color_out: added some macros for rang.hpp
Added BOLD and RED macro to make the code more readable.
2019-10-10 09:20:38 +02:00
Martin Pulec
ea88a1b65d Fixed few warnings 2019-10-03 17:01:39 +02:00
Martin Pulec
aaa00dbe8c Moved replace_all() to utils 2019-10-03 14:43:52 +02:00
Martin Pulec
c5a276e1cb configure: option to enable/disable all by default
Addded option to enable/disable all by default. Individual features can
be still specified explicitly.
2019-09-18 11:00:01 +02:00
Martin Pulec
02c51140dc utils/misc.c: added get_framerate_d/n
Added functions to determine numerator/denominator from floating point
FPS. Currently it guesses denominator either 1000 or 1001 and then
computes numerator accordingly.
2019-09-11 15:46:18 +02:00
Martin Pulec
2ded74faa3 NET UDP: Use separate sockets for RX and TX [Win]
Use separate sockets for send and receive in Windows since read in
Windows locks internally.
2019-08-26 09:11:26 +02:00
Martin Pulec
34fb3b1178 Fixed few Windows warnings
+ define _WIN32_WINNT in sdp.c (needed in current MinGW to enable some
  functions)
2019-08-08 15:08:46 +02:00
Martin Pulec
90a835d894 misc.c: use fall through comment instead of pragma
Use fall through comment instead of pragma to supress
implicit-fallthrough warning.
2019-08-08 15:08:46 +02:00
Martin Piatka
91f562b808 vf_split: Fix uninitialized variable warn 2019-07-31 13:08:51 +02:00
Martin Pulec
ab9add0799 Fixed further warnings 2019-07-24 10:57:06 +02:00
Martin Pulec
e49d4a3e8b basename is in libgen.h also in MinGW 2019-06-26 16:25:22 +02:00
Martin Pulec
0884709c2a Missing header in utils/thread.c
Caused crash in macOS because of implicit function declaration.

+ added -Werror for this warning
2019-06-26 13:53:12 +02:00
Martin Pulec
920c9c3c0b Sanitize input of audio capture format 2019-06-14 08:55:07 +02:00
Martin Pulec
47f7d6ef25 Default to IPv4 if IPv6 not supported 2019-06-07 15:13:04 +02:00
Martin Pulec
7db96528cf Name threads 2019-05-30 11:38:05 +02:00
Martin Pulec
470628cb90 Added WASAPI playback 2019-04-24 14:46:20 +02:00
Martin Piatka
1af03c9f7b vf_split: Handle compress timestaps 2019-03-13 10:50:10 +01:00
Martin Pulec
21f3a5653c Adaptave audio and ring buf: added API abstraction 2019-02-21 16:57:07 +01:00
Martin Pulec
f59c0aa87b Added a simple C rang wrapper 2018-12-17 10:58:03 +01:00
Martin Pulec
9f6048e144 Added RFC 2435 compliant RTP JPEG transport
Compliant JPEGs can be now sent with SDP or RTSP.
2018-12-17 10:37:53 +01:00
Martin Pulec
2870490b06 SDP: missing newline 2018-12-17 10:37:27 +01:00
Martin Pulec
b3b5de1495 Audio: fixes 2018-11-27 14:58:54 +01:00
Martin Pulec
f8656a08d6 SDP: complain about unsupported codecs 2018-11-23 16:12:01 +01:00
Martin Pulec
8f13411a27 SDP: use multicast address as a connection addr
Use multicast address as a connection address. This allows multiple
receivers to receive data when using the provied SDP.
2018-11-13 15:13:21 +01:00
Martin Pulec
099b28b44c Another compile fix 2018-10-24 16:09:43 +02:00
Martin Pulec
cca208c274 Compile fix 2018-10-23 20:44:20 +02:00
Martin Pulec
20aee4521a SDP: save ug.sdp to temporary directory
Save ug.sdp to temporary directory in order not to mess up the
filesystem.
2018-10-18 16:27:42 +02:00
Martin Pulec
108c3819c2 SDP/HTTP: allow different server port 2018-10-18 16:27:42 +02:00
Martin Pulec
f4be8d1d03 SDP: initial support for IPv6 2018-10-18 16:27:42 +02:00
Martin Pulec
95b15cf9ed RTP: separate types (PT etc.) into separate file
In SDP we cannot include rtp.h because it needs config_win32.h (for
Windows build) which is incompatible with Embeddable Web Server.
2018-10-18 16:27:42 +02:00
Martin Pulec
7b49113f36 SDP: rewrite 2018-10-18 16:27:42 +02:00
Martin Pulec
86874cb8a9 SDP: support for MSW 2018-10-18 16:27:42 +02:00
Martin Pulec
7b3f718347 SDP: Serve the SDP file with embedded HTTP server
Because including the EWS may cause some colision, also added option to
disable this feature to configure.
2018-10-18 16:27:42 +02:00
Martin Pulec
f0c99a4005 Readded SDP
* Since RTSP is no longer working with current LIVE555, RFC-conforming
  H.264/A-law/u-law/OPUS streams can be accessed with SDP.
* experimental only (would need more effort to be robust, well written
  etc.)
* removed ifdefs from transmit relating to standard AV RTP payload
  formating
* main: added --protocol option (shortcut for --audio-protocol and
  --video-protocol)
* main: disable intra refresh in default setting for H.264 in RTSP/SDP
2018-10-18 16:27:42 +02:00
Ben Roeder
e4111c76b8 fixes for typos in messages 2018-09-11 12:51:21 +01:00
Martin Pulec
4229c1335f Added is_addr_linklocal() 2018-08-28 23:06:21 +02:00