9025 Commits

Author SHA1 Message Date
Martin Pulec
a936500c25 UltraGrid 1.9.3 v1.9.3 2024-05-22 11:21:19 +02:00
Martin Pulec
42bbc2a31f vdisp/pipe: do not announce VC_NONE support
If using transcoding reflector, eg.:
`hd-rum-transcode 8M 5004 -c libavcodec -P 6004 100:1`

pipe is used, which advertised VC_NONE, for which assertion at the
beginning of get_pixfmt_desc() failed.
2024-05-22 10:50:44 +02:00
Martin Pulec
d7e64a07af hd-rum-transcode: exit if serv sock init fails 2024-05-22 10:24:28 +02:00
Martin Pulec
ee9fe26e01 hd-rum-transcode: catch stoi invalid_argument
Make something like `hd-rum-transcode 8M 5004 -P x 100::1` fail with
humaan readable message.
2024-05-22 10:23:47 +02:00
Martin Pulec
6e44d112d9 CI macOS: install only not installed brew formulas
The GitHub actions now complain if trying to install a formula, that is
already installed, eg:
```
  run macOS (macos-14)
  pkg-config 0.29.2_3 is already installed and up-to-date. To reinstall 0.29.2_3, run: brew reinstall pkg-config

```

As a workaround, install just the formulas, that are not already
installed.
2024-05-22 10:18:28 +02:00
Martin Pulec
afda0381ae deinterlace: fixed noopt config
Introduced by the commit c4aa64c8 (2024-01-13).

refers to GH-384
2024-05-22 10:10:28 +02:00
Martin Pulec
d8c28fabf8 macos-wrapper: change version from 10.15 to 12
Current C/C++ workflow builds already on macOS 12, so that also macOS
versions 10.15 and 11 would be incompatible.
2024-05-22 10:05:29 +02:00
Martin Pulec
5a5fc53f60 CI macos: adapt to new DELTACAST packages
see previous commit
2024-05-22 10:01:40 +02:00
Martin Pulec
359aed3446 CI Win: adapt to new DELATCAST packages
See:
<https://www.deltacast.tv/media/30987/changenotice_videomaster625_installers_and_distribution_packages.pdf>
2024-05-22 10:00:05 +02:00
Martin Pulec
00f95eb8ef audio: unregister callback
This caused occasional crashes on M1 Mac Pro with `uv --capabilities`
(also in macos-14 arm64 GH runner). This was most likely caused by the
callback being run just after the audio state has been destroyed.
2024-05-22 09:59:18 +02:00
Martin Pulec
051047d16e added unregister_should_exit_callback
\+ unregister the callback for video_rxtx
2024-05-22 09:59:12 +02:00
Martin Pulec
fcd222f5b2 register_should_exit_callback: register directly
no noeed to pass with a message
2024-05-22 09:59:00 +02:00
Martin Pulec
e613d4bd8c vcompress/lavc: do metadata housekeeping in store
Moved metadata housekeeping to store_metadata() and removed the
assert. The idea is to prevent crashes on assert when some encode fails.

In some malicous case (eg. when the latency is higg), the metadata can be
now released prior to restoring, so print at least a warning about that.
2024-05-22 09:57:41 +02:00
Martin Pulec
5da326b10f RTP: err sending RTCP - missing NL 2024-05-22 09:56:50 +02:00
Martin Pulec
0d8eaf2685 UltraGrid 1.9.2 v1.9.2 2024-04-29 11:58:12 +02:00
Martin Pulec
7f9e311757 CI Windows: install clang gcc-compat
No longer installed automatically, causing gcc from mingw64 MSYS2
environment being used (autoconf defaults to gcc).
2024-04-29 10:55:42 +02:00
Martin Pulec
4e6625bd33 vcap/avfoundation: fixed cmdline dev spec parsing
fixed commits from 2023-01-03 (a9c001b9 and 4a915454):

1. unspecified device index is -1, not 0; this fixes run without device
spec (`-t avfoundation`)

2. device_name was not include in the condition for explicit device
selection. It coincidentally worked because of the bug nr. 1, because
the device_index was set to -1 and checked to not equal 0, which fulfills
the if condition
2024-04-29 10:43:36 +02:00
Martin Pulec
5bc00776b8 disp/decklink: always set max_aud_chans to value of 'mach'
set always max_aud_chans to BMDDeckLinkMaximumAudioChannels

Setting it to BMDDeckLinkMaximumAnalogAudioOutputChannels ('aach') for
analog output was incorrect, because eg. BMD Studio 4K has mach=16 but
aach=4. This subsequently crashes on assert, because
IDeckLinkOutput::EnableAudioOutput accepts only 2, 8, 16, 32 or 64
channels.
2024-04-29 10:43:27 +02:00
Martin Pulec
4807355d1d fixed video RX port explicit setting
Fixed the commit cb0f7fea (2023-05-09) which caused that -P <vrx>:<vtx>
didn't set the video bind port.
2024-04-29 10:41:00 +02:00
Martin Pulec
1bf4146a5c disp/caca: suppress logging if output is console 2024-04-29 10:40:22 +02:00
Martin Pulec
2fb5dc80fd vcap/dshow: added mapping for H.264 2024-04-29 10:37:57 +02:00
Martin Pulec
0fb244025d CI Windows: build CUDA stuff for CC 3.5
Kepler cards are still (and few months will be) supported by NVIDIA.
2024-04-29 10:28:04 +02:00
Martin Pulec
131e858677 vdec/gpujpeg: fixed compat gpujpeg case
P012Z should not be returned in this context, anyways
2024-04-29 10:26:35 +02:00
Martin Pulec
9ad453cf78 vdec/gpujpeg: set the default GJ params (probe)
At least the struct gpujpeg_image_parameters is input/output - the
pixel_format is read from there (to evaluate if alpha formats should
be presented). So better initialize it correctly - now it perhaps doesn't
matter but to be future-proof.
2024-04-29 10:26:03 +02:00
Martin Pulec
68c5d3b732 gui/.../previewWidget.cpp: include windows.h [Win]
windows.h is required for GetTempPathA and MAX_PATH
2024-04-29 10:24:56 +02:00
Martin Pulec
4e0c46eb9a GPUJPEG 0.25 API compat 2024-04-29 10:23:35 +02:00
Martin Pulec
0f2d95a9b9 Revert "CI FFmpeg Linux: pin Vulkan-Headers"
No longer needed. Moreover, this now prevents the FFmpeg build.

This reverts commit b8f4d15df4.
2024-04-29 10:23:24 +02:00
Martin Pulec
b5c697ba22 CI Windows: install Vulkan
Supposedly, it has been installed as a ffmpeg dependency but now the
MSYS package depends just on vulkan-loader, not headers.
2024-04-29 10:22:58 +02:00
Martin Pulec
f611e9a58c disp/caca: done correctly on no poisoined pill
If no poison pill is passed (eg. some other module,init like vidcap
fails), poisoned pill is currently not passed before the done callback
is called. In case of this module it causes indefinite freeze. Moreover,
the processs cannot be killed from the command-line (neither Ctrl-C nor
Ctrl-\), because the console is "consumed" by CACA.

example of fixed command: `uv -t fail -d caca`
2024-04-29 10:22:21 +02:00
Martin Piatka
e2cf27cee9 GUI/preview: Output alpha channel in fragment shader
Outputing only a vec3 caused weird transparency issues on wayland
2024-04-22 16:57:14 +02:00
Martin Pulec
5ae61a01c4 UltraGrid 1.9.1 v1.9.1 2024-03-20 15:23:38 +01:00
Martin Pulec
d28130df9c added FIXES.md 2024-03-20 15:23:38 +01:00
Martin Pulec
8ec4c897f6 vcap/file: fixed compat 2024-03-20 15:23:37 +01:00
Martin Piatka
6320243e52 CI: Fix Win jack download 2024-03-20 14:52:00 +01:00
Martin Pulec
7f397d2e1c CI FFmpeg Linux libde264 patch: removed reordered_opaque
dropped from upstream
2024-03-20 14:49:32 +01:00
Martin Piatka
6b7d38d6c5 CI: Ubuntu install gcc-10
FFmpeg refuses to build on gcc 9, because of missing intrinsic
_mm256_loadu2_m128i
2024-03-20 14:49:31 +01:00
Martin Pulec
2ccefd5f4f CI Linux FFmpeg: updated libde265 patch
rebased with the current FFmpeg code
2024-03-20 14:18:44 +01:00
Martin Pulec
7fa8a935a2 CI Linux: download rav1e build instead of building own
Building rav1e requires nasm 2.15 (if asm is not disabled) while U20
has just 2.14.02, so that the build in CI currently fails, anyways.

Pick sse4 for now but expect using avx2 version later, depending on
UG_ARCH value.

\+ populate PKG_CONFIG_PATH immediately
2024-03-20 14:18:42 +01:00
Martin Pulec
0f47917883 testcard: fixed mode/size=4k
Since 61544172 (2024-10-10), _4k_ (and similar) modes were not accepted
because lacking FPS specification, which was unintended change in
that commit.
2024-03-06 10:59:23 +01:00
Martin Pulec
200b420b9a to_lavc_vid_conv_init: set tmp_frame attributes
Set tmp_frame width, height and format. Those are not copied by
av_frame_copy_props as supposed by commit 5d3c31c115 (2023-10-31).
As such, this partially revers that commit.
2024-03-01 15:57:58 +01:00
Martin Pulec
8f3d3cc1f0 Windows: issue a warning for PWSH/cmd term only in W10
Do not issue the warning over PowerShell or cmd legacy terminal emulators
in Windows 11. In Window the check doesn't work, because the process
tree is different - the Windows Terminal doesn't have its own process
and it is uv.exe->powershell.exe->exporer.exe.

This improves commit bb2a72f67f.
2024-02-28 13:15:53 +01:00
Martin Pulec
c507f5cfc6 UltraGrid 1.9 v1.9 2024-02-12 16:34:56 +01:00
Martin Pulec
8d6e1a1622 UG 1.9 splashscreen 2024-02-12 16:34:55 +01:00
Martin Pulec
95b344c83e added release 1.9 color 2024-02-12 16:34:52 +01:00
Martin Pulec
3ff011341e CI mac: enforce /Library/Frameworks for Syphon
In CI on x86_64, for some reason, the path defaults to
/Library/Frameworks, while otherwhere to @rpath. So enforce to
/Library/Frameworks to be deterministic.
2024-02-12 14:18:47 +01:00
Martin Pulec
93f9dd074f build/CI macOS: do not handle Syphon specially
\+ build x86_64 from source as well to:

   1. be consistent with the arm64 build
   2. the binary x86_64 already had hardcoded the path @loader_path/../Frameworks/
   instead of @rpath, which would require yet another handling
2024-02-12 11:57:48 +01:00
Martin Pulec
0927dcdabf Makefile Qt6 mac workaround: use dylibbundler without -f
This workaround doesn't work with `dylibbundler -f`. Perhaps nothing to
worry about, since it is just a workaround.
2024-02-12 11:57:48 +01:00
Martin Pulec
1cce11666e CI mac: do not handle VideoMasterHD manually
Use the installer and rely on dylibbundler v2 to deploy the framework
correctly.

Note: in the macOS/install_others.sh script, make sure that the env var
modification is global (== not just in the subshell) in order to be updated
by subsequent commands in the same script.
2024-02-12 11:57:48 +01:00
Martin Pulec
1acce2464e build macOS: do not handle Deltacast specially
Prepare for the VideoMasterHD to be bundled automatically with
dylibbundler v2.

VideoMasterHD is installed to /Library/Frameworks, which is currently
no longer being looked for frameworks by default, so it needs to be
passed as a -F flag to the compiler.
2024-02-12 11:57:47 +01:00
Martin Pulec
52f682306e configure: bundle frameworks by default 2024-02-12 11:57:46 +01:00