dongqiuge5435 2013-07-23 23:27
浏览 26
已采纳

too long

i currently have 2 commands where i can select to put my watermark top-left or top-right of the video but i also have a watermark,which i wish to put in center-top,but i could only put it in center of the video,can someone pease help me with putting the waternmark on center top of the video ? here's what im using

$watermark = '-vf "movie='.$text_logo_path.' [watermark]; [in][watermark] overlay=10:main_h/2-overlay_h/2 [out]"

how can i get it to be in Top-Center ?

  • 写回答

1条回答 默认 最新

  • dsfg3241 2013-07-24 03:12
    关注

    center overlay image

    ffmpeg -i input1 -i input2 -filter_complex "overlay=main_w/2-overlay_w/2" out
    

    Use -filter_complex when you have multiple inputs and or outputs; this option also allows you to omit the movie source filter. See the overlay video filter documentation for more info.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 关于无人驾驶的航向角
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥30 BC260Y用MQTT向阿里云发布主题消息一直错误
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM
  • ¥15 划分vlan后不通了