[FFmpeg-trac] #10385(undetermined:new): ddagrab fails on Windows if adapter ID is specified
FFmpeg
trac at avcodec.org
Thu Jun 12 11:58:38 EEST 2025
#10385: ddagrab fails on Windows if adapter ID is specified
-------------------------------------+-------------------------------------
Reporter: Jøger | Owner: (none)
Hansegård |
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: 6.0 | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Sergey Svistunov):
I have this error on ffmpeg 6.1.1 when trying to use ddagrab to record a
non-primary display on my laptop with hybrid graphics (Intel + NVidia).
Seems to be fixed in ffmpeg 7.1.1.
ffmpeg 6.1.1:
{{{
ffmpeg -hide_banner -init_hw_device d3d11va:0 -thread_queue_size 1024
-rtbufsize 256M -filter_complex
ddagrab=framerate=30:draw_mouse=0:output_idx=0,hwdownload,format=bgra
-vcodec libx264 -b:v 3400k -r 30 -pix_fmt yuv420p -preset fast -movflags
+faststart "test.mp4"
[AVHWDeviceContext @ 0000019549cefec0] Using device 10de:2191 (NVIDIA
GeForce GTX 1660 Ti).
[Parsed_ddagrab_0 @ 0000019549cf7980] Invalid output duplication argument
[Parsed_ddagrab_0 @ 0000019549cf7980] Failed to configure output pad on
Parsed_ddagrab_0
[fc#0 @ 0000019549ced500] Error configuring filter graph: Invalid argument
Error opening output file test.mp4.
Error opening output files: Invalid argument
}}}
{{{
ffmpeg -hide_banner -init_hw_device d3d11va:1 -thread_queue_size 1024
-rtbufsize 256M -filter_complex
ddagrab=framerate=30:draw_mouse=0:output_idx=0,hwdownload,format=bgra
-vcodec libx264 -b:v 3400k -r 30 -pix_fmt yuv420p -preset fast -movflags
+faststart "test.mp4"
[AVHWDeviceContext @ 00000177ed590240] Using device 8086:9bc4 (Intel(R)
UHD Graphics).
[Parsed_ddagrab_0 @ 00000177ed597d00] Invalid output duplication argument
[Parsed_ddagrab_0 @ 00000177ed597d00] Failed to configure output pad on
Parsed_ddagrab_0
[fc#0 @ 00000177ed590500] Error configuring filter graph: Invalid argument
Error opening output file test.mp4.
Error opening output files: Invalid argument
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10385#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list