Become a member
Sign in
Hany Alsamman
Hany Alsamman

Hany Alsamman

5 Following
4 Followers
  • Profile

  • Claps

  • Highlights

Latest

Hany Alsamman
Hany Alsamman
Dec 19, 2017 · 1 min read

FFmpeg: Scales the output video so it matches the value in python

FFMPEG scales the output video so it matches the value
that you specified in either Max Width or Max Height without exceeding the other value.

sh = source height
sw = source width
height =…