[FFmpeg-trac] #6990(avcodec:new): Encoding is corrupted when using d3d11va hwaccel and d3d11 as hardware output format

FFmpeg trac at avcodec.org
Sun Jan 28 22:06:21 EET 2018


#6990: Encoding is corrupted when using d3d11va hwaccel and d3d11 as hardware
output format
--------------------------------------+---------------------------------
               Reporter:  jamrial     |                  Owner:
                   Type:  defect      |                 Status:  new
               Priority:  normal      |              Component:  avcodec
                Version:  git-master  |               Keywords:  d3d11
             Blocked By:              |               Blocking:
Reproduced by developer:  0           |  Analyzed by developer:  0
--------------------------------------+---------------------------------
 http://samples.ffmpeg.org/benchmark/testsuite1/matrixbench_mpeg2.mpg

 {{{
 ./ffmpeg -hwaccel d3d11va -hwaccel_output_format d3d11 -i
 matrixbench_mpeg2.mpg -an -c:v h264_amf out.mkv
 }}}

 The above produces a stream with tons of stutter, and a different result
 each time (varying checksum).
 Using nv12 instead as output format fixes it.

 I'm using an HD7950 on Windows 10 x64 (version 1709, Fall Creators build),
 driver version 17.12.1
 I don't know if this also happens with other GPU vendors as i can't test,
 and of course software encoders will not accept d3d11 pixfmt as input.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6990>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list