edit video resolution code example Example: change resolution of a video ffmpeg -i input.mp4 -s 320x240 -b:v 16k -b:a 8k output.mp4