Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal EnableDelayedExpansion
- set "img1=%~1"
- set "img2=%~2"
- set "outfile=%~dp1%~n2.jpg"
- ffmpeg -i "%img1%" -i "%img2%" -filter_complex "[1][0]scale=-1:h=ref_h[img2s]; [0][img2s]hstack=inputs=2[out]" -map [out] "%outfile%"
- pause
Advertisement
Add Comment
Please, Sign In to add comment