ffmpeg - blend video with images So I want to create videos that had a red overlay, effect and I assume that blend is the right options filter for this. Here my command :

ffmpeg -i dogs.mp4 -i red.jpg -filter_complex '[1:v]scale=1280:720[ckout];[0:v][ckout]blend=all_mode='multiply'[out]' -map '[out]' output.mp4


But when i tried this I always got : 

Press [q] to stop, [?] for help
[swscaler @ 00000263f19a9560] deprecated pixel format used, make sure you did set range correctly
[Parsed_blend_1 @ 00000263f192fa20] First input link top parameters (size 1920x1080, SAR 0:1) do not match the corresponding second input link bottom parameters (1280x720, SAR 1:1)
[Parsed_blend_1 @ 00000263f192fa20] Failed to configure output pad on Parsed_blend_1
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!


What is the right command for this?
The blend filter requires both inputs to have the same resolution. You can use the scale2ref filter to resize the overlay.

ffmpeg -i dogs.mp4 -i red.jpg -filter_complex '[1:v][0:v]scale2ref[ckout][vid];[vid][ckout]blend=all_mode='multiply'[out]' -map '[out]' output.mp4