The following code works fine except 1 parameter:
ffmpeg -i 1.MP4 -i logo.png -i profile.png -filter_complex "overlay=main_w-overlay_w-8:8,overlay=10:10,