Remove the use of NamedTemporaryFile and use the workbench for video processing.

Patch provided by kushal