Hey guys I want to add a logo to my video with ffmpeg but I am getting this error while running the below command. What is the reason? Please do help.
`Unable to find a suitable output format for 'overlay=x=main_w-overlay_w-(main_w*0.01):y=main_h-overlay_h-(main_h*0.01)' overlay=x=main_w-overlay_w-(main_w*0.01):y=main_h-overlay_h-(main_h*0.01): Invalid argument.`
I am using python subprocess to run ffmpeg commands.
subprocess.call([settings.VIDEO_ENCODING_FFMPEG_PATH, '-i', input_file_path,
'-i', logo_path, '-filter_complex','scale=1920:1080',
'overlay=x=main_w-overlay_w-(main_w*0.01):y=main_h-overlay_h-(main_h*0.01)',
'-codec:v', 'libx264','-crf', '18',
'-preset', 'slow', '-b:v', '1000k', '-maxrate', '2000k', '-bufsize', '2000k',
"-pix_fmt", "yuv420p",
'-codec:a', 'aac', '-b:a', '128k', '-strict', '-2', output_file_path])
Thanks