ffmpeg override output file if exists

后端 未结 2 2083
独厮守ぢ
独厮守ぢ 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.

    0 讨论(0)
  • 2021-01-31 07:16

    use option -y with your command

    ffmpeg -y 
    -i /audio/your_file_name.flac 
    -t 51 
    -ss 69 
    /clips/your_clip_name.mp3 2>&1 >> /ffmpegLogs.log
    
    0 讨论(0)
提交回复
热议问题