gyroflow / gyroflow

Video stabilization using gyroscope data
https://gyroflow.xyz
GNU General Public License v3.0
6.22k stars 264 forks source link

GPU accelerated encoder doesn't support this pixel format (YUV422P10LE) #798

Closed fatplanediaries closed 3 months ago

fatplanediaries commented 3 months ago

Is there an existing issue for this?

Have you tried the latest build?

Do you have latest GPU drivers installed?

Have you checked the documentation?

Gyroflow version

1.5.4

What operating system are you using?

Windows 11

What GPU are you using?

RTX 4090 Laptop

What happened?

Tried to export gyroflow video, got hit with the "GPU accelerated encoder doesn't support this pixel format (YUV422P10LE)" warning even though the gpu definitely supports it. Tried on latest game ready and studio drivers from Nvidia, as well as Gyroflow as both UWP and zip installs.

Not sure what to do, the only other Github issue that reported the problem was unresolved.

Relevant log output

00:20:47 [DEBUG] (1) gyroflow: [in main] Qt version: 6.6.0
00:20:47 [DEBUG] (1) gyroflow: Gyroflow 1.5.4
00:20:47 [DEBUG] (1) gyroflow: Executable path: Some("C:\\Users\\Kevin\\Downloads\\Programs\\Gyroflow-windows64\\Gyroflow.exe")
00:20:47 [DEBUG] (1) gyroflow: SDK path: "C:\\Users\\Kevin\\Downloads\\Programs\\Gyroflow-windows64"
00:20:47 [WARN] qrc:/src/ui/main_window.qml:38:5: QML Settings: The Settings type from Qt.labs.settings is deprecated and will be removed in a future release. Please use the one from QtCore instead.
00:20:48 [DEBUG] (1) gyroflow_core::filesystem: path_to_url | path:  -> Ok("")
00:20:48 [DEBUG] (1) gyroflow_core::gpu::opencl: OpenCL devices: Ok("NVIDIA CUDA") Ok("OpenCL 3.0 CUDA 12.4.89") ["NVIDIA GeForce RTX 4090 Laptop GPU"]
00:20:48 [DEBUG] (1) gyroflow_core::gpu::opencl: OpenCL devices: Ok("Intel(R) OpenCL Graphics") Ok("OpenCL 3.0") ["Intel(R) RaptorLake-S Mobile Graphics Controller"]
00:20:48 [INFO] OpenCL Platform: NVIDIA CUDA, ext: Extensions { inner: "cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid cl_khr_pci_bus_info cl_khr_external_semaphore cl_khr_external_memory cl_khr_external_semaphore_win32 cl_khr_external_memory_win32" } Device: NVIDIA Corporation NVIDIA GeForce RTX 4090 Laptop GPU
00:20:48 [DEBUG] (1) gyroflow::rendering::ffmpeg_hw: create AV_HWDEVICE_TYPE_CUDA
00:20:48 [DEBUG] (1) gyroflow::rendering::ffmpeg_hw: HWDevice::from_type AV_HWDEVICE_TYPE_CUDA, device: None
00:20:48 [DEBUG] (1) gyroflow::rendering::ffmpeg_hw: created ok AV_HWDEVICE_TYPE_CUDA
00:20:48 [DEBUG] (1) gyroflow::rendering: GPU type: Nvidia, from name: nvidia corporation nvidia geforce rtx 4090 laptop gpu
00:20:48 [WARN] qrc:/src/ui/menu/Synchronization.qml:17:5: QML Settings: The Settings type from Qt.labs.settings is deprecated and will be removed in a future release. Please use the one from QtCore instead.
00:20:48 [WARN] qrc:/src/ui/menu/Stabilization.qml:25:5: QML Settings: The Settings type from Qt.labs.settings is deprecated and will be removed in a future release. Please use the one from QtCore instead.
00:20:48 [WARN] qrc:/src/ui/menu/Export.qml:80:5: QML Settings: The Settings type from Qt.labs.settings is deprecated and will be removed in a future release. Please use the one from QtCore instead.
00:20:48 [WARN] qrc:/src/ui/menu/Advanced.qml:15:5: QML Settings: The Settings type from Qt.labs.settings is deprecated and will be removed in a future release. Please use the one from QtCore instead.
00:20:49 [INFO] GPU list: ["[OpenCL] NVIDIA CUDA NVIDIA GeForce RTX 4090 Laptop GPU: 3.0", "[OpenCL] Intel(R) OpenCL Graphics Intel(R) RaptorLake-S Mobile Graphics Controller: 3.0", "[wgpu] NVIDIA GeForce RTX 4090 Laptop GPU (Vulkan)", "[wgpu] Intel(R) RaptorLake-S Mobile Graphics Controller (Vulkan)", "[wgpu] Intel(R) RaptorLake-S Mobile Graphics Controller (Vulkan)", "[wgpu] Intel(R) RaptorLake-S Mobile Graphics Controller (Vulkan)", "[wgpu] NVIDIA GeForce RTX 4090 Laptop GPU (Dx12)", "[wgpu] Intel(R) UHD Graphics (Dx12)", "[wgpu] Intel(R) UHD Graphics (Dx12)", "[wgpu] Intel(R) UHD Graphics (Dx12)", "[wgpu] NVIDIA GeForce RTX 4090 Laptop GPU/PCIe/SSE2 (Gl)"]
00:20:49 [DEBUG] (1) gyroflow::rendering: GPU type: Nvidia, from name: nvidia geforce rtx 4090 laptop gpu
00:20:49 [WARN] qrc:/src/ui/components/Timeline.qml:168:5: QML Settings: The Settings type from Qt.labs.settings is deprecated and will be removed in a future release. Please use the one from QtCore instead.
00:20:49 [WARN] qrc:/src/ui/App.qml:101:5: QML Settings: The Settings type from Qt.labs.settings is deprecated and will be removed in a future release. Please use the one from QtCore instead.
00:20:49 [INFO] Latest version: v1.5.4, current version: 1.5.4
00:20:49 [INFO] Lens profiles directory: "\\\\?\\C:\\Users\\Kevin\\Downloads\\Programs\\Gyroflow-windows64\\camera_presets"
00:20:49 [INFO] Loaded 10119 lens profiles in 296.764ms
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: get_filename | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567.MP4 -> Ok("A20240224_2567.MP4")
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: path_to_url | path: D:\Videos\0. Movie Projects\Xiao Xiao TOMATOEGG -> Ok("file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG")
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: get_folder | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567.MP4 -> Ok("file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/")
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: get_filename | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567.MP4 -> Ok("A20240224_2567.MP4")
00:20:50 [DEBUG] (1) MDKPlayer: [in setUrl] Final url: "D:/Videos/0. Movie Projects/Xiao Xiao TOMATOEGG/A20240224_2567.MP4"
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: filename_with_suffix | filename: A20240224_2567.MP4 | suffix: _stabilized -> "A20240224_2567_stabilized.MP4"
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: display_folder_filename | folder:  | filename: A20240224_2567_stabilized.MP4 -> "A20240224_2567_stabilized.MP4"
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: get_file_url | folder_url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/ | filename: A20240224_2567_stabilized.MP4 | can_create: false -> Ok("file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567_stabilized.MP4")
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: display_url | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567_stabilized.MP4
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: url_to_path | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567_stabilized.MP4 -> Ok("D:\\Videos\\0. Movie Projects\\Xiao Xiao TOMATOEGG\\A20240224_2567_stabilized.MP4")
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: display_folder_filename | folder: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/ | filename: A20240224_2567_stabilized.MP4 -> "D:\\Videos\\0. Movie Projects\\Xiao Xiao TOMATOEGG\\A20240224_2567_stabilized.MP4"
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: get_file_url | folder_url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/ | filename: A20240224_2567_stabilized.mp4 | can_create: false -> Ok("file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567_stabilized.mp4")
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: display_url | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567_stabilized.mp4
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: url_to_path | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567_stabilized.mp4 -> Ok("D:\\Videos\\0. Movie Projects\\Xiao Xiao TOMATOEGG\\A20240224_2567_stabilized.mp4")
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: display_folder_filename | folder: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/ | filename: A20240224_2567_stabilized.mp4 -> "D:\\Videos\\0. Movie Projects\\Xiao Xiao TOMATOEGG\\A20240224_2567_stabilized.mp4"
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: filename_with_extension | filename: A20240224_2567.MP4 | ext: gyroflow -> "A20240224_2567.gyroflow"
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: get_file_url | folder_url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/ | filename: A20240224_2567.gyroflow | can_create: false -> Ok("file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567.gyroflow")
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: exists | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567.gyroflow -> Ok(false)
00:20:50 [DEBUG] (1) gyroflow_core::filesystem: exists_in_folder | folder_url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/ | filename: A20240224_2567.gyroflow -> false
00:20:50 [DEBUG] (1) qml: Setting param smoothness 0.5
00:20:50 [DEBUG] (1) qml: Setting param smoothness_pitch 0.5
00:20:50 [DEBUG] (1) qml: Setting param smoothness_yaw 0.5
00:20:50 [DEBUG] (1) qml: Setting param smoothness_roll 0.5
00:20:50 [DEBUG] (1) qml: Setting param per_axis 0
00:20:50 [DEBUG] (1) qml: Setting param trim_range_only 0
00:20:50 [DEBUG] (1) qml: Setting param max_smoothness 1
00:20:50 [DEBUG] (1) qml: Setting param alpha_0_1s 0.1
00:20:50 [DEBUG] (36) MDKPlayer: [in VideoTextureNodePriv::createTexture] QSGRendererInterface::Direct3D11
00:20:50 [DEBUG] (36) MDKPlayer: [in MDKPlayer::sync] created texture QSGPlainTexture(0x25ccee83830) QSize(32, 32)
00:20:50 [DEBUG] (35) MDKPlayer: [in m_player->onEvent] "reader.buffering" ""
00:20:50 [DEBUG] (37) MDKPlayer: [in m_player->onEvent] "thread.video" ""
00:20:50 [DEBUG] (38) MDKPlayer: [in m_player->onEvent] "thread.audio" ""
00:20:50 [DEBUG] (38) MDKPlayer: [in m_player->onEvent] "decoder.audio" "FFmpeg"
00:20:50 [DEBUG] (38) MDKPlayer: [in m_player->onEvent] "reader.buffering" ""
00:20:50 [DEBUG] (37) MDKPlayer: [in m_player->onEvent] "decoder.video" "FFmpeg"
00:20:51 [DEBUG] (36) MDKPlayer: [in m_player->onEvent] "render.video" "1st_frame"
00:20:51 [INFO] surface size: 3840x2160
00:20:51 [DEBUG] (1) gyroflow_core::filesystem: get_filename | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567.MP4 -> Ok("A20240224_2567.MP4")
00:20:51 [INFO] surface size: 3840x2160
00:20:51 [DEBUG] (2) gyroflow_core::filesystem: open_file | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567.MP4 | writing: false
00:20:51 [DEBUG] (2) gyroflow_core::filesystem: url_to_path | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567.MP4 -> Ok("D:\\Videos\\0. Movie Projects\\Xiao Xiao TOMATOEGG\\A20240224_2567.MP4")
00:20:51 [DEBUG] (2) gyroflow_core::filesystem: url_to_path | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567.MP4 -> Ok("D:\\Videos\\0. Movie Projects\\Xiao Xiao TOMATOEGG\\A20240224_2567.MP4")
00:20:51 [DEBUG] (36) MDKPlayer: [in VideoTextureNodePriv::createTexture] QSGRendererInterface::Direct3D11
00:20:51 [DEBUG] (36) MDKPlayer: [in MDKPlayer::sync] created texture QSGPlainTexture(0x25ce134e330) QSize(3840, 2160)
00:20:51 [INFO] CameraIdentifier {
    brand: "Sony",
    model: "ILCE-7SM3",
    lens_model: "",
    lens_info: "35.00mm",
    focal_length: Some(
        35.0,
    ),
    camera_setting: "",
    fps: 29970,
    video_width: 3840,
    video_height: 2160,
    additional: "",
    identifier: "sony-ilce-7sm3-35.00mm-3840x2160@29970",
}
00:20:51 [DEBUG] (2) telemetry_parser::util: Reading duration: (Some(0.5), Some(0.5), None)
00:20:51 [DEBUG] (2) gyroflow_core::filesystem: FileWrapper::drop file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567.MP4
00:20:51 [DEBUG] (1) gyroflow::controller: Chart mutex locked, retrying
00:20:51 [DEBUG] (36) Qt RHI: [in render] Initialized QSize(3840, 2160) -> QSize(3840, 2160) ":/src/qt_gpu/compiled/undistort_opencv_fisheye.frag.qsb" 0x25cd091b7c0
00:20:51 [DEBUG] (1) qml: [in onTelemetry_loaded] Telemetry additional data: {"camera_identifier":{"additional":"","brand":"Sony","camera_setting":"","focal_length":35,"fps":29970,"identifier":"sony-ilce-7sm3-35.00mm-3840x2160@29970","lens_info":"35.00mm","lens_model":"","model":"ILCE-7SM3","video_height":2160,"video_width":3840},"contains_motion":true,"contains_quats":false,"contains_raw_gyro":true,"frame_readout_time":8.852000001043754,"has_accurate_timestamps":true,"imu_orientation":"YXz","sample_rate":2000.000000235823}
00:20:51 [DEBUG] (1) gyroflow::controller: Chart mutex locked, retrying
00:20:53 [DEBUG] (1) gyroflow_core::filesystem: get_file_url | folder_url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/ | filename: A20240224_2567_stabilized.mp4 | can_create: false -> Ok("file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567_stabilized.mp4")
00:20:53 [DEBUG] (1) gyroflow_core::filesystem: exists | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567_stabilized.mp4 -> Ok(true)
00:20:53 [DEBUG] (1) gyroflow_core::filesystem: exists_in_folder | folder_url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/ | filename: A20240224_2567_stabilized.mp4 -> true
00:20:55 [DEBUG] (1) gyroflow_core::filesystem: get_file_url | folder_url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/ | filename: A20240224_2567_stabilized.mp4 | can_create: false -> Ok("file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567_stabilized.mp4")
00:20:55 [DEBUG] (1) gyroflow_core::filesystem: exists | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567_stabilized.mp4 -> Ok(true)
00:20:55 [DEBUG] (1) gyroflow_core::filesystem: exists_in_folder | folder_url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/ | filename: A20240224_2567_stabilized.mp4 -> true
00:20:55 [DEBUG] (1) gyroflow::rendering: Possible encoders with Nvidia: [("hevc_nvenc", true), ("hevc_mf", true), ("libx265", false)]
00:20:55 [DEBUG] (1) gyroflow::rendering::ffmpeg_hw: [enc] codec type AV_HWDEVICE_TYPE_CUDA 0, for: hevc_nvenc
00:20:55 [DEBUG] (1) gyroflow::rendering::ffmpeg_hw: HW formats: [CUDA]
00:20:55 [DEBUG] (1) gyroflow::rendering::ffmpeg_hw: SW formats: [NV12, YUV420P, YUVA420P, YUV444P, P010LE, P016LE, YUV444P16LE, BGRZ, RGBZ, BGRA, RGBA, VULKAN]
00:20:55 [DEBUG] (1) gyroflow_core::filesystem: get_filename | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567.MP4 -> Ok("A20240224_2567.MP4")
00:20:55 [DEBUG] (1) gyroflow_core::filesystem: get_file_url | folder_url: file:///D:/Videos/0. Movie Projects/Xiao Xiao TOMATOEGG/ | filename: A20240224_2567_stabilized.mp4 | can_create: false -> Ok("file:///D:/Videos/0. Movie Projects/Xiao Xiao TOMATOEGG/A20240224_2567_stabilized.mp4")
00:20:55 [DEBUG] (1) gyroflow_core::filesystem: display_url | url: file:///D:/Videos/0. Movie Projects/Xiao Xiao TOMATOEGG/A20240224_2567_stabilized.mp4
00:20:55 [DEBUG] (1) gyroflow_core::filesystem: url_to_path | url: file:///D:/Videos/0. Movie Projects/Xiao Xiao TOMATOEGG/A20240224_2567_stabilized.mp4 -> Ok("D:\\Videos\\0. Movie Projects\\Xiao Xiao TOMATOEGG\\A20240224_2567_stabilized.mp4")
00:20:55 [DEBUG] (1) gyroflow_core::filesystem: display_folder_filename | folder: file:///D:/Videos/0. Movie Projects/Xiao Xiao TOMATOEGG/ | filename: A20240224_2567_stabilized.mp4 -> "D:\\Videos\\0. Movie Projects\\Xiao Xiao TOMATOEGG\\A20240224_2567_stabilized.mp4"
00:20:55 [DEBUG] (1) gyroflow_core::filesystem: get_filename | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567.MP4 -> Ok("A20240224_2567.MP4")
00:20:55 [DEBUG] (2) gyroflow::rendering: ffmpeg_hw::supported_gpu_backends: ["cuda", "vaapi", "dxva2", "qsv", "d3d11va", "vulkan"]
00:20:55 [DEBUG] (2) gyroflow_core::filesystem: FfmpegPathWrapper::new file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567.MP4, write: false
00:20:55 [DEBUG] (2) gyroflow_core::filesystem: url_to_path | url: file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567.MP4 -> Ok("D:\\Videos\\0. Movie Projects\\Xiao Xiao TOMATOEGG\\A20240224_2567.MP4")
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000025CE0E10100] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1001
00:20:55 [WARN] [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025CE0E10100] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000025CE0E10100] st: 0 edit list 1 Cannot find an index entry before timestamp: 1001.
00:20:55 [WARN] [mov,mp4,m4a,3gp,3g2,mj2 @ 0000025CE0E10100] st: 0 edit list 1 Cannot find an index entry before timestamp: 1001.
00:20:55 [DEBUG] (2) gyroflow::rendering::ffmpeg_hw: [dec] codec type AV_HWDEVICE_TYPE_DXVA2 0
00:20:55 [DEBUG] (2) gyroflow::rendering::ffmpeg_hw: HWDevice::from_type AV_HWDEVICE_TYPE_DXVA2, device: None
00:20:55 [DEBUG] (2) gyroflow::rendering::ffmpeg_processor: Selected HW backend AV_HWDEVICE_TYPE_DXVA2 (dxva2) with format Some(AV_PIX_FMT_DXVA2_VLD)
00:20:55 [DEBUG] (2) gyroflow::rendering: proc.gpu_device: Some("dxva2")
00:20:55 [DEBUG] (2) gyroflow::rendering: Possible encoders with Nvidia: [("hevc_nvenc", true), ("hevc_mf", true), ("libx265", false)]
00:20:55 [DEBUG] (2) gyroflow::rendering::ffmpeg_hw: [enc] codec type AV_HWDEVICE_TYPE_CUDA 0, for: hevc_nvenc
00:20:55 [DEBUG] (2) gyroflow::rendering::ffmpeg_hw: HW formats: [CUDA]
00:20:55 [DEBUG] (2) gyroflow::rendering::ffmpeg_hw: SW formats: [NV12, YUV420P, YUVA420P, YUV444P, P010LE, P016LE, YUV444P16LE, BGRZ, RGBZ, BGRA, RGBA, VULKAN]
00:20:55 [DEBUG] (2) gyroflow::rendering: video_codec: Some("hevc_nvenc"), processing_order: PreConversion
00:20:55 [DEBUG] (2) gyroflow::rendering: start_us: 0, render_duration: 46046, render_frame_count: 1380
00:20:55 [DEBUG] (2) gyroflow_core::filesystem: exists | url: file:///D:/Videos/0. Movie Projects/Xiao Xiao TOMATOEGG/ -> Ok(true)
00:20:55 [DEBUG] (2) gyroflow_core::filesystem: get_file_url | folder_url: file:///D:/Videos/0. Movie Projects/Xiao Xiao TOMATOEGG/ | filename: A20240224_2567_stabilized.mp4 | can_create: true -> Ok("file:///D:/Videos/0. Movie Projects/Xiao Xiao TOMATOEGG/A20240224_2567_stabilized.mp4")
00:20:55 [DEBUG] (2) gyroflow_core::filesystem: FfmpegPathWrapper::new file:///D:/Videos/0. Movie Projects/Xiao Xiao TOMATOEGG/A20240224_2567_stabilized.mp4, write: true
00:20:55 [DEBUG] (2) gyroflow_core::filesystem: url_to_path | url: file:///D:/Videos/0. Movie Projects/Xiao Xiao TOMATOEGG/A20240224_2567_stabilized.mp4 -> Ok("D:\\Videos\\0. Movie Projects\\Xiao Xiao TOMATOEGG\\A20240224_2567_stabilized.mp4")
00:20:55 [DEBUG] (2) gyroflow::rendering::ffmpeg_processor: Codec formats: [YUV420P, NV12, P010LE, YUV444P, P016LE, YUV444P16LE, BGRZ, BGRA, RGBZ, RGBA, X2RGB10LE, X2BGR10LE, GBRP, GBRP16LE, CUDA, D3D11]
00:20:55 [DEBUG] (2) gyroflow::rendering::ffmpeg_processor: Output metadata: {"major_brand": "XAVC", "minor_version": "16785407", "compatible_brands": "XAVCmp42iso2", "creation_time": "2024-02-25T01:08:36.000000Z"}
00:20:56 [DEBUG] (2) gyroflow_core::stabilization: Setting device 0
00:20:56 [INFO] OpenCL Platform: NVIDIA CUDA, Device: NVIDIA Corporation NVIDIA GeForce RTX 4090 Laptop GPU
00:20:56 [INFO] Initialized OpenCL for (3840, 2160, 7680) -> (3840, 2160, 7680)
00:20:56 [INFO] Clearing 1 stab data because backend was initialized
00:20:56 [DEBUG] (2) gyroflow_core::stabilization: Setting device 0
00:20:56 [INFO] OpenCL Platform: NVIDIA CUDA, Device: NVIDIA Corporation NVIDIA GeForce RTX 4090 Laptop GPU
00:20:56 [INFO] Initialized OpenCL for (1920, 2160, 3840) -> (1920, 2160, 3840)
00:20:56 [INFO] Clearing 1 stab data because backend was initialized
00:20:56 [DEBUG] (2) gyroflow_core::stabilization: Setting device 0
00:20:56 [INFO] OpenCL Platform: NVIDIA CUDA, Device: NVIDIA Corporation NVIDIA GeForce RTX 4090 Laptop GPU
00:20:56 [INFO] Initialized OpenCL for (1920, 2160, 3840) -> (1920, 2160, 3840)
00:20:56 [INFO] Clearing 1 stab data because backend was initialized
00:20:56 [DEBUG] (2) gyroflow::rendering::ffmpeg_video: Hardware transfer formats from GPU: None
00:20:56 [DEBUG] (2) gyroflow::rendering::ffmpeg_video: hw_device_type: Some(AV_HWDEVICE_TYPE_CUDA), encoder_pixel_format: None
[aac @ 0000025D0CEC6C40] Qavg: nan
00:20:56 [DEBUG] (2) gyroflow::rendering: [aac @ 0000025D0CEC6C40] Qavg: nan
00:20:56 [DEBUG] (2) gyroflow_core::filesystem: FfmpegPathWrapper::drop file:///D:/Videos/0. Movie Projects/Xiao Xiao TOMATOEGG/A20240224_2567_stabilized.mp4
00:20:56 [DEBUG] (2) gyroflow_core::filesystem: FfmpegPathWrapper::drop file:///D:/Videos/0.%20Movie%20Projects/Xiao%20Xiao%20TOMATOEGG/A20240224_2567.MP4
00:21:53 [WARN] Retrying to obtain clipboard.
AdrianEddy commented 3 months ago

even though the gpu definitely supports it.

Why do you think that? The only hardware that supports 4:2:2 10-bit encoding is Apple M2 and M3, but even then it's not implemented in ffmpeg and my patch is still pending.

NVIDIA doesn't support it https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new

Use 4:2:0 10-bit next time, or you can convert to 4:2:0 10-bit by choosing P010LE on that dialog.