1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How with image as a video watermark

Discussion in 'Graphics & Multimedia' started by chrisj, May 21, 2019.

  1. #1
    The php web video script that I’m modifying adds a watermark to uploaded videos. I’m trying to find a solution where the watermark image doesn’t look blurry in the ‘full screen’ mode.

    The script has a php file with lines of code like this:

    $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';

    for 240, 360, 480, 720, 1080, 2048 and 4096

    all use the
    $watermark_image_full_path = "watermark.png";

    would it be better to add a different watermark.png image for each size 240, 360, etc.?

    Any ideas or solutions to keep the image sharp not blurry upon resizing is welcomed
    chrisj, May 21, 2019 IP