[FFmpeg-trac] #9686(undetermined:new): drawbox breaks dynamic size
FFmpeg
trac at avcodec.org
Tue Mar 15 10:10:31 EET 2022
#9686: drawbox breaks dynamic size
-------------------------------------+-------------------------------------
Reporter: Jozef | Type: defect
Chutka |
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
When a particular combination of format+drawbox is used, it can break
dynamic size.
In the following sample green box gets smaller over time, while there is
red box draw on it. Following combination of format+scale+drawbox however
does not work and green box remain the original size.
{{{
ffmpeg -filter_complex
"color=c=black:r=20:s=400x400,format=argb[b];color=c=green:r=20:s=200x200,format=argb,scale=w=400-n:h=400-n:eval=frame,drawbox=w=10:h=10:t=fill:c=red[g];[b][g]overlay=format=auto"
-t 4 -y out.mp4
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
One can fix it by either:
1. remove `format=argb` from `[b]`
2. remove `drawbox`
3. remove `format=auto` in `overlay`
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9686>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list