#10872: ffmpeg crash when using d3d11va hardware acceleration while transcoding
---------------------------------+--------------------------------------
Reporter: Evgeny | Type: defect
Status: new | Priority: normal
Component: avcodec | Version: git-master
Keywords: d3d11va | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+--------------------------------------
Summary of the bug:
FFmpeg will crash if using dx11 or dx9 hw surface & amf or nvenc encoders
while transcoding.
How to reproduce:
{{{
% ffmpeg.exe -y -hwaccel d3d11va -hwaccel_output_format d3d11 -i
input_h264_480x360.mp4 -c:v h264_amf out.mp4
% ffmpeg.exe -y -hwaccel dxva2 -hwaccel_output_format dxva2_vld -i
input_h264_480x360.mp4 -c:v h264_amf out.mp4
If I add -extra_hw_frames 14, then it works:
% ffmpeg.exe -y -hwaccel d3d11va -hwaccel_output_format d3d11
-extra_hw_frames 14 -i input_h264_480x360.mp4 -c:v h264_amf out.mp4
% ffmpeg.exe -y -hwaccel dxva2 -hwaccel_output_format dxva2_vld
-extra_hw_frames 14 -i input_h264_480x360.mp4 -c:v h264_amf out.mp4
ffmpeg version
built on master
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10872>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".