我正在尝试运行以下 ffmpeg 过滤器:
[0:a]asplit = 2[acopy0][acopy1],[acopy0] atrim=0:125.400000,asetpts=PTS-STARTPTS[a0],[acopy1] atrim=197.961000:198.020000,asetpts=PTS-STARTPTS[a1],[a0] [a1] concat=n=2:a=1[a]
但我一直收到错误:
[Parsed_asetpts_2 @ 0x557a69d7cf00] Media type mismatch between the 'Parsed_asetpts_2' filter output pad 0 (audio) and the 'Parsed_concat_5' filter input pad 0 (video)
[AVFilterGraph @ 0x557a69d7c040] Cannot create the link asetpts:0 -> concat:0
为什么它认为我需要视频以及我怎样才能让它只关心音频?