ffmpeg override output file if exists

后端 未结 2 2089
独厮守ぢ
独厮守ぢ 2021-01-31 07:00

I am creating a clip from an audio file .FLAC with a start and end time, here is my command.

ffmpeg -i /audio         


        
2条回答
  •  暖寄归人
    2021-01-31 07:14

    I need to add the -y global switch before specifying the output file to accomplish this

    ffmpeg -i /audio/191079007530_1_01.flac -t 51 -ss 69 -y /clips/44z274v23303t264y2z2s2s2746454t234_clip.mp3 2>&1 >> /ffmpegLogs.log
    

    Alternatively, you can use the -n option to deny overriding the file.

提交回复
热议问题