aviocat: Add support for specifying the input duration