https://bugs.kde.org/show_bug.cgi?id=429326
Dmitrii Utkin <loen...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |loen...@gmail.com --- Comment #3 from Dmitrii Utkin <loen...@gmail.com> --- This could be solved by adding ",setsar=1" after "scale=$WIDTH:$HEIGHT", but.. frames become stretched. We can add black padding to keep ratio by adding "force_original_aspect_ratio=decrease,pad=$WIDTH:$HEIGHT:(ow-iw)/2:(oh-ih)/2" but probably it doesn't look so good? Also some filters and encoders like gif doesn't work with variable input image size it either causes ffmpeg to crash or just skip everything until the target ratio is reached. You can try how it works, just edit MP4 x264 profile like this: ------------------------------------------------------------ -framerate $IN_FPS -i "$INPUT_DIR%07d.jpg" -vf "scale=$WIDTH:$HEIGHT:force_original_aspect_ratio=decrease,pad=$WIDTH:$HEIGHT:(ow-iw)/2:(oh-ih)/2,setsar=1" -c:v libx264 -r $OUT_FPS -pix_fmt yuv420p ------------------------------------------------------------ If it's ok, I will update profiles accordingly. -- You are receiving this mail because: You are watching all bug changes.