The watermark.png is too large for the video. I believed my code has scale code, but I'm not sure why the image doesn't scale down to it.
I've tried adding in scale2ref, but maybe didn't get the image reference correct.
$ffmpegCommand =''.$ffmpeg_b.' -y -i '.$video_file_full_path.' -i '.$watermark_image_full_path.' -i '.$watermark_image_full_path.' -filter_complex "scale=640:-2, scale=640:-2, overlay=10:10, overlay=170:170:enable=between(t\,5\,5+2)" -vcodec libx264 -preset '.$pt->config->convert_speed.' -crf 26 '.$video_output_full_path_360.' 2>&1';
I expected the image to scale according to the current scale=, but the image appears too large