Re: [FFmpeg-user] watermark text with background at the bottom center of video

2016-07-22 Thread Peter White
Am 22.07.2016 um 01:58 schrieb davidjesse: > But I get the following errors when I change the x and y params > > drawbox="x=(w-text_w)/2:y=(h-text_h):w=3000:h=10:color=black@1:t=max" That's because the drawbox filter does not know anything about text_w or text_h. Also w and h are the desired

Re: [FFmpeg-user] watermark text with background at the bottom center of video

2016-07-21 Thread davidjesse
I think the best way would be to draw the box first with the drawbox filer and then write text over it. I was able to draw a box with the following filter drawbox=x=10:y=10:w=100:h=100:color=pink@0.5:t=max But I get the following errors when I change the x and y params drawbox="x=(w-text_w)/2

Re: [FFmpeg-user] watermark text with background at the bottom center of video

2016-07-21 Thread Peter White
Am 21.07.2016 um 04:48 schrieb davidjesse: > ffmpeg -i myvideo.flv -vf > drawtext="fontfile=/root/video/Bristol.otf: > text='Stack Overflow': fontcolor=white: fontsize=24: box=1: > boxcolor=black@1: x=(w-text_w)/2: y=(h-text_h)/2" -codec:a copy > output.flv > > I want to have a full black backgro

[FFmpeg-user] watermark text with background at the bottom center of video

2016-07-20 Thread davidjesse
I am currently using the following command which writes text with a black background, but the text goes to the top left of the video. ffmpeg -i myvideo.flv -vf drawtext="fontfile=/root/video/Bristol.otf: text='Stack Overflow': fontcolor=white: fontsize=24: box=1: boxcolor=black@1: x=(w-text_w)/2: