FFMPEG video conversion on server when necessary