Thanks for your reply. I'm looking for some direct help with integrating that line, of watermark code, into an existing php web video script, that has ffmpeg installed. Simple help with the input parameters, please. Much thanks, Chris
________________________________ From: ffmpeg-user <[email protected]> on behalf of Joshua Grauman <[email protected]> Sent: Tuesday, August 21, 2018 2:59 AM To: FFmpeg user questions Subject: Re: [FFmpeg-user] Help with ffmpeg code > Hello, > > I'm trying to add code so the php/linux web video script that I'm using, will > add a watermark upon each video upload. > > I've added this '$shell' line, in between the existing code lines here, with > no success: > > $input_path = $full_dir . $file_upload['filename']; > > $shell = shell_exec("$ffmpeg_b -y -i "/var/www/realmedi/watermark1.png > -vcodec libx264 -preset {$pt->config->convert_speed} -filter:v scale=426:-2 > -crf 26 $video_output_full_path_240 2>&1"); > > $output_path = $full_dir . $thumb; > > > > Any help will be appreciated. ffmpeg -i 00005.MTS -loop 1 -i logo.png -filter_complex[0:0][1:0]overlay=10:main_h-overlay_h-10:format=rgb[out]" -shortest -map [out] out.mp4 This is basically what I do to put a watermark/logo in the corner... Josh > > > > > > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
