Update func.php

Prevents FFMPEG error (Could not get frame filename number 2 from pattern), so only one thumbnail is created.