Commit Graph
44 Commits
Author SHA1 Message Date
Patrick Nicolas 2919f7d820 Fix vulkan error on queue transfer
Queue transfer acquire was performed by each encoder, it needs to be
done only once, for the first one.
2026-01-30 16:29:53 +01:00
Patrick Nicolas 5c50b9a1ad WIP: fixed encoder layout 2025-12-10 14:00:47 +01:00
BERADQ d1308bfbb8 Update IDR handler to explicitly handle dropped IDR frames and ignore dropped non-reference frames. 2025-12-04 15:59:18 +01:00
BERADQ a37498eedf Optimize NVENC encoding configuration 2025-12-04 15:53:34 +01:00
Patrick Nicolas 833e405060 More reliable reconnect (especially vulkan video) 2025-11-02 15:38:10 +01:00
aomiki 3c91e4eca8 nvenc: support for changing framerate at runtime 2025-10-29 19:19:22 +01:00
aomiki 1635bdabce use idr param & deal with narrowing conversion warns 2025-10-29 19:19:22 +01:00
aomiki 4908f50a00 reset internal rate control states 2025-10-29 19:19:22 +01:00
aomiki 442e09dcfc meaningful names for all other nvenc params 2025-10-29 19:19:22 +01:00
aomiki 855539fab0 formatting 2025-10-29 19:19:22 +01:00
aomiki ba39b4da0b remove bitrate variable 2025-10-29 19:19:22 +01:00
aomiki 13ff9231f0 nvenc: ability to set bitrate at runtime 2025-10-29 19:19:22 +01:00
Alexander Afanasenko 50e1ecab37 10-bit encoding on NVENC (#532) 2025-10-23 09:42:33 +02:00
Patrick Nicolas 6932f9461d Add support for raw video 2025-09-26 16:33:01 +02:00
Kierek e5ba1f7394 Share CUDA context between all nvenc encoder instances 2025-07-27 23:32:41 +02:00
galister ec42db83bc change encode_10bit → bit-depth 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 f6eb528ea7 Name most vulkan objects 2025-06-12 15:46:37 +02:00
Patrick Nicolas a33fae434e Destroy cuda context in encoder destructor 2025-05-22 17:55:35 +02:00
Guillaume Meunier 345db32bb1 Always use stderr instead of stdout for server logs 2025-03-25 21:15:01 +01:00
Kierek 20ae78f2d9 Enable ULTRA_LOW_LATENCY and NV_ENC_TWO_PASS_QUARTER_RESOLUTION for nvenc 2025-03-01 20:56:34 +01:00
Kierek 8495a9433c Enable AV1 encoding for nvenc 2025-02-20 10:55:23 +01:00
Kierek 163d72dcce Update NVIDIA Video Codec SDK headers to 12.2 2025-02-20 10:55:23 +01:00
galister e9f4b52b50 wip: set bitrate at runtime 2025-02-07 19:00:34 +01:00
Patrick Nicolas 6943fa82d2 Use device memory for vulkan encode 2024-11-10 16:46:28 +01:00
Patrick Nicolas 4df0e391c6 Move video command buffer ownership to encoder 2024-11-10 16:46:28 +01:00
Patrick Nicolas 6fdac88fd8 Assume positions are already aligned for nvenc 2024-11-10 15:24:07 +01:00
Patrick Nicolas 410b112fcf Support passthrough for stream 2024-11-06 19:50:44 +01:00
Patrick Nicolas df5e0869c3 Set range/color model for all encoders 2024-10-29 10:44:49 +01:00
Patrick Nicolas 20f0137380 Cleanup some includes 2024-10-03 23:39:32 +02:00
Patrick Nicolas fdb79b1939 Drop xrt::drivers namespace 2024-10-03 23:39:32 +02:00
Patrick Nicolas 7e8c479cc5 Release swapchain earlier
Encoders now have a buffer for next image so that they can encode one
and the compositor write to an other one.
2024-09-11 23:41:10 +02:00
Patrick Nicolas 517b572c75 Integrate YCbCr conversion in monado
Hacks monado's distortion shader to write into Y and CbCr planes,
eliminating the intermediate RGBA image

Note: change monado's version to enforce patch application
2024-09-11 23:41:10 +02:00
Patrick Nicolas 7a42691269 AV1 support 2024-08-31 22:07:56 +02:00
Patrick Nicolas d267bd0ebb Add async send for nvenc 2024-08-26 12:30:54 +02:00
Patrick Nicolas 982a2557ef Use a single thread for all encoder async send 2024-08-22 22:56:51 +02:00
Patrick Nicolas e385471bee Use correct flag for forced IDR 2024-06-13 08:11:54 +02:00
Patrick Nicolas d90863c9b4 Nvenc: enforce width/height to be divisible by 32 2024-06-12 12:46:31 +02:00
Patrick Nicolas 0d62a24f25 Set range and color model for nvenc 2024-06-12 12:46:26 +02:00
Patrick Nicolas bef30c3b91 Get maximum size from nvenc capabilities 2024-06-06 19:19:43 +02:00
Patrick Nicolas b5202567bd Dynamically load cuda/nvenc 2024-03-30 23:07:52 +01:00
Guillaume Meunier 9cceaac648 clang-format 2024-03-30 17:00:34 +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