Commit Graph
43 Commits
Author SHA1 Message Date
Patrick Nicolas b72554ea02 Enable split nvenc encoders by default 2025-07-28 17:18:26 +02:00
galister 5307f2fe62 pass bit_depth to probe_nvenc 2025-07-14 08:47:45 +02:00
galister ec42db83bc change encode_10bit → bit-depth 2025-07-11 23:09:37 +02:00
galister ed32676299 10-bit encoding as a global setting 2025-07-11 23:09:37 +02:00
galister d64d5909ee vaapi: 10-bit hevc/av1 encoding 2025-07-11 23:09:37 +02:00
Patrick Nicolas 11cd9235d9 Allow multiple configuration files
Will merge contents from
@CMAKE_INSTALL_PREFIX@/share/wivrn/config.json
/etc/wivrn/config.json
~/.config/wivrn.config.json (XDG_CONFIG_DIR in fact)

If -f option is provided, just parse that file, don't merge anything
2025-07-06 10:22:25 +02:00
galister e29a08ea2e Revert "bump default eye-tracked scale to 0.4"
This reverts commit f5b6faf327.
2025-06-07 23:22:14 +02:00
galister f5b6faf327 bump default eye-tracked scale to 0.4 2025-06-07 05:58:05 +09:00
Patrick Nicolas b1a73f7352 Disable split encoders on nvenc by default 2025-04-07 16:51:11 +02:00
Patrick Nicolas c4cc16cd3f Use width/height multiple of 32 for nvenc probing 2025-02-17 16:15:58 +01:00
Patrick Nicolas 802a96572e Probe for nvenc support 2025-02-14 22:04:26 +01:00
galister e9f4b52b50 wip: set bitrate at runtime 2025-02-07 19:00:34 +01:00
Patrick Nicolas b16e7e1c3d Fix parsing of ffmpeg version 2024-12-05 11:18:29 +01:00
Patrick Nicolas ba47c80213 Fix 32bits warnings 2024-11-30 13:16:39 +01:00
Patrick Nicolas 9bd23ac930 Use h264 as default codec for any encoder 2024-11-10 17:03:48 +01:00
Patrick Nicolas 3d062df2b6 Default to h264 for vulkan encode 2024-11-10 16:46:28 +01:00
Patrick Nicolas e01486110e Clamp encoder extents to width/height 2024-11-10 16:11:43 +01:00
Patrick Nicolas 5d5f4b8af4 Enforce alignment of whole image and splits 2024-11-10 11:09:58 +01:00
Patrick Nicolas 410b112fcf Support passthrough for stream 2024-11-06 19:50:44 +01:00
Patrick Nicolas 78f7411265 Change codec preference order to AV1,h264,h265 2024-11-03 10:06:06 +01:00
Patrick Nicolas b1676d6707 Enable 3 encoders by default 2024-11-02 23:01:07 +01:00
Patrick Nicolas 66aa729fbc Smarter encoder group selection 2024-10-09 19:27:58 +02:00
Patrick Nicolas 28284a9694 wivrn namespace: move all server classes 2024-10-03 23:39:32 +02:00
Patrick Nicolas fdb79b1939 Drop xrt::drivers namespace 2024-10-03 23:39:32 +02:00
Guillaume Meunier 674343c74f Use cmakedefine01 instead of cmakedefine 2024-10-01 21:46:41 +02:00
Patrick Nicolas b6a6689323 Make "encoder" and "codec" optional in configuration 2024-09-22 16:35:24 +02:00
Patrick Nicolas 1bd98881ff Fix build with vaapi disabled 2024-09-12 15:51:41 +02:00
Patrick Nicolas 5c8310e88f Tweak default values, fix docs
default client scale: 1.0 -> 1.4
default server scale: 0.8 -> 0.5 (0.35 if eye tracked)

added docs for av1 as default when supported
fixed docs about multiple encoders, it's not enabled by default
2024-09-06 21:02:22 +02:00
Patrick Nicolas 481c922143 Select compatible codec for vaapi when no config is given 2024-08-31 22:07:56 +02:00
Patrick Nicolas 7a42691269 AV1 support 2024-08-31 22:07:56 +02:00
Patrick Nicolas 8ea58b8e35 Fix code for default split encoders (not enabled) 2024-08-12 11:28:58 +02:00
Patrick Nicolas bef30c3b91 Get maximum size from nvenc capabilities 2024-06-06 19:19:43 +02:00
Patrick Nicolas f8207631bb Don't enable split encoders by default 2024-04-08 23:07:41 +02:00
Patrick Nicolas 13e54ddaae Fix split encoder default configuration 2024-04-07 15:30:08 +02:00
Patrick Nicolas 4476676c9b Print encoder details on start 2024-04-07 15:14:57 +02:00
Guillaume Meunier 9cceaac648 clang-format 2024-03-30 17:00:34 +01:00
Patrick Nicolas 97ec53868f Enforce even dimensions for user provided settings 2024-03-07 18:24:46 +01:00
Patrick Nicolas 16b993a81c Use even height for default encoder settings 2024-03-07 15:59:49 +01:00
Patrick Nicolas ee2802b97e Default to split encoders for vaapi 2024-03-03 09:37:04 +01:00
Patrick Nicolas d175284358 Configure bitrate globally 2024-03-03 09:37:04 +01:00
Patrick Nicolas 386856c54e Allow manual vaapi device in settings 2024-02-19 22:13:21 +01:00
Patrick Nicolas e385e459ee Always do yuv conversion in vulkan 2024-02-18 16:15:55 +01:00
Patrick Nicolas 88e23da72c Move encoder code into new directory 2024-02-07 18:25:54 +01:00