What version of ffmpeg does this use? Last I tried torch tools used really outdated version of ffmpeg at the time of their release.
Do you link to the shared object files? Or do you use subprocess?
Solutions that shell out to the `ffmpeg` binary are not going to perform well.