Bash script stops execution of ffmpeg in while loop - why?

前端 未结 3 544
庸人自扰
庸人自扰 2020-12-11 20:33

I have this bash script for converting .mp4 video to .mp3 audio. It runs, but does the loop only once, though there are more mp4 files in /ho

3条回答
  •  爱一瞬间的悲伤
    2020-12-11 21:06

    The answer is to add -nostdin to ffmpeg (wouldn't answer to an old question like this, but still tops on related Google searches).

提交回复
热议问题