[FFmpeg-trac] #10576(ffmpeg:new): qsv does not deinterlace properly

FFmpeg trac at avcodec.org
Fri Sep 22 08:52:43 EEST 2023


#10576: qsv does not deinterlace properly
-------------------------------------+-------------------------------------
             Reporter:  s170361683   |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  ffmpeg       |                  Version:
                                     |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 (a sample is attached)

 using 50i source, **DXVA** for decoding, and **qsv** for encoding, I
 thought by specifying {{{rate=field}}} and {{{deinterlace=bob}}} in
 {{{vpp_qsv}}} filter that each field would be transformed to a frame in a
 50p output. But the result was just a non-smooth 50p file that feels like
 25p with frames being doubled.

 **yadif** with {{{yadif=send_field}}} produced the desired smooth 50p
 output


 {{{
 ffmpeg ^
     -hwaccel dxva2 ^
     -hwaccel_output_format dxva2_vld ^
     -i "50i_sample.m2v" ^
     -c:v h264_qsv ^
     -vf "hwmap=derive_device=qsv,vpp_qsv=rate=field:deinterlace=bob" ^
     -y output.mp4
 }}}

 {{{
 ffmpeg version git-2023-09-18-fa20f5c-ffmpeg-windows-build-helpers
 Copyright (c) 2000-2023 the FFmpeg developers
   built with gcc 10.2.0 (GCC)
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10576>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list