Martin Pulec
7f2d148e9f
GitHub CI Win: Version.txt is not present in NDI
...
Windows distribution of NDI usually doesn't contain Version.txt so do
not use it. Moreover the previous way of creating the version file (in
.bashrc) was not perfect.
Write at least NDI major version if NDI_VERSION is not present.
2022-05-23 10:07:10 +02:00
Martin Pulec
afd87e3df3
Backported RTSP capture from master
2022-05-23 10:07:09 +02:00
Martin Piatka
514c9966a4
display/dummy: Add missing <memory> include
2022-05-23 10:07:09 +02:00
Martin Pulec
5948fc3d03
dump display: fixed a crash
...
For opaque codecs (H.264), the allocated size was actually smaller than
(maximal) data len set. That is usually not an issue, but when
destroying, the invalid maximum is exported (because PUTF_DISCARD with
unmodified frame). Steps to reproduce:
uv -t testcard:size=1280x128 -c libavcodec:codec=H.264 -d dump
2022-05-23 10:07:05 +02:00
Martin Pulec
59ac7e486e
lavc: intra-refresh fix
2022-04-12 09:07:24 +02:00
Martin Pulec
443a38bd85
lavc: disable intra refresh for nvenc
...
Do not enable intra-refresh for NVENC - current implementation in FFmpeg
implies infinite GOP, which is useless for UltraGrid.
+ added option to explicitly enable intra refresh (eg. when we know that
it is safe to enable it with FFmpeg, eg. with our patched FFmpeg built
with Linux CI).
2022-04-11 16:39:17 +02:00
Martin Pulec
d858961344
dlerror Win compat: use FormatMessageA explicitly
...
With current flags, -DUNICODE is defined, thus compiling preview.cpp
using wide function (FormatMessageW) implicitly, thus use FormatMessageA
explicitly.
2022-03-23 11:12:09 +01:00
Martin Pulec
a126236fcf
DeckLink cap.: Windows compilation fix
...
BMDVideoOutputConversionMode is enum in Windows (compared to uint32_t in
Linux) and thus the compiler complains about the int->enum cast.
2022-03-23 09:58:12 +01:00
Martin Pulec
79781e37fb
Fixed crash from commit 54befa49
...
Fixed incorrect number of channels allocated when there is channel
remapping, eg.:
uv -s testcard -r dummy --audio-channel-map 0:1
The problem occurs in code introduced by commit 54befa49 but the array
is also used elsewhere, namely read by decode_audio_frame().
2022-03-02 10:25:09 +01:00
Martin Pulec
e0516a3819
DeckLink disp.: fix not supported conversion mode
...
refers to GitHub issue #215
2022-03-02 10:24:59 +01:00
Martin Pulec
4d9df49ead
tv_add_usec: fixed handling of > 2^31 ms offset
...
+ improved a bit
2022-01-25 12:11:22 +01:00
Martin Pulec
7d8c2c7daa
ndi_common.h: properly mark string literal as UTF-8
...
+ missing space before (R) mark
+ make NDI_PRINT_COPYRIGHT macro call look like function
2022-01-14 15:51:45 +01:00
Martin Pulec
14017ee0fe
common_preinit: Win - set output as UTF-8
2022-01-14 15:51:45 +01:00
Martin Pulec
78b608d7b4
ndi_common.h: try also lib in /usr/local/lib
...
NDI redist installer doesn't set NDILIB_REDIST_FOLDER environment
variable and installs to /usr/local/lib by default.
+ fixed too short allocated string - missed length of '/'
2022-01-14 15:51:43 +01:00
Martin Pulec
83b7a610b1
Added NDI branding
2022-01-13 16:43:08 +01:00
Martin Pulec
c32dd4bd4e
NDI: open dynamically on runtime
...
To avoid adding NDI library yet allowing user to install it separately and use it with UG.
2022-01-11 13:28:48 +01:00
Martin Pulec
c53d966e80
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-07 09:46:11 +01:00
Martin Pulec
695ed90df6
Fixed compilation when HTTP SDP is disabled
2021-11-25 16:11:11 +01:00
Martin Pulec
e0f2ddeb57
lavc JPEG: fixed broken JPEG if threads=no
...
Fixed broken JPEG produced by current FFmpeg if slices > 1 and
threads = 1.
2021-11-25 13:05:01 +01:00
Martin Pulec
5957be49a3
Fixed handling of newly reserved PT 95
2021-11-23 16:30:40 +01:00
Martin Pulec
fe92b06ebc
Splashscreen: improved background gradient
...
Use non-linear gradient for the background to avoid sharp borders of the
background visible with on finer displays.
2021-11-18 13:45:52 +01:00
Martin Pulec
5b3bc89e93
Image pattern generator: fixed gradient2
...
- "gradient" is prefix of "gradient2" and the first was checked earlier
thus gradient2 was never selected
- incorrect check for boundaries with min instead of max
2021-11-12 09:58:45 +01:00
Martin Pulec
240630357a
Updated splashscreen to 1.7
2021-11-09 10:43:08 +01:00
Martin Pulec
7add441e60
Updated version color to bright_blue
2021-11-09 10:43:08 +01:00
Martin Pulec
b273b3597f
Rang: enable also other 3-/4-bit ANSI colors
...
Enabled remaining 3-/4-bit ANSI colors as per:
https://en.wikipedia.org/wiki/ANSI_escape_code#3-bit_and_4-bit
rang.hpp header is now synced with:
https://github.com/MartinPulec/rang/blob/master/include/rang.hpp
2021-11-09 10:21:35 +01:00
Thomas Menari
c2978c0031
[decklink] fix stereo 3D supportedFlags
2021-11-08 16:00:22 -08:00
Martin Pulec
1b3b27eb7c
Updated copyright dates for modified files
2021-11-08 15:43:14 +01:00
Martin Pulec
2521925c87
DeckLink: return to default BPS == 4
...
This partially reverts 2a511d58 . The value 4 should be default now (best
quality), BPS==2 should be perhaps set later by a preset (after/if
implemented).
2021-11-08 09:22:32 +01:00
Martin Pulec
d3fa4437e5
Reed-solomon: added decoder stub
...
Added stub allowing dummy decode (without error correction) for the
receiver basic run.
2021-11-05 13:47:15 +01:00
Martin Pulec
30db5b4fed
RS: loop readibility fix
2021-11-05 12:03:44 +01:00
Martin Pulec
e5716f3f5c
Reserve PT 95 for future use in UG
...
+ do not abort on unknown PT in audio
2021-11-05 10:43:59 +01:00
Martin Pulec
65435cb45f
RTP PT: commented PT_JPEG
...
Clarify that PT_JPEG isn't our JPEG but RFC-compliant.
2021-11-05 10:43:59 +01:00
Martin Pulec
0cfc4c778a
Video decoder: support unknown FPS values
...
Support FPS values that are not understood by UG (FPSd == 0) and
replace it by 30.
This is a forward compatibility feature when there may be special meaning FPS
values (unlimited etc.) but it can still be displayed, especially by displays
that don't honor FPS value like OpenGL.
2021-11-05 10:43:57 +01:00
Martin Pulec
c84d62f4ed
Logger: oneshot messages suppport
2021-11-05 10:39:33 +01:00
Martin Pulec
6878d5de4b
Audio playback SDI: s/capture/playback
2021-11-04 10:13:35 +01:00
Martin Pulec
2e13a04dff
Key control: print version
...
May be used for quick check if not running an obsolete UG during
runtime.
2021-11-01 09:20:44 +01:00
Martin Pulec
3c8c126ce9
nat.c: fixed uninitialized var (Coverity)
2021-10-27 14:35:07 +02:00
Martin Pulec
dfe80f3348
keyboard_control.cpp: refactor a bit the audio query stuff
...
(related to previous commmit)
2021-10-27 14:35:07 +02:00
Martin Pulec
2ec8eec912
Audio: display muted status even if not sending
...
Originally mute for both sender and receiver were dispatched by the
sender, which doesn't need to be present, however.
2021-10-27 13:31:17 +02:00
Martin Pulec
38b57ff076
GL: pretty print help
...
+ added SPOUT to Syphon for hide_window use case
2021-10-26 17:54:12 +02:00
Martin Pulec
04734e0ebc
Define ug_strerror for thread-safe strerror abstraction
2021-10-26 10:49:07 +02:00
Martin Pulec
2594da5a09
Wav writer: report write errors
2021-10-26 10:17:29 +02:00
Martin Pulec
ef48f01727
Fixed video dec stats
...
Adding of displayed and corrupted frames was accidentaly removed by a779d96c .
2021-10-22 12:42:57 +02:00
Martin Pulec
940399988a
Lavd: option to dump decompressed frame
2021-10-22 09:21:52 +02:00
Martin Pulec
0b621fdadc
Libavcodec common: copy all planes with memcpy_data
...
This function may not be used at all but just to make sure.
2021-10-20 08:23:16 +02:00
Martin Pulec
a779d96c6d
Logger: fixed wrong value message
2021-10-18 13:26:57 +02:00
Martin Pulec
ceb5f72b20
Lavc: set AVCodecContext::bits_per_raw_sample
2021-10-18 13:13:11 +02:00
Martin Pulec
bc076a4dc4
Libavcodec common: added r12l_to_gbrp16le
2021-10-18 11:23:27 +02:00
Martin Pulec
698ab75308
NAT PMP: updated timeout handling
...
- chech return value of getnatpmprequesttimeout()
- break the loop after 5 seconds (to avoid infinite loop)
2021-10-18 08:53:12 +02:00
Martin Pulec
c411addea4
Libavcodec common: added gbrp12le_to_r10k specialization
2021-10-15 16:47:04 +02:00