我想使用FFmpeg更改我的视频分辨率:
-s 852×480
当视频的宽度或高度大于852×480时,我该如何实现这个目标?
我想使用ffmpeg来实现这个目标,而不是使用我的编程语言:
if video.width > 852:
resize width and proportionally resize height
if video.height > 480:
resize height and proportionally resize width
if video.width > 852 and video.height > 480:
resize height width