Martin Piatka
b06aa33dfd
PTP: Fix formatting
2026-02-11 13:56:28 +01:00
Martin Piatka
77d2b63c3e
aplay/aes67: Configurable session name & info
2026-02-11 13:56:28 +01:00
Martin Piatka
e2b9690402
aplay/aes67: Remove unused stream name & description fields
2026-02-11 13:56:28 +01:00
Martin Piatka
c992b5ae2d
aplay/aes67: Use swap_endianity
2026-02-11 13:56:28 +01:00
Martin Piatka
eb7370260b
aplay/aes67: Add automatic half packet time offset
2026-02-11 13:56:28 +01:00
Martin Piatka
f071bbe098
aplay/aes67: Simplify stream format handling
2026-02-11 13:56:28 +01:00
Martin Piatka
42298974f5
aplay/aes67: Fix warnings
2026-02-11 13:56:27 +01:00
Martin Piatka
d5db700d01
utils/ptp: Fix warnings
2026-02-11 13:56:27 +01:00
Martin Piatka
81cc5998bb
utils/ptp: Remove excessive logging
2026-02-11 13:56:27 +01:00
Martin Piatka
c4a7fa3d6c
aplay/aes67: Start when PTP clock locks
2026-02-11 13:56:27 +01:00
Martin Piatka
7fe38b78bd
utils/ptp: Lock status based on err moving avg
2026-02-11 13:56:27 +01:00
Martin Piatka
41ff2f33dd
aplay/aes67: Use actual ptp clock id in SDP
2026-02-11 13:56:27 +01:00
Martin Piatka
0392227e17
utils/ptp: Ignore packets from other clocks
2026-02-11 13:56:27 +01:00
Martin Piatka
ea9429b910
utils/ptp: Header parsing WIP
2026-02-11 13:56:26 +01:00
Martin Piatka
106790150f
utils/ptp: Process all event packets
2026-02-11 13:56:26 +01:00
Martin Piatka
f910ef27f7
utils/ptp: Use platform_sched
2026-02-11 13:56:26 +01:00
Martin Piatka
5aac5ad35b
aplay/aes67: Use platform_sched
2026-02-11 13:56:26 +01:00
Martin Piatka
c6503bc588
compat: Add platform_sched for setting scheduler priorities
2026-02-11 13:56:26 +01:00
Martin Piatka
91c79c8534
utils/ptp: Separate threads for event and general messages
2026-02-11 13:56:26 +01:00
Martin Piatka
9fe620369f
utils/ptp: Use seq_cst atomics for clock data
2026-02-11 13:56:26 +01:00
Martin Piatka
1ae8246839
aplay/aes67: Use PTP
2026-02-11 13:56:26 +01:00
Martin Piatka
82b4173070
Makefile.in: Add utils/ptp
2026-02-11 13:54:18 +01:00
Martin Piatka
7a47d2dc94
Add utils/ptp
2026-02-11 13:54:17 +01:00
Martin Piatka
0f608677b2
utils: Add delay-locked-loop
...
Took the implementation from Pipewire. Used to calculate a rate
correction factor to synchronize two streams.
2026-02-11 13:52:27 +01:00
Martin Piatka
df4ccf37ff
configure.ac: Add aplay/aes67
...
diff --git c/configure.ac i/configure.ac
index f8f6cc962..ec22d7a44 100644
--- c/configure.ac
+++ i/configure.ac
@@ -3528,6 +3528,7 @@ if test "$build_default" != no || test "$req_files" = all; then
src/capture_filter/temporal_3d.o
src/utils/sdp_parser.o
src/audio/capture/aes67.o
+ src/audio/playback/aes67.o
src/video_capture/aggregate.o
src/video_capture/import.o
src/video_capture/switcher.o
2026-02-11 13:48:29 +01:00
Martin Piatka
4a014f7963
aplay/aes67: Initial
2026-02-11 13:48:28 +01:00
Martin Piatka
16de3329ac
rtp/net_udp: Add RAII wrapper for socket_udp
2026-02-11 13:48:04 +01:00
Martin Piatka
b7e5bd6f16
GUI: liveWidget: Fix unused param warn
2026-02-11 12:41:44 +01:00
Martin Piatka
3832fdaa7f
GUI: liveWidget: Fix alignment on HiDPI
2026-02-11 12:41:44 +01:00
Martin Pulec
d731069286
configure.ac: set vulkan_sdl_ver
...
used in summary (and assumed defined) but unset if vulkan not found/enabled
2026-02-10 15:20:52 +01:00
Martin Pulec
5858331f19
vcap/decklink: add autodetect-once option
...
This can be used as a workaround when for some reason the format flips.
It sometimes occur eg. for PsF formats which is detected as progressive
or vice versa. Maybe a driver issue but this option may be used as
workaround also in other cases.
For the above-mentioned case, it helps also setting :mode= explicitly
or using :cfpr=yes|no.
2026-02-04 08:21:40 +01:00
Martin Pulec
426382bc12
Coverity CI: set -u
...
If the curl for filename fails, do not succeed with restoring the cache
with partial match. This will return false which may be unexpected
(typically this is correlated when the Coverity servers are down).
2026-02-03 09:11:59 +01:00
Martin Pulec
30f61c5eba
vcap/screen_avf: simplified a bit
...
used asnprintf
continuous
2026-01-23 15:45:35 +01:00
Martin Pulec
b388cf3617
configure.ac: add_column - use "${?}"
...
enclose in quotation marks and use ${?} syntax to get more predictable
results - avoid/handle multi words + ensure it is defined
2026-01-23 15:45:35 +01:00
Martin Pulec
785b66f452
configure.ac: removed bashism (seq)
2026-01-23 15:45:29 +01:00
Martin Pulec
3c294732d3
configure.ac: do not use subshels for summary gen
2026-01-23 15:38:33 +01:00
Martin Pulec
9acfc05fee
screen_avf: fixed cfg string copy leak
2026-01-23 15:38:33 +01:00
Martin Pulec
a7314698ee
rtp: fix uninitialized atomic variable
...
Coverity complains about that (CID 472128), possibly rightfully - it
seems like the init of atomic variable doesn't need to be necessarily
atomic (while the asignment is).
2026-01-23 15:38:33 +01:00
Martin Piatka
5b3490f769
GUI: Add "LIVE" indicator
2026-01-23 15:10:28 +01:00
Martin Pulec
725cab8d6b
CI Linux FFmpeg: apply SVT-AV1 patch
...
current FFmpeg version dd2976b9 doesn't compile with SVT-AV1 commit
9485b939 with following error:
```
libavcodec/libsvtav1.c:240:14: error: ‘EbSvtAv1EncConfiguration’ has no member named ‘enable_adaptive_quantization’
240 | param->enable_adaptive_quantization = 0;
```
2026-01-23 13:12:42 +01:00
Martin Pulec
696fd4da47
Revert "CI macOS 14 (arm64) deployment fix"
...
This reverts commit f9963c42ad .
This workaround is no longer needed, on the contrary, it breaks the CI
now: <https://gist.github.com/MartinPulec/067c8e7ff87ddf04e1285556f33d8d2b >
2026-01-22 09:46:53 +01:00
Martin Pulec
6a92e897b5
cap/avf,ca: print that capturing explicitly
...
to eventualy comply with Apple Developer Program License Agreement 3.3.3.A
2026-01-21 16:09:22 +01:00
Martin Pulec
064930e741
screen_avf: probe: fixed swapped name/dev
...
+ missing "d" in dev specifier (should be ":d=100" for 1st screen)
2026-01-21 13:29:46 +01:00
Martin Pulec
bd2eace525
compat/c23: improved
...
- for bool, nullptr compat, the comparison to 202311L should be <, not <=
- separate bool/nullptr compat for clarity
- improved countof compat - if c23, check stdcountof.h presence with
__has_include and use if present rather than defining the macro always
2026-01-21 08:53:31 +01:00
Martin Pulec
182119dc26
vcap/avf: fix c&p error in compat
2026-01-21 07:55:20 +01:00
Martin Pulec
3ae62524d1
vcap/screen_avf: set device d=100 if unspec
...
Otherwise d=0 would be initialized implicitly, which isn't screen cap
device but rather FaceTime HD Camera or so.
2026-01-20 15:09:06 +01:00
Martin Pulec
74c47c53bd
module: IWYU
...
Because many of files didn't include messaging.h and used to have included
it indirectly, in all of them, the correct messaging.h include must have
been added.
2026-01-20 14:40:45 +01:00
Martin Pulec
7b654221f8
module.c: dead-lock check always disabled
...
It requires _POSIX_TIMEOUTS to be defined (as it isn't in macOS) but
unistd.h was never included so it wasn't used even on platforms where
pthread_mutex_timedlock() is implemented.
2026-01-20 14:40:45 +01:00
Martin Pulec
728ec40195
color_out.h: do not include macros.h
...
Included with debug.h (for logger) so it would leak the definitions to
almost all compilation units.
Just STRINGIFY is required so rather make a local copy of the macro
(prefixed COLOR_OUT).
+ include macro.h in files that should include that but didn't include
it directly
2026-01-20 14:40:41 +01:00
Martin Pulec
d0c3cde8ef
vcap/avf: fix typo in mode
2026-01-20 13:42:35 +01:00