kylegilman / video-embed-thumbnail-generator

A WordPress plugin that generates thumbnails, HTML5-compliant videos, and embed codes for locally hosted videos. Requires FFMPEG or LIBAV for encoding.
http://wordpress.org/plugins/video-embed-thumbnail-generator/
GNU General Public License v2.0
48 stars 27 forks source link

Fix video resolution calculation for non-16:9 videos #529

Closed kylegilman closed 1 year ago

kylegilman commented 1 year ago

It's saving 1080p videos as video-720.mp4. Why?

kylegilman commented 1 year ago

Fullres was a red herring. Resolution calculations need to use width instead of height!

kylegilman commented 1 year ago

Actually needed to apply the scale filter even when there's no watermark.