Commit Graph

5539 Commits

Author SHA1 Message Date
Martin Pulec
ff0d3a175f NDI: open dynamically on runtime
To avoid adding NDI library yet allowing user to install it separately and use it with UG.
2022-01-12 13:47:59 +01:00
Martin Pulec
557b66ec06 GitHub CI coverity_scan: check for tool update
Coverity doesn't provide ETag but a filename with content-disposition
header, eg.:

    content-disposition: attachment; filename="cov-analysis-linux64-2020.09.tar.gz"
2022-01-12 13:47:58 +01:00
Martin Pulec
aeb2c51212 configure.ac: improved indention
- lavc in summary not yet in right row but better
2022-01-12 13:47:58 +01:00
Martin Pulec
e02ac3ddf0 cmpto_j2k enc: small updates
- removed tab from help
- code doc
- fixed an assert
2022-01-12 13:47:56 +01:00
Martin Piatka
cbab1306aa holepunch: Fix building as plugin 2022-01-12 11:50:16 +01:00
Martin Piatka
f7d7c9cb09 main: Fix dangling pointer to holepunched host 2022-01-11 12:48:55 +01:00
Martin Piatka
def1466038 update NEWS 2022-01-10 15:46:30 +01:00
Martin Piatka
96033da66f main: Add echo canceller to help 2022-01-10 15:46:29 +01:00
Martin Piatka
2b623c5afd echo: Add debug audio dump 2022-01-10 12:28:20 +01:00
Martin Piatka
b36b7362ff audio/export: Allow writing channels from separate buffers 2022-01-10 12:28:20 +01:00
Martin Piatka
d3d18bf1bb audio/export: Allow writing raw data (not in audio_frame) 2022-01-10 12:28:20 +01:00
Martin Piatka
be580d6ce0 echo: adjustable filter length and prefill amount 2022-01-10 12:28:19 +01:00
Martin Piatka
363f02e737 echo: simple near end drop protection
detects only drops longer than 1s
2022-01-10 12:28:19 +01:00
Martin Piatka
fe09bf3764 echo: switch to C++ 2022-01-10 12:28:19 +01:00
Martin Piatka
a2bd5d416b echo: Improve prefill behaviour 2022-01-10 12:28:18 +01:00
Martin Piatka
bbd6a508ad echo: Protect against late capture thread start 2022-01-10 12:28:18 +01:00
Martin Piatka
1505608c8c echo: handle far end drops & eliminate allocations 2022-01-10 12:28:17 +01:00
Martin Piatka
6118b792b7 echo: use log_msg for logging 2022-01-10 12:28:17 +01:00
Martin Piatka
e9b2873af8 audio.cpp: reorder echo canceller calls 2022-01-10 12:28:17 +01:00
Martin Piatka
f3c5923aab echo cancellation rewrite 2022-01-10 12:28:16 +01:00
Martin Piatka
250eafdb48 ring_buffer: expose the zero-copy interface 2022-01-10 12:28:16 +01:00
Martin Piatka
59f547a261 ring_buffer: Allow using the whole buffer
Previously it was possible to only use size - 1B, because filling the
whole buffer would make start and end indices equal, making the buffer
appear empty. This is important if we want to allow direct zero-copy
access to the buffer while storing multi-byte elements.
2022-01-10 12:28:15 +01:00
Martin Piatka
7ae866a08a ring_buffer: split read into get_regions and advance_idx 2022-01-10 09:51:13 +01:00
Martin Piatka
a87a518ed1 ring_buffer: split write into get_regions and advance_idx 2022-01-10 09:51:12 +01:00
Martin Piatka
6bf2b60839 ring_buffer: simplify write overflow detection 2022-01-10 09:51:12 +01:00
Martin Piatka
f796e62e16 ring_buffer: replace volatile with atomic int for start, end indices 2022-01-10 09:51:12 +01:00
Martin Piatka
0ff054e9b4 ring_buffer: add ring_get_available_write_size() 2022-01-10 09:51:11 +01:00
Martin Piatka
a834e19180 holepunch: send keep-alive traffic from receiver 2022-01-07 12:17:14 +01:00
Martin Piatka
cf0d644513 holepunch: Make sure to use the same local address for video&audio 2022-01-07 12:17:13 +01:00
Martin Piatka
fc4780acb2 holepunch: Add usage help 2022-01-07 12:17:13 +01:00
Martin Piatka
b58f8e5b5e holepunch: use hostname if client name is not given 2022-01-07 12:17:13 +01:00
Martin Piatka
3f3002b5ae holepunch: allow passing both servers as single argument 2022-01-07 12:17:12 +01:00
Martin Piatka
0abae42282 holepunch: punch also audio ports 2022-01-07 12:17:12 +01:00
Martin Piatka
ab299d8d65 holepunch: document coordination protocol 2022-01-07 12:17:11 +01:00
Martin Piatka
d958df8be8 nat-helper utility 2022-01-07 12:17:11 +01:00
Martin Piatka
63325461b0 holepunch: initial implementation 2022-01-07 12:17:10 +01:00
Martin Pulec
b6ef07c7f9 cmpto_j2k enc: allow 0 for tile_limit
Allow tile_limit = 0 as indicated by the help.
2022-01-06 17:02:37 +01:00
Martin Pulec
2b1cfbb5e5 cmpto_j2k enc: colorize help output 2022-01-06 16:52:11 +01:00
Martin Pulec
e14f7fe153 cmpto_j2k enc: use usage_opts for help
+ small fixes in that struct
2022-01-06 16:44:37 +01:00
Martin Pulec
f8d683b554 cmpto_j2k enc: bitrate should not be mandatory
It was introduced by mistake with the commit 09426b2a.
2022-01-06 16:11:48 +01:00
Martin Pulec
c06693747e cmpto_j2k enc: improving cmd parameters parsing
- print which parameter has incorrect value (bitrate, mem_limit, tile_limit)
- check also quality and pool size
2022-01-06 16:11:48 +01:00
Martin Piatka
5afb0d477e rpi4: Remove debug print 2022-01-06 15:16:39 +01:00
Martin Piatka
e9dbb67194 github/CI: RPI4 patched ffmpeg for hwaccel 2022-01-06 15:06:35 +01:00
Martin Pulec
31721d9200 parse_auduio_capture_format: be more user-friendly
- allow also comma as a delimiter (WLOG - comma cannot be part of
  current set of options)
- print token, that is not understood
- hint that "bps" must be in bits-per-second (% 8 = 0)
2022-01-06 13:56:48 +01:00
Martin Pulec
237f2becfe moved parse_audio_capture_format() to host.cpp 2022-01-06 13:56:48 +01:00
Martin Pulec
3913f589ed Audio compress: fixed encoder changing BPS with multichannel
Fixed a situation when audio compression changes BPS, eg. AAC:

    uv -s testcard --audio-codec AAC --audio-capture-format channels=2
2022-01-06 13:56:47 +01:00
Martin Pulec
19931e25d4 configure.ac: cineform - fixed libcineform pkgconf
If using libcineform with pkg-config, set proper CINEFORM_LIB and do not
override CINEFORM_INC.
2022-01-06 13:56:41 +01:00
Martin Piatka
188aaa4979 cmpto j2k enc: expose encoder in capabilities 2022-01-06 10:40:52 +01:00
Martin Pulec
c34894ca70 GPUJPEG: fixed a warning from GCC 11.1
Fixed this warning:

/home/user/Projects/ultragrid/src/video_compress/gpujpeg.cpp: In static member function ‘static std::__cxx11::list<compress_preset> {anonymous}::<lambda()>::_FUN()’:
/home/user/Projects/ultragrid/src/video_compress/gpujpeg.cpp:737:9: error: ‘this’ pointer is null [-Werror=nonnull]
  737 |         },
      |         ^
/home/user/Projects/ultragrid/src/video_compress/gpujpeg.cpp:728:9: note: in a call to non-static member function ‘{anonymous}::<lambda()>’
  728 |         [] {
      |

(+ one analogous)
2022-01-03 16:36:31 +01:00
Martin Pulec
116192fa02 configure.ac: cineform - support also libcineform
Support also libcineform fork (as used eg. by libcineform AUR pkg).
2022-01-03 16:36:30 +01:00