[FFmpeg-trac] #7777(avfilter:new): cropdetect values cut too much
FFmpeg
trac at avcodec.org
Sat Mar 9 13:11:11 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 cehoyos):
Replying to [comment:3 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"
No.
There are only two decades of using features similar to our cropdetect
filter in different transcoding applications.
Or two explain it differently: What you suggest, completely (!) ruins the
effect the filter is supposed to have since forever. This was never about
a beautification of the output video but about removing an artefact that
makes encoding significantly more difficult leading to either worse output
or bigger files.
I am not opposed to allow the cropdetect filter to change its behaviour
(and I expect it is technically possible) but it has to be made clear that
what you describe is not a bug and what you expect would be considered a
bug if done by default.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7777#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list