gpt4 book ai didi

ffmpeg 从顶部屏幕裁剪视频

转载 作者:行者123 更新时间:2023-12-04 22:46:25 29 4
gpt4 key购买 nike

由此

enter image description here

对此

enter image description here

我的代码不起作用,因为它是从两侧(顶部和底部)裁剪的

ffmpeg -i input.mp4 -filter:v "crop=iw:ih-100" -r 0.40 o/output_%04d.jpg

最佳答案

ffmpeg -i input.mp4 -vf "scale=960:-1,crop=in_w:in_h-200:0:out_h" -r 0.40 o/output_%06d.jpg

关于ffmpeg 从顶部屏幕裁剪视频,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61253984/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com