FFmpeg can only use branch if checkout branch head