Menu
The ffmpeg works successfully to display watermarks on the video, yet the large watermark image isn’t resizing to fit the video screen:
$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′;
any assistance/suggestion is appreciated