[FFmpeg-user] Logos and Text Shrunk/Scaled

Rob Desilets rd at icalc.com
Tue Jul 17 18:14:46 CEST 2012


Hi All,

I am using the filters to put text in the top/bottom left and logos in 
the top/bottom right of my converted videos. It has been working 
perfectly for many months.

Here is my command:

/usr/local/bin/ffmpeg -i 4384.mts -vf 
"movie=/home/bigwayvideos/processing/bottom_right_watermark.png 
[logo];movie=/home/bigwayvideos/processing/top_right_watermark.png 
[logo2];[in][logo] overlay=W-w-8:H-h-8 [in+logo];[in+logo][logo2] 
overlay=W-w-8:8 [in+logo2]; [in+logo2] 
drawtext=fontfile=/usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf:text='test 
(Jul 2012) - Day\: 1\, Jump\: 
5':fontsize=24:fontcolor=black=10:y=10,drawtext=fontfile=/usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf:text='Videographer\: 
Rob Desilets - 
skydivingphotography.com':fontsize=24:fontcolor=black=10:y=H-th-10 
[final];[final]yadif=1[out]" -vol 0 -y -c:v libx264 -crf 24 -preset slow 
-profile:v baseline -level 30 -c:a libfaac -q:a 100 -r 30 -s 480x320 
test-071612-rd-4384-9.mp4


The [old] output looked like this:

http://legacy.skydivingphotography.com/old.png


Notice the size of the logo in top right/bottom right.


About 3 weeks ago I upgraded my ffmpeg (using the steps outlined in this 
thread) and now when I process the videos my logos are super small.


The new output looks like this:


http://legacy.skydivingphotography.com/new.png


Note the [small] size of the logos in top/bottom right.


The video input is the same size and so are the logos themselves; the 
only thing different is the ffmpeg I am using.


Does anyone know if I need to pass any additional/new flags into ffmpeg 
or what I need to do to get them the same size they were?


As always, thanks for your time

-Rob



More information about the ffmpeg-user mailing list