[ffmpeg] ffmpeg usage to encode a video to H264 codec format