ffmpeg -i VIDEO_IN -vcodec libx264 -crf 24 -filter:v scale=1024:-1 -acodec aac -ab 128k VIDEO_OUT.mp4