I'm using ffmpeg
to scale and change speed of my videos.
And below script was not worked:
ffmpeg -i input.mp4 -filter_complex "[0:v]setpts=0.666*PTS[i]; [i]scale=640:640[j]; [0:a]atempo=1.5[p]" -map "[j]" -map "[p]" output.mp4 2>&1
More simple script I testes also not working
ffmpeg -i input.mp4 -filter_complex "scale=640:640" output.mp4 2>&1
Original video have resolution 1280x720
, and I want to resize to 640x640
, with padding 320
left and right.
What are my wrongs in script?
Sorry for my bad English!