Changes between Version 31 and Version 32 of Capture/Desktop
- Timestamp:
- Jun 15, 2025, 6:45:10 PM (13 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Capture/Desktop
v31 v32 109 109 FFmpeg implements support for it in the form of the [https://ffmpeg.org/ffmpeg-filters.html#ddagrab ddagrab] filter. 110 110 111 It provides the user with on-gpu D3D11 textures, in the form of ffmpeg D3D11VA frames, which can then be directly encoded by a compatible hardware encoder :111 It provides the user with on-gpu D3D11 textures, in the form of ffmpeg D3D11VA frames, which can then be directly encoded by a compatible hardware encoder, for example [[HWAccelIntro#NVENC|NVENC]] encoders: 112 112 {{{ 113 113 ffmpeg -init_hw_device d3d11va -filter_complex ddagrab=0 -c:v h264_nvenc -cq:v 20 output.mkv 114 }}} 115 116 For Intel GPUs that support [[Hardware/QuickSync|QuickSync]] (QSV) encoders, use the [https://ffmpeg.org/ffmpeg-filters.html#hwmap hwmap] filter to wrap D3D11 frames into QSV frames: 117 {{{ 118 ffmpeg -init_hw_device d3d11va:,vendor_id=0x8086 -filter_complex ddagrab=0,hwmap=derive_device=qsv,format=qsv -c:v h264_qsv -global_quality 20 output.mkv 119 }}} 120 121 To further adjust the video color properties using the [[Hardware/QuickSync|QuickSync]] VPP filters: 122 {{{ 123 ffmpeg -init_hw_device d3d11va:,vendor_id=0x8086 -filter_complex ddagrab=0,hwmap=derive_device=qsv,vpp_qsv=format=nv12:out_color_matrix=bt709:out_color_primaries=bt709:out_color_transfer=bt709:out_range=tv -c:v hevc_qsv -global_quality 20 output.mkv 114 124 }}} 115 125
