FFMpeg流说明符不匹配


無口君
2025-03-19 02:49:40 (4小时前)


我试图将2到n个视频与各种过渡组合在一起,上面有mp3音频(最后一秒褪色)。

ffmpeg -ss 5 -t 10 -i C:\ Users \ User \ source \ repos \ tryRunFFmpeg \ 2_snow.mp4


3 条回复
  1. 0# ⑩Ⅵ嵗D夨憶 | 2019-08-31 10-32



    我觉得你有一个错字

    [2:a]fade=t=out:st=9.5:d=0.5[aa]

    你可能打算用

    afade

    音频淡入淡出滤波器代替视频淡入淡出滤波器

    fade




    试试这个

    [2:a]afade=t=out:st=9.5:d=0.5[aa]



  2. 1# 梦中会飞的鱼 | 2019-08-31 10-32



    您的命令有几个小问题:





    Stream specifier ‘:a’ in filtergraph description … matches no streams.




    更改

    [2:a]fade



    [2:a]afade

    。淡入淡出过滤器用于视频。 afade过滤器用于音频。





    Filter afade has an unconnected output




    更改

    -map aa



    -map [aa]






    Streamcopy requested for output stream 0:0, which is fed from a complex filtergraph. Filtering and streamcopy cannot be used together.




    去掉

    -c:a copy



登录 后才能参与评论