Technology · Culture · Change
Sign inJoin us
TechTrends NowFollow the next shiftTechnology · Culture · Change
← Latest news

From Dev.to

How to Resize a Video With FFmpeg (Keep the Aspect Ratio, Round to Even, Pad or Crop, and Test It With pytest)

To resize a video with FFmpeg without distorting it, set one dimension and let FFmpeg compute the other: -vf scale=-2:720 gives you a 720-pixel-tall video whose width follows the source aspect ratio,...

Read the full report at Dev.to ↗