Opened 17 months ago
Closed 17 months ago
#11564 closed defect (invalid)
Chaining 4 video fade filters does not work
| Reported by: | Claudiu Lazar | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avfilter |
| Version: | git-master | Keywords: | |
| Cc: | Claudiu Lazar | Blocked By: | |
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Summary of the bug: When I try to chain 4 video fade filters the overlay isn't shown at all, it works if I removed the last 2 fades.
How to reproduce:
ffmpeg -report -v 9 -loglevel 99 -y \
-f lavfi -r 30 -i color=c=blue:s=1920x1080:d=10:rate=30,format=rgba \
-f lavfi -r 30 -i color=c=yellow:s=300x200:d=10:rate=30,format=rgba \
-filter_complex \
'[1]format=rgba,
fade=t=in:st=0:d=2:alpha=1,
fade=t=out:st=2:d=2:alpha=1,
fade=t=in:st=4:d=2:alpha=1,
fade=t=out:st=6:d=2:alpha=1 [ovl];
[0][ovl]overlay=shortest=1:format=auto[v]' \
-map '[v]' -c:v libx264 -pix_fmt yuv420p double.mp4
ffmpeg version N-119376-g8ea11dcd84
built on 29-april-2025
Attachments (2)
Change History (3)
by , 17 months ago
| Attachment: | ffmpeg-20250430-122826.log added |
|---|
comment:1 by , 17 months ago
| Component: | undetermined → avfilter |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |
See https://stackoverflow.com/q/38166233/ for how the fade filter works, and how to effect multiple fades.
Note:
See TracTickets
for help on using tickets.



Log file from report