【发布时间】:2018-09-27 13:04:24
【问题描述】:
问题是当我尝试缩放视频并保持纵横比时
ffmpeg -i in.mp4 -vf scale=240:-1 out.mp4
我也尝试过 -s 240x135 但总是同样的错误..
height not divisible by 2 (240x135)
但是如果我尝试 240x180 它可以工作,问题是因为我需要保持纵横比,因为我需要 scale=240:-1
错误我有什么
height not divisible by 2 (240x135)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
【问题讨论】:
标签: ffmpeg