Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#2442 closed defect (worksforme)

Filter sources do not free memory

Reported by: jbvsmo Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords: leak
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Summary of the bug: Looks like some filter sources (color, nullsrc, rgbtestsrc, smptebars, testsrc) do not free memory and probably holds all the frames during operation.

Check the attatched image for memory usage during the first command:

$ ffmpeg -f lavfi -i 'nullsrc=s=1280x720' -t 60 dummy.mp4
$ ffplay -f lavfi -i 'testsrc=s=1280x720' -t 60

(ffmpeg version git-2013-03-11-73b40e2)

Using other filter sources, the problem doesn't occur. E.g.:


Attachments (1)

img_cut.png (99.2 KB) - added by jbvsmo 7 years ago.
memory usage with filter source

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by jbvsmo

memory usage with filter source

comment:1 Changed 7 years ago by jbvsmo

  • Version changed from unspecified to git-master

comment:2 Changed 7 years ago by heleppkes

Please always test with latest git master, and not builds a month old.
2013-03-11 is already very old, and in fact a related thing was changed on 15th of march.

comment:3 Changed 7 years ago by cehoyos

  • Keywords leak added; filter source removed
  • Resolution set to worksforme
  • Status changed from new to closed

comment:4 Changed 7 years ago by jbvsmo

Sorry about that. It was really fixed on some newer commit.

Note: See TracTickets for help on using tickets.