The php web video script that I’m using (uses ffmpeg) automatically adds a watermark to an uploaded video.
It uploads these sizes to the videos folder for the single video: 240, 360, 480, 720, 1080, 2048 and 4096
I’m trying to find a solution where the watermark image doesn’t look blurry when ‘full screen’ mode is selected.
Would adding ImageMagick to my ffmpeg code here be a solution:
Code: Select all
$ffmpegCommand =''.$ffmpeg_b.' -y -i '.$video_file_full_path.' -i '.$watermark_image_full_path.' -filter_complex "scale=426:-2, overlay=10:10, " -vcodec libx264 -preset '.$pt->config->convert_speed.' -crf 26 '.$video_output_full_path_240.' 2>&1';
(I can provide some visual aid (images) if needed)
Any guidance is appreciated