The code is:
tempfile = Tempfile.open(\'content\') tempfile.write(content) movie = FFMPEG::Movie.new(tempfile.path) screenshot_temp_file = Tempfile.open(\'scr