FFMPEG filter之注意事项

  • 没有pad的filter叫source filter;没有output的filtr 叫sink filter;
  • ffplay 中,使用-vf、-af;ffmpeg中,使用-filter、-vf、-af、-filter_complex
  • 符号 ' (英文单引号)可以把一个命令参数列表包含起来,其中可以在引号内使用 \来表示转义字符。如果不使用 ' (单引号),下个字符正好遇见 ‘[]=;,’,作为一个整体的命令参数就会被中断,分割成若干个命令参数;
  • If an output pad is not labelled, it is linked by default to the first unlabelled input pad of the next filter in the filterchain. For example in the filterchain
nullsrc, split[L1], [L2]overlay, nullsink //the split filter instance has two output pads, and the overlay filter instance two input pads. The first output pad of split is labelled "L1", the first input pad of overlay is labelled "L2", and the second output pad of split is linked to the second input pad of overlay, which are both unlabelled.
  • 在描述一个filter的时候,如果第一个filter的输入label没有显式指定,就假定是'in',如果最后一个filter的输出label没有显式指定,就假定是'out'。
  • 当进行格式转换时,Libavfilter 自动插入一个scale filter

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值