[FFmpeg-user] VF Crop and overlay not working together but working seperate

Joey Leone jo2jo at validusdata.com
Tue Jul 10 01:09:13 CEST 2012


It appears I found the answer,  the issue was one needs to separate multiple video filters with a comma, not by reusing -vf.  Note I also had to move "[out]" to the end of the double video filter command and not just at the end of the overlay command.

Here was the answer that helped:
http://stackoverflow.com/questions/6195872/applying-multiple-filters-at-once-with-ffmpeg


and here is the command working properly for others to use/learn from (its resizing with -s and doing two video filters, overlay AND crop):

/usr/local/bin/ffmpeg -i "/home/1280x720videoIN.wmv" -vf "movie=/home/watermark.png [logo]; [in][logo] overlay=640-overlay_w-10:320-overlay_h-10, crop=640:320:0:0 [out]" -s 640x360 -acodec libfaac -ab 128k -keyint_min 20 -vcodec libx264 -vpre lossless_slower -crf 23 -y -v 0 -bf 16 -threads 0 "/home/videoOUT.mp4"


Thanks!  Ffmpeg is SO powerful!

-----Original Message-----
From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Roger Pack
Sent: Monday, July 09, 2012 5:59 PM
To: FFmpeg user questions and RTFMs
Subject: Re: [FFmpeg-user] VF Crop and overlay not working together but working seperate

> Im using FFmpeg 0.8.5 on linux and trying to Crop and Add a watermark (overlay) to videos,
Could you try it with a newer version, and also give complete uncut
command line and console output?
Thanks.
-r
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list