7095 Commits

Author SHA1 Message Date
Martin Pulec
d3907092a3 UltraGrid 1.8.1 v1.8.1 2023-01-19 10:06:22 +01:00
Martin Pulec
ca02763d19 added v1.8.1 FIXES.md 2023-01-19 10:06:08 +01:00
Martin Pulec
1cfc38cfb3 CI: fixed Windows natpmp build error
Fixes failed run  https://github.com/CESNET/UltraGrid/actions/runs/3894640814/jobs/6648919900.

cmd.exe script for unknown reason ceased to work, copied appropriate
parts of script to our script.

+ use shell debug flag for the script
2023-01-19 09:59:31 +01:00
Martin Pulec
de25c53b9e AppRun firejail: removed deprecated --shell
firejail repors it's deprecated as for 0.9.72 and refuses to run
2023-01-19 09:59:31 +01:00
Martin Pulec
0e665d284e vo_postprocess: updates
- fixed filters that multiply output images than receive, like
  double_framerate
- refuse filter chain (longer than 1) from complex filter - it doesn't
  currently work
2023-01-18 09:14:22 +01:00
Martin Pulec
9a532f6ae6 macOS: fixed Vulkan shader bundling/loading 2023-01-18 09:09:21 +01:00
Martin Pulec
9b58e9e481 configure: link with libMoltenVK on macOS
+ install MoltenVK with CI
2023-01-18 09:09:11 +01:00
Martin Pulec
3212e86efc CI Linux: enable Vulkan
enabled Vulkan build on U18.04 runner
2023-01-18 09:08:32 +01:00
Martin Pulec
f9c9daf8b3 Vulkan: replace std::byte with unsigned char
again, compat with U18.04
2023-01-18 09:08:22 +01:00
Martin Pulec
1528b29100 Vulkan: compat - do not use from_chars 2023-01-18 09:08:13 +01:00
Martin Pulec
2e5291985d fixed data dir lookup (Vulkan)
In Windows, uv.exe is directly in top-level directory, not in "bin"
subdirectory. Thus, cut "bin" suffix only if there is any.

This fixes Vulkan shaders not being found - eg. "C:\UltraGrid\uv.exe"
resulted in shaders being searched in "C:\shaders"
(UltraGrid/../shaders).
2023-01-18 09:08:03 +01:00
Martin Pulec
6f0b57bc58 print display mode by disp. module
Printout by video decoder might have been incorrect if there is a
postprocessor that changes properties, eg.:

    uv -t testcard:fps=50i -d gl -p double_framerate

printed 50i but display was actually set to 50p.
2023-01-18 09:07:07 +01:00
Martin Pulec
645b01c768 av_log_ug_callback: fixed incremental printout
FFmpeg doesn't always use to logger for whole lines, resulting in
smoething like:

    [lavc libx264 @ 0x6e93f000b280] Possible tunes:[lavc libx264 @ 0x6e93f000b280]  film[lavc libx264 @ 0x6e93f000b280]  animation[lavc libx264 @ 0x6e93f000b280]  grain[lavc libx264 @ 0x6e93f000b280]  stillimage[lavc libx264 @ 0x6e93f000b280]  psnr[lavc libx264 @ 0x6e93f000b280]  ssim[lavc libx264 @ 0x6e93f000b280]  fastdecode[lavc libx264 @ 0x6e93f000b280]  zerolatency[lavc libx264 @ 0x6e93f000b280]

So we should prefix only the line after <nl>.
2023-01-18 09:06:29 +01:00
Martin Pulec
0bd0fafd3c double-framerate: small fixes
- fixed taking codec from input frame (that may be NULL)
- set drop policy only if option nodelay is used - after the previous
  changes, the second frame is correctly output and the filter delays
  it output automatically (until "nodelay" is used)
2023-01-18 09:03:33 +01:00
Martin Pulec
90af29ba4e fixed display generic indicator display if there is a PP 2023-01-18 08:59:38 +01:00
Martin Pulec
706cb40692 vo_postprocess.c: fixed running double_framerate
double_framerate takes input frame first and then nothing and it
generates another frame with NULL input so modify the assert so.
2023-01-18 08:58:20 +01:00
Martin Pulec
8f7ac6c8bc double_framerate: fixed running without args 2023-01-18 08:58:01 +01:00
Martin Pulec
0ce6c43956 Spout: build fix
LibLogLevel has renamed to SpoutLibLogLevel
2023-01-18 08:57:29 +01:00
Martin Piatka
c9f84c8698 CI/Linux: Use 2.x branch for SDL_mixer
The master branch is now SDL3 and among other changes it now uses cmake
instead of autotools.
2023-01-17 13:48:24 +01:00
Martin Piatka
4b0664f967 GUI: Fix crash when refreshing capabs while codec settings are open 2023-01-17 13:21:44 +01:00
Martin Piatka
5ac4307b87 GUI: Fix codec settings refresh 2023-01-17 13:21:37 +01:00
Martin Piatka
5a2a9d89db vulkan: Fix RG48 being misinterpreted as signed
Also drop the 'A', because it has no alpha channel
2023-01-17 13:07:05 +01:00
Martin Piatka
e8152fa5da fps indicator color fix
Fixes 5433765b4
2023-01-17 13:06:06 +01:00
Martin Pulec
2e5e618187 AVFoundation: keep devices order
closes GH-276
2023-01-03 15:37:32 +01:00
Martin Pulec
505076bbf9 fixed vc_copylineV210toY216 conversion 2023-01-02 15:19:57 +01:00
Martin Pulec
8cd5cd0671 fixed qsv encode fail
null string pointer was passed for look_ahead instead of zero

Removed the option altogether since it is 1. not supported for hevc_qsv
and 2. default for h264_qsv in FFmpeg since 2018-03-01 (commit 0645698).
2023-01-02 15:19:31 +01:00
Martin Pulec
90e2bd5631 CI: pass GITHUB_TOKEN to bypass rate limiting
see https://github.com/MartinPulec/UltraGrid/actions/runs/3821590834/jobs/6500891823
2023-01-02 15:19:19 +01:00
Martin Pulec
030619d72c AppImage: fixed appimageupdate not running on U22.04
libfuse2 is missing there
2023-01-02 15:18:47 +01:00
Martin Pulec
a7e3f63749 CI: avoid missing debhelper-compat(=12) on U20.04
see failed run https://github.com/CESNET/UltraGrid/actions/runs/3657908562

See also 438dbfa4 - `aptitude build-dep` for whatever reason fails on GH
CI ON installation of debhelper-compat(=12), which is a virtual package
provided by debhelper, apt doesn't.

log:

    + sudo aptitude -y build-dep libsdl2-mixer libsdl2-ttf libsdl2-dev:
    [...]
    Building tag database...
    Unable to apply some actions, aborting
    Unable to satisfy the build-depends: Build-Depends: debhelper-compat (= 12)
2023-01-02 15:12:10 +01:00
Martin Pulec
38c3c195fc UltraGrid 1.8 v1.8 2022-12-09 14:08:12 +01:00
Martin Pulec
3c57f67919 UG 1.8 branding
version text color + splashscreen
2022-12-09 14:08:12 +01:00
Martin Pulec
9dc2c8f8f3 testcard: summary - print rather bpc than bpp
bpp represented rather the container size, so both for RGBA and R10k it
was 32 b (and eg. for v210 21.33 instead of actual 20). bpc (bit depth
per component) seems to be more comprehensible value.
2022-12-09 12:47:30 +01:00
Martin Pulec
6b87da86b5 AV_CODEC_CAP_OTHER_THREADS compat
AV_CODEC_CAP_OTHER_THREADS was AV_CODEC_CAP_AUTO_THREADS in older
libavcodec versions.
2022-12-09 12:09:43 +01:00
Martin Pulec
bfe2ee4255 CI Linux FFmpeg: add openVPL
refer to GH-270
2022-12-09 10:52:07 +01:00
Martin Pulec
5afbd5c1ef added fallback yuv444p12le_to_uyvy 2022-12-08 16:18:08 +01:00
Martin Pulec
dabcc0c6f7 added convs from AV_PIX_FMT_YUV444P12LE to Y416,v210
+ added missing always_inline attributes
2022-12-08 16:13:54 +01:00
Martin Pulec
f99e011417 added yuv444p16le_to_y416
refers to GH-275
2022-12-08 14:29:06 +01:00
Martin Pulec
9753112d42 updated NEWS 2022-12-08 13:34:57 +01:00
Martin Pulec
d3130c0038 color_out: added dark yellow
+ helper macros for normal yellow
2022-12-08 10:43:10 +01:00
Martin Pulec
df235228cd vulkan: use Vulkan in window name instead of SDL2 2022-12-07 14:20:50 +01:00
Martin Pulec
6e4e85d6db crop: prefer "size" than width/height
Added option "size" instead of separate "widht"/"height". Both
dimensions need to be entered, anyway, so it is not needed to type more
characters than necessary.

Width/height param is parsing is left for compatibility (for now).
2022-12-07 12:39:50 +01:00
Martin Pulec
b61d7ddf37 lavd: added/fixed aligntment assertions 2022-12-07 12:39:49 +01:00
Martin Pulec
04cd6d4651 added yuv444p10le_to_y416
+ announce Y416 lavd conversions (to Y416 and internal Y416)

closes GH-275
2022-12-07 12:39:49 +01:00
Martin Pulec
ae70df176d dummy display: small refactor (fmt parse func)
+ missing includes
+ check codec array overflow
2022-12-07 12:39:49 +01:00
Martin Pulec
fd9821dc75 dummy disp: allow multiple codecs for "codec" opt 2022-12-07 12:39:49 +01:00
Martin Pulec
ffcf7d3117 vulkan yuv->rgb conv: mark coefs as BT.709
The values were marked as a placehoolder (as in GL) but are constants
here, namely BT.709 so rename it as such.
2022-12-07 12:39:43 +01:00
Martin Piatka
f213c0649f lavd: Add initial nvdec support
Note that only copy mode is supported right now - meaning that decoded
frames are copied from the GPU to the system memory. For simpler codecs
like H.264 this could actually be slower than sw. decoding. VDPAU is
probably still a better choice for codecs supported by it.

Right now ffmpeg prioritizes vdpau, so this will get selected only when
vdpau is unavailable or fails to initialize.
2022-12-06 15:54:24 +01:00
Martin Pulec
b22318634d lavc NVENC: use param lavc-rc-buffer-size-factor if set
+ hint
2022-12-06 15:48:10 +01:00
Martin Pulec
19aaeeb3c8 fixed a crash of vidcaps with own FPS indicator 2022-12-06 15:00:55 +01:00
Martin Pulec
06f74f7592 lavc NVENC: warn if FFmpeg is not patched 2022-12-06 14:27:06 +01:00