add -i option for ffmpeg