Commit Graph

5513 Commits

Author SHA1 Message Date
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
Martin Pulec
0750525758 configure: fixed --enable-sdl comma 2022-01-03 16:36:28 +01:00
Martin Piatka
70a768b999 lavd: Add dummy to hw accel array to suppres a warning 2021-12-20 16:14:26 +01:00
Martin Piatka
f391046629 configure.ac: rpi4 hw. accel config 2021-12-20 16:14:26 +01:00
Martin Piatka
30c253652a video_display/rpi4: Add rpi4 hw. frames display 2021-12-20 16:14:26 +01:00
Martin Piatka
82af59de45 lavd: Add RPI4 hw. acceleration 2021-12-20 16:14:25 +01:00
Martin Piatka
2bab7f22ac utils/misc: Add string_view tokenizer
Useful as a C++ non-destructive replacement for strtok
2021-12-20 16:14:25 +01:00
Martin Piatka
cfe01a80aa lavd: don't convert pixfmt if codec is constant size
Constant size formats usually just contain pointers and cannot be split
into parts.
2021-12-10 14:32:06 +01:00
Martin Pulec
c59aabc856 GitHub CI [Win, VHD]: fixed current (6.18) lib location 2021-12-06 11:52:05 +01:00
Martin Pulec
0c954ae13c build_aja_lib_win64.sh: missing libs
NTV2 ver 16.1 requires some more libraries.
2021-12-06 11:30:33 +01:00
Martin Pulec
66a08619c8 GitHub CI [Win, AJA]: AJA 16.1 compat - use glob for VS proj 2021-12-06 10:20:12 +01:00
Martin Pulec
85c89b491a RS: fixed audio encode where there is no zfec 2021-12-03 21:49:57 +01:00
Martin Pulec
d48b04404e AppImage: Rocky Linux 8 compat 2021-12-02 19:32:17 +01:00
Martin Pulec
33cb1812a9 AppImage: env var ULTRAGRID_BUNDLED_LIBVA
to enforce use of bundled libva even if system libva found
2021-12-02 12:19:15 +01:00
Martin Pulec
e8ad31bb8c GitHub CI: add bugfix changelog to GH release
Fixes are listed in file FIXES.md

+ fix the link to full changelog
2021-12-02 12:11:41 +01:00
Martin Pulec
72e56713a7 Linux AppImage: remove libgdk-3.so.0
This causes a crash of uv-qt on U21.10.

Actually it suffices to remove libffi.so.6 instead but it is a
dependency of SDL2.
2021-12-02 09:55:25 +01:00
Martin Pulec
81e18767e2 audio dec.: replaced a branch with an assert
That branch should not have been reachable (unknown PTs handled above).
2021-12-02 08:29:47 +01:00
Martin Pulec
569e0ce4ba Audio RS: fixed parsing of FEC header 2021-12-02 08:29:46 +01:00
Martin Pulec
2ec58867f0 Added audio Reed-Solomon decoder 2021-12-02 08:29:39 +01:00
Martin Pulec
fd20479a0d Decoders: increse log level for wrong AES CRC
As UDP is checksummed it should not occur anyway and if so, it is
perhaps worth warning.
2021-11-30 17:09:29 +01:00
Martin Pulec
32cc171061 Audio decoder: moved reconf to separate function 2021-11-30 17:09:29 +01:00
Martin Pulec
e712578f43 Added audio RS encoding 2021-11-30 17:09:29 +01:00
Martin Pulec
0c4c8627e7 Transmit: moved FEC symbol size check to sep. func 2021-11-30 17:09:26 +01:00
Martin Pulec
9b25a3898a GitHub CI [Win]: do not remove Dotnet/Android
Removing Android takes very long time (~20 min) and it doesn't need to
be necessary anymore.
2021-11-30 16:27:51 +01:00
Martin Pulec
f5b48ee20e GitHub CI [Win]: enable debug in prepare.ps1
i.a. to determine slowdowns + eventually real debugging
2021-11-30 16:27:50 +01:00
Martin Pulec
d950c966b9 GitHub CI [Win]: use CUDA 11.5
+ derive used version from URL
2021-11-30 16:27:45 +01:00
Martin Pulec
c8722969b6 AppImage: pass LD_PRELOAD to the Firejail
needed if VA-API is preloaded from system
2021-11-30 11:34:38 +01:00