-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Description
Hello,
Given an input stream of 12bit RGB 444 3G SDI on encoder utilizing -t decklink:codec=R12L -c libavcodec:encoder=libsvt_hevc which uses pixfmt yuv444p10le.
[Decklink capture] Format change detected (display mode - RGB444, 12bit).
[Decklink capture] Using codec: R12L
[DeckLink capture] Enable video input: 2Kp24 DCI
[lavc] Using codec: H.265, encoder: libsvt_hevc
[lavc] Selected pixfmt: yuv444p10le
On the receiver side utilizing -d vulkan_sdl2:fs, the pix format for internal codec becomes v210 (10bit YUV 4:2:2) and the display becomes UYVY (8bit YUV 4:2:2) , resulting in signal degradation from the original 10bit YUV 444 (yuv444p10le). Significant banding is apparent. But when used with x265 encoder and the same -d vulkan_sdl2:fs, display is R10k and no banding. (see photo attached)
[2022-12-06 21:26:37] UltraGrid 1.7+ (tags/continuous rev f213c06 built Dec 6 2022 20:02:46)
[2022-12-06 21:26:37]
[2022-12-06 21:26:37] Display device : vulkan_sdl2
[2022-12-06 21:26:37] Capture device : none
[2022-12-06 21:26:37] Audio capture : none
[2022-12-06 21:26:37] Audio playback : none
[2022-12-06 21:26:37] MTU : 9000 B
[2022-12-06 21:26:37] Video compression: none
[2022-12-06 21:26:37] Audio codec : PCM
[2022-12-06 21:26:37] Network protocol : UltraGrid RTP
[2022-12-06 21:26:37] Audio FEC : none
[2022-12-06 21:26:37] Video FEC : none
[2022-12-06 21:26:37]
[2022-12-06 21:26:37] [SDL] Using driver: x11
[2022-12-06 21:26:37] SDL2 initialized successfully.
[2022-12-06 21:26:37] [VULKAN_SDL2] Path to shaders: "/usr/local/bin/../share/ultragrid/vulkan_shaders"
[2022-12-06 21:26:37] [VULKAN_SDL2] yCbCr feature supported.
[2022-12-06 21:26:37] [VULKAN_SDL2] Vulkan uses GPU called: NVIDIA GeForce GTX 1650
[2022-12-06 21:26:37] [VULKAN_SDL2] Used Vulkan API: 1.1
[2022-12-06 21:26:37] [VULKAN_SDL2] Recreating swapchain, size: 3840x2160, format: A2B10G10R10UnormPack32
[2022-12-06 21:26:37] [VULKAN_SDL2] Vulkan display initialised.
[2022-12-06 21:26:37] [VULKAN_SDL2] Recreating render_pipeline
[2022-12-06 21:26:37] Control socket listening on port 39863
[2022-12-06 21:26:37] [key control] Stdin is not a TTY - disabling keyboard control.
[2022-12-06 21:26:42] [VULKAN_SDL2] 0 frames in 5.01525 seconds = 0 FPS
[2022-12-06 21:26:47] [VULKAN_SDL2] 0 frames in 5.0677 seconds = 0 FPS
[2022-12-06 21:26:52] [VULKAN_SDL2] 0 frames in 5.06779 seconds = 0 FPS
[2022-12-06 21:26:57] [VULKAN_SDL2] 0 frames in 5.05919 seconds = 0 FPS
[2022-12-06 21:27:01] [VULKAN_SDL2] Supported codecs are: RGBA UYVY YUYV Y216 Y416 R10k
[2022-12-06 21:27:01] [video dec.] New incoming video format detected: 2048x1080 @24.00p, codec H.265
[2022-12-06 21:27:01] [lavd] Using decoder: hevc
2022-12-06 21:27:02] [video dec.] Detected internal codec: v210
[2022-12-06 21:27:02] [video dec.] Successfully reconfigured display to 2048x1080 @24.00p, codec UYVY
[2022-12-06 21:27:04] [lavd] Using decoder: hevc
[2022-12-06 21:27:04] [VULKAN_SDL2] Recreating render_pipeline
Receiver log with an x265 encoder signal:
[2022-12-06 21:38:19] [SDL] Using driver: x11
[2022-12-06 21:38:19] SDL2 initialized successfully.
[2022-12-06 21:38:19] [VULKAN_SDL2] Path to shaders: "/usr/local/bin/../share/ultragrid/vulkan_shaders"
[2022-12-06 21:38:19] [VULKAN_SDL2] yCbCr feature supported.
[2022-12-06 21:38:19] [VULKAN_SDL2] Vulkan uses GPU called: NVIDIA GeForce GTX 1650
[2022-12-06 21:38:19] [VULKAN_SDL2] Used Vulkan API: 1.1
[2022-12-06 21:38:19] [VULKAN_SDL2] Recreating swapchain, size: 3840x2160, format: A2B10G10R10UnormPack32
[2022-12-06 21:38:19] [VULKAN_SDL2] Vulkan display initialised.
[2022-12-06 21:38:19] [VULKAN_SDL2] Recreating render_pipeline
[2022-12-06 21:38:19] Control socket listening on port 41643
[2022-12-06 21:38:19] [key control] Stdin is not a TTY - disabling keyboard control.
[2022-12-06 21:38:24] [VULKAN_SDL2] 0 frames in 5.06031 seconds = 0 FPS
[2022-12-06 21:38:29] [VULKAN_SDL2] 0 frames in 5.04978 seconds = 0 FPS
[2022-12-06 21:38:34] [VULKAN_SDL2] 0 frames in 5.0501 seconds = 0 FPS
[2022-12-06 21:38:39] [VULKAN_SDL2] 0 frames in 5.05029 seconds = 0 FPS
[2022-12-06 21:38:43] [VULKAN_SDL2] Supported codecs are: RGBA UYVY YUYV Y216 Y416 R10k
[2022-12-06 21:38:43] [video dec.] New incoming video format detected: 2048x1080 @24.00p, codec H.265
[2022-12-06 21:38:43] [lavd] Using decoder: hevc
[2022-12-06 21:38:44] [video dec.] Detected internal codec: R12L
[2022-12-06 21:38:44] [video dec.] Successfully reconfigured display to 2048x1080 @24.00p, codec R10k
I don't believe the banding issue is an inherent difference between SVT and x265 as I am not seeing the same issue when using Decklink out.
Metadata
Metadata
Assignees
Labels
No labels

