/    Sign up×
Community /Pin to ProfileBookmark

How Can I Get These Watermarks To Scale To Fit The Video Parameters?

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

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @chrisjchrisj spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.14,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...