Martin Pulec
6a27ce5ad6
File cap.: use FF_THREAD_FRAME | FF_THREAD_SLICE
...
The latency doesn't matter much here and it allows some files to decode
realtime that were not able to before.
2021-07-21 13:37:27 +02:00
Martin Pulec
b121b087d1
File cap.: use queue for video frames
2021-07-20 15:57:48 +02:00
Martin Pulec
d5086005f0
Deltacast: removed deprecated items
2021-07-19 14:08:21 +02:00
Martin Pulec
b80658f721
SDI: use value of param audio-buffer-len
2021-07-19 10:40:07 +02:00
Martin Pulec
3056add1d9
Lavd: error on unknown decoder
2021-07-13 15:07:12 +02:00
Martin Pulec
9eadbe2465
ug_options: fixed wrong variable used
2021-07-09 10:20:13 +02:00
Martin Pulec
1f3e266478
Sender mode: client - send keep-alive only 1/s
2021-07-09 10:20:13 +02:00
Martin Pulec
49208387da
main: moved getopt parsing to a separate function
2021-07-09 10:20:13 +02:00
Martin Pulec
3b6a1dd160
main: decouple verbosity parsing to host.cpp
2021-07-09 10:20:13 +02:00
Martin Pulec
8e5855e109
main: moved some logic to adjust_params
2021-07-09 10:20:12 +02:00
Martin Pulec
785405f885
main: options to separate struct
...
To allow a refactor.
+ ditto for audio init
2021-07-09 10:20:12 +02:00
Martin Pulec
77c0ef63ef
RTP UDP: fixed udp-disable-multi-socket help string
...
Actual option keyword/usage was not printed.
+ small explanation of the meaning/reasoning
2021-07-09 10:20:12 +02:00
Martin Piatka
d7da9c6f0d
openxr_gl: Add Windows support
2021-07-02 16:36:18 +02:00
Martin Piatka
532af88f91
Move Sdl_window to its own file
...
Although Sdl_window has some OpenGL code in it, it's not strictly
related to OpenGL. Because of that it doesn't make much sense to group
it with the other classes in opengl_utils.hpp
2021-07-02 16:36:17 +02:00
Martin Pulec
35a09bb1ab
Server mode: minor improvements
...
- adjust receiver in rtp_process_data() - in previous location, the
packet might have been freed (in unusual scenario)
- do not check if sending to blackhole for every packet - do the check
only once per frame
2021-06-29 16:53:52 +02:00
Martin Pulec
06255cf41f
Server: print client identifier
2021-06-29 16:19:04 +02:00
Martin Pulec
941fdf6961
Server mode: start dummy/testcard cap/disp only if necessary
2021-06-29 14:33:10 +02:00
Martin Pulec
df7958487a
Server mode: support audio
2021-06-29 14:06:47 +02:00
Martin Pulec
cb6f490dc0
Audio testcard: add assert check
2021-06-29 14:02:08 +02:00
Martin Pulec
b023e8e608
Added server/client mode
...
Allows NAT traversal when server (sender) is outside the NAT.
2021-06-29 08:59:29 +02:00
Martin Pulec
009abc6d39
Video_rxtx rtp: small refactor
2021-06-29 08:59:28 +02:00
Martin Pulec
781222fcfe
RTP UDP: record src addr also with with multithreaded recv
2021-06-29 08:59:28 +02:00
Martin Pulec
d47c708e9e
Configure: detect also system zfec
...
Detect and use zfec provided by python-zfec3 in Ubuntu.
+ added option --with-zfec for custom path
2021-06-29 08:59:25 +02:00
Martin Pulec
8eb8ecfcac
Fixed 711eb170
2021-06-28 14:42:11 +02:00
Martin Pulec
6ac6715da5
Small cross-compile fixes
...
- $GENICAM_GENTL64_PATH may be defined in Linux but the path inside the
dir is then invalid when cross-compiling for Windows
- rang.hpp included transitively from video_frame_pool.cpp needs _WIN32_WINNT
at least to _WIN32_WINNT_VISTA prior including other headers - it is
defined in config_win32.h
2021-06-24 16:42:58 +02:00
Martin Pulec
bba039e0a5
Screen X11: check received buffer with assert
...
The returned value may be also NULL
2021-06-21 11:35:22 +02:00
Martin Pulec
711eb170ad
RTP video decoder: check bounds also for compressed/FEC
...
Check bounds also for compressed/FEC streams to avoid crashes and/or
potential attacks. This can occur for instance when VR has some
unexpected data outside the buffer.
2021-06-21 11:05:31 +02:00
Martin Pulec
3dd7a82a69
DeckLink disp.: use word "recognized" for pix fmts in help
...
There was "Supported pixel formats" which was a bit misleading since it
indicates that the pixel format is supported by UltraGrid but it doesn't
need to be supported by the card.
2021-06-17 17:04:45 +02:00
Martin Pulec
f7b5160e44
Lavc: use sets to avoid duplicities
...
(and to do the actual sort in get_available_pix_fmts())
2021-06-16 12:28:47 +02:00
Martin Pulec
b23736770b
Added image_pattern_raw
...
Added raw image data generator that user can use to provide raw image
data that won't be color-converted. This could be useful eg. for testing
out-of-range YUV values.
2021-06-16 12:27:14 +02:00
Martin Pulec
36c8b53ad2
Added also y216_to_yuv422p16le
...
yuv422p16le is actually a preferred format over yuv422p10le by FFmpeg so
this conversion may be useful in future.
2021-06-14 16:57:14 +02:00
Martin Pulec
703208432c
Added y216_to_yuv422p10le
...
yuv422p10le is eligible intermediate format for Y216 to libx264/libx265.
2021-06-14 16:57:14 +02:00
Martin Pulec
34c8055dc8
Small include changes
...
To allow some files compile outside UltraGrid (without config.h) for
standalone convert.
2021-06-14 16:57:14 +02:00
Martin Pulec
98a301c0b1
get_decoder_from_uv_to_uv: fixed assertion
2021-06-14 16:56:37 +02:00
Martin Pulec
2f2bc80a61
Fixed y216_to_yuv444p16le
2021-06-14 14:46:33 +02:00
Martin Pulec
0a1f29533d
NDI cap.: better stride handling
...
- do not assert it equal line width - may be either different or 0 (default)
- respect the stride where possible (not sure for P216, which is planar)
2021-06-08 16:04:44 +02:00
Martin Piatka
eab94c12c0
Remove some unused includes
...
Removes some unused includes reported by include-what-you-use
2021-06-08 15:22:25 +02:00
Martin Pulec
e6a59fe0ed
NDI disp.: fixed parsin of name opt
2021-06-07 08:23:36 +02:00
Martin Pulec
376e3e4bcf
gettimeofday_replacement: improved computitation
...
* simplified + keep computation in long long
* overflow check with DEBUG
2021-05-28 08:52:00 +02:00
Martin Pulec
f8fd2f872e
Logger: option to enable/disable timestamps
2021-05-26 16:15:39 +02:00
Martin Pulec
f06204262b
Use environment variable ULTRAGRID_VERBOSE
2021-05-26 14:48:53 +02:00
Martin Pulec
1d47a5f00d
Initialize audio network only if used
2021-05-26 11:19:18 +02:00
Martin Pulec
613c62bf54
Lavc: fixed get_decoder_from_uv_to_uv
...
Improved UG decoder selection in get_decoder_from_uv_to_uv - now is
selected nearest better codec.
+ written a test for the above
2021-05-25 10:11:30 +02:00
Martin Pulec
3c81b3b04c
SDL2: dropped frame warn with logger
...
Allows aggregation of messages and thus not congesting the output.
2021-05-25 08:22:34 +02:00
Martin Pulec
ec854785ce
Video codec: added subsampling
2021-05-21 19:40:18 +02:00
Martin Pulec
5fdaef03a3
GitHub CI [Linux ARM]: use code checked out by GitHub
...
Use code checked out by GitHub Action - previously there was a clone
but we want rather the actual code, which doesn't need to be in master
branch of the main repository.
This also requires a small refactor (chroot in home rather than in
$GITHUB_WORKSPACE)
2021-05-21 19:40:15 +02:00
Martin Pulec
bb1405fad3
Added hint to disable output buffering in MSYS terminal
2021-05-21 13:43:56 +02:00
Martin Pulec
3783ac09bf
hwaccel_vaapi.h: remove libavcodec/vaapi.h include
...
Include libavcodec/vaapi.h only if used. It is already removed upstream.
2021-05-21 13:43:55 +02:00
Martin Pulec
23c887d0a3
Debug: allow ANSI colors for MSYS
...
Assume that MSYS is capable of displaying ANSI sequences even if
setWinTermAnsiColors fails.
2021-05-20 13:42:15 +02:00
Martin Pulec
c0a17534cc
Fixed newly detected Coverity issues
2021-05-20 11:04:52 +02:00