An interface between ffmpeg and Lua/Torch