Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2442 closed defect (worksforme)

Filter sources do not free memory

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

Description

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.:

life=s=1280x720

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

by Bernardo, 12 years ago

Attachment: img_cut.png added

memory usage with filter source

comment:1 by Bernardo, 12 years ago

Version: unspecifiedgit-master

comment:2 by Hendrik, 12 years ago

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 by Carl Eugen Hoyos, 12 years ago

Keywords: leak added; filter source removed
Resolution: worksforme
Status: newclosed

comment:4 by Bernardo, 12 years ago

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

Note: See TracTickets for help on using tickets.