[FFmpeg-trac] #10262(avfilter:new): FFMPEG-QSV 1:N Transcoding with deinterlace errors out at end

FFmpeg trac at avcodec.org
Tue Mar 14 23:05:34 EET 2023

#10262: FFMPEG-QSV 1:N Transcoding with deinterlace errors out at end
             Reporter:  sanasar  |                    Owner:  (none)
                 Type:  defect   |                   Status:  new
             Priority:  normal   |                Component:  avfilter
              Version:  6.0      |               Resolution:
             Keywords:  QSV      |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
Comment (by sanasar):

 FFMPEG bisection was done and issue started from below commit

 b92028346c35dad837dd1160930435d88bd838b5 is the first bad commit
 commit b92028346c35dad837dd1160930435d88bd838b5
 Author: Haihao Xiang <haihao.xiang at intel.com>
 Date:   Mon Jan 30 09:37:19 2023 +0800

     lavfi/deinterlace_qsv: re-use VPPContext for deinterlace_qsv filter

     QSVDeintContext and VPPContext have the same base context, and all
     features in deinterlace_qsv are implemented in vpp_qsv filter,  so
     deinterlace_qsv can be taken as a special case of vpp_qsv filter, and
     may use VPPContext with a different option array, preinit callback and
     support pixel formats to implement deinterlace_qsv, then remove

     Signed-off-by: Haihao Xiang <haihao.xiang at intel.com>

  libavfilter/Makefile             |   2 +-
  libavfilter/vf_deinterlace_qsv.c | 166
  libavfilter/vf_vpp_qsv.c         |  25 ++++++
  3 files changed, 26 insertions(+), 167 deletions(-)
  delete mode 100644 libavfilter/vf_deinterlace_qsv.c
 gta at DUT5167ATSM:~$ git bisect log
 git bisect start
 # bad: [a6e9d01f88a707f8a2057e01b5ad2e8968109530] avcodec/libx264: Use
 av_pix_fmt_count_planes() where appropriate
 git bisect bad a6e9d01f88a707f8a2057e01b5ad2e8968109530
 # good: [d4f853f4ed39f51afbc14b3a7fe3bd7a435eb851] doc/filters.texi: add
 documentation for the ts_sync_mode framesync option
 git bisect good d4f853f4ed39f51afbc14b3a7fe3bd7a435eb851
 # good: [e5e29eda5aae8eb5d1d32f647c68c0543db63217] lavc/avcodec: improve
 git bisect good e5e29eda5aae8eb5d1d32f647c68c0543db63217
 # bad: [22960783978d9e0b6d4a4ed21f503bd24662aa7e] avutil/frame: deprecate
 AVFrame.coded_picture_number and display_picture_number
 git bisect bad 22960783978d9e0b6d4a4ed21f503bd24662aa7e
 # bad: [7e1d474021898251dd4b3e56c0d153eafd440f7c] avfilter/af_compand:
 simplify frame allocation
 git bisect bad 7e1d474021898251dd4b3e56c0d153eafd440f7c
 # good: [431f6260ac6408fdccfe06dd5276084b17c3557f] mov: Reduce the
 verbosity of the warning about fragmented MP4 vs advanced edit lists
 git bisect good 431f6260ac6408fdccfe06dd5276084b17c3557f
 # bad: [82da22066c0818b606812d479674929a229386e2] lavc: deprecate
 CrystalHD decoders
 git bisect bad 82da22066c0818b606812d479674929a229386e2
 # good: [077e63496581edf02e503e7d99dbc4e1a5670246] lavfi/vpp_qsv: add rate
 git bisect good 077e63496581edf02e503e7d99dbc4e1a5670246
 # bad: [9a820ec8b1e2323b70a1cebd204bf459bf7daa1a] ffmpeg: add video
 heartbeat capability to fix_sub_duration
 git bisect bad 9a820ec8b1e2323b70a1cebd204bf459bf7daa1a
 # bad: [b92028346c35dad837dd1160930435d88bd838b5] lavfi/deinterlace_qsv:
 re-use VPPContext for deinterlace_qsv filter
 git bisect bad b92028346c35dad837dd1160930435d88bd838b5
 # good: [a48c95d3c9c404c9139f7fc4eb7ae8bdf6fe0eaa] lavfi/deinterlace_qsv:
 simplify deinterlace_qsv filter
 git bisect good a48c95d3c9c404c9139f7fc4eb7ae8bdf6fe0eaa
 # first bad commit: [b92028346c35dad837dd1160930435d88bd838b5]
 lavfi/deinterlace_qsv: re-use VPPContext for deinterlace_qsv filter
Ticket URL: <https://trac.ffmpeg.org/ticket/10262#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list