using ffmpeg to get video duration