5,337
edits
Line 127: | Line 127: | ||
ffmpeg -i input.jpg -vf scale=iw*2:ih input_double_width.png | ffmpeg -i input.jpg -vf scale=iw*2:ih input_double_width.png | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* If the aspect ratio is not what you expect, try using the <code>setdar</code> filter | |||
** E.g. <code>setdar=ratio=2/1</code> | |||
;Resizing with transparent padding | ;Resizing with transparent padding |