[FFmpeg-trac] #7777(avfilter:new): cropdetect values cut too much

FFmpeg trac at avcodec.org
Sat Mar 9 12:42:15 EET 2019


#7777: cropdetect values cut too much
-------------------------------------+------------------------------------
             Reporter:  JouMxyzptlk  |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:  cropdetect   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by JouMxyzptlk):

 Replying to [comment:2 cehoyos]:
 > Replying to [ticket:7777 JouMxyzptlk]:
 >
 > > We need an option to prefer smaller black borders over killing parts
 of the video.
 > This is not how cropdetect is supposed to work...

 There is no documentation anywhere on "supposed to work", so it is not
 defined. It simply got implemented the destructive way. The "supposed"
 discussion though is nothing for a bug report, that is something for a
 forum where we can slap opinions around which way is supposed to be the
 only right way.

 I miss having the ability to choose whether to sacrifice actual content
 being cut away, or to live with the smallest black bars possible within
 the target codec constraints. Therefore my enhancement suggestion to give
 us the choice.

 Using my .CMD I simply worked around that issue so I can blindly trust the
 result being non-destructive. But a ffmpeg-internal implementation is,
 IMHO, better since a lot of other projects use ffmpeg routines and will
 benefit.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7777#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list