Thumbnail generation using ffmpeg video decoder for MP4 and MOV user generated video files