[FFmpeg-trac] #9378(avfilter:new): Horizontal green bar at the bottom with scale_qsv

FFmpeg trac at avcodec.org
Wed Mar 29 05:38:47 EEST 2023

#9378: Horizontal green bar at the bottom with scale_qsv
             Reporter:  maitreya2954  |                    Owner:  (none)
                 Type:  defect        |                   Status:  new
             Priority:  important     |                Component:  avfilter
              Version:  git-master    |               Resolution:
             Keywords:  scaling       |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
Comment (by Steve Browne):

 I created #10285 then realized it's a duplicate of this. As I mentioned in
 there IMO qsvdec.c should probably not be aligning the width/height values
 of the AVHWFramesContext. This prevents the correct CropW/CropH values
 from being set on the mfxSurfaces which results in this. Instead alignment
 should be applied whenever the width/height from the AVHWFramesContext are
 used and using whatever alignment is needed for the operation being done.
 I believe this is already the case. I've not seen any negative side
 effects from removing that alignment. See the attached patch (applies to
Ticket URL: <https://trac.ffmpeg.org/ticket/9378#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list