Add support for multiple inputs

This commit adds support for transcoding a movie using multiple inputs, which means the output is the concatenation of them in the order in which they're given.