[FFmpeg-trac] #10518(undetermined:new): crop corrupts pngs when the crop is close to the right and lower edges

FFmpeg trac at avcodec.org
Sat Aug 12 06:46:51 EEST 2023


#10518: crop corrupts pngs when the crop is close to the right and lower edges
--------------------------------------+----------------------------------
             Reporter:  wesnet12345   |                     Type:  defect
               Status:  new           |                 Priority:  normal
            Component:  undetermined  |                  Version:  6.0
             Keywords:                |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+----------------------------------
 Summary of the bug:
 When I try to crop e.g. the top right corner of a video into a png, the
 output is corrupted. I have to stay 10 ish pixels away from the right edge
 to make it work.

 How to reproduce:
 I am trying on a 1280x720 .mov prores video, I don't know if it matters.

 {{{
 crop=w=20:h=20:x=1260:y=0:exact=1:keep_aspect=0
 }}}

 Results in corrupted PNGs, whereas the following works just fine:

 {{{
 crop=w=20:h=20:x=1250:y=0:exact=1:keep_aspect=0
 }}}

 in stderr I see nothing that indicates there was an error
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10518>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list