首页 Order FFmpeg 正文

FFmpeg 视频转场Xfade

金鹏头像 金鹏 FFmpeg 2021-11-02 16:11:46 0 3866
导读:ffmpeg-i1.mp4-i2.mp4-filter_complexxfade=transition=rectcrop:duration=1:offset=5-y...

图片.png



ffmpeg -i 1.mp4 -i 2.mp4 -filter_complex xfade=transition=rectcrop:duration=1:offset=5 -y 3.mp4


duration 持续时间 (设置交叉淡出持续时间,以秒为单位。默认为1秒)

offset 偏移量 (设置交叉淡入开始相对于第一个输入流的秒。默认偏移量为0)

transition 过渡效果

  • ‘custom’

  • ‘fade’

  • ‘wipeleft’

  • ‘wiperight’

  • ‘wipeup’

  • ‘wipedown’

  • ‘slideleft’

  • ‘slideright’

  • ‘slideup’

  • ‘slidedown’

  • ‘circlecrop’

  • ‘rectcrop’

  • ‘distance’

  • ‘fadeblack’

  • ‘fadewhite’

  • ‘radial’

  • ‘smoothleft’

  • ‘smoothright’

  • ‘smoothup’

  • ‘smoothdown’

  • ‘circleopen’

  • ‘circleclose’

  • ‘vertopen’

  • ‘vertclose’

  • ‘horzopen’

  • ‘horzclose’

  • ‘dissolve’

  • ‘pixelize’

  • ‘diagtl’

  • ‘diagtr’

  • ‘diagbl’

  • ‘diagbr’

  • ‘hlslice’

  • ‘hrslice’

  • ‘vuslice’

  • ‘vdslice’

  • ‘hblur’

  • ‘fadegrays’

  • ‘wipetl’

  • ‘wipetr’

  • ‘wipebl’

  • ‘wipebr’

  • ‘squeezeh’

  • ‘squeezev’

  • ‘zoomin’


本文地址:https://www.jinpeng.work/?id=10
若非特殊说明,文章均属本站原创,转载请注明原链接。
广告3

欢迎 你 发表评论:

  • 请填写验证码

日历

«    2025年11月    »
一 二 三 四 五 六 日
12
3456789
10111213141516
17181920212223
24252627282930

控制面板

您好,欢迎到访网站!
  查看权限
广告2

退出请按Esc键