[FFmpeg-trac] #10576(ffmpeg:new): qsv does not deinterlace properly
FFmpeg
trac at avcodec.org
Fri Sep 22 09:10:30 EEST 2023
#10576: qsv does not deinterlace properly
-------------------------------------+-------------------------------------
Reporter: s170361683 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: ffmpeg
Version: unspecified | Resolution:
Keywords: vpp_qsv qsv | Blocked By:
VPP_QSV deinterlace |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by s170361683):
* keywords: => vpp_qsv qsv VPP_QSV deinterlace
Old description:
> (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)
> }}}
New description:
(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)
}}}
wenbin.chen at intel.com
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10576#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list