For recent versions of ffmpeg, see Gyan's answer instead
Original answer:
with ffmpeg 0.11.1 it's as easy as:
ffmpeg -f image2 -i %*.png out.avi
From the man
page, in an example under "Video and Audio file format conversion":
When importing an image sequence, -i
also supports expanding shell-like wildcard patterns (globbing) internally. To lower the chance of interfering with your actual file names and the shell's glob expansion, you are required to activate glob meta characters by prefixing them with a single %
character, like in foo-%*.jpeg
, foo-%?%?%?.jpeg
or foo-00%[234%]%*.jpeg
.
Update per comments: on recent versions you should now use -i '*.png'
syntax.