【发布时间】:2020-03-23 00:48:30
【问题描述】:
我正在尝试使用 FFMPEG 从视频中删除 2 到 3 秒的中间部分。使视频在 2 到 3 秒之间播放开头和结尾但没有中间部分。
这个页面有点帮助 https://superuser.com/questions/681885/how-can-i-remove-multiple-segments-from-a-video-using-ffmpeg
我的代码如下:-
ffmpeg -i input.mp4 -filter_complex "[0:v]trim=start=2:end=3,setpts=PTS-STARTPTS, concat[out1]" - map [out1] output_without_2_to_3_secs.mp4
但是使用此代码我收到以下错误消息
在过滤器 Parsed_concat_2 上找不到未标记输入板 1 的匹配流。我使用的是 Mac。
非常感谢任何建议
【问题讨论】: