I am having problems trying to add a logo on a vstack/hstack composition using ffmpeg.
I have tried numerous combinations but I can only add the logo over the first input video, but not over any position in the available space of the montage/composition.
I need to add the logo sometimes over the space used by the second input or the third, or over any other point.
My command line is as follow ...
For example I cannot add the logo over the second video/input using ...Code:./ffmpeg -i movie0 -i movie1 -i movie2 -i logo.png -filter_complex "vstack=inputs=3,drawtext=text=\'movie0\',drawtext=text=\'movie1\',drawtext=text=\'movie2\' -map 0:v? -map 1:v? -map 2:v? -pix_fmt yuv420p -c:v libx264 -an -y output
Any idea about how to be able to use any space of the composition to insert the logo via overlay?Code:[1:v][3:v]overlay=x=50:y=240,vstack=inputs=3 ...
Thank you very much in advance
+ Reply to Thread
Results 1 to 5 of 5
ffmpeg -i movie0 -i movie1 -i movie2 -i logo.png -filter_complex "[0:v]drawtext=text=\'movie0\'[a];[1:v]drawtext=text=\'movie1\'[b];[2:v]drawtext=text=\'movie2\'[c];[a][b][c]vstack=inputs=3[stack];[stack][3:v]overlay=x=50:y=240[out]" -map "[out]" -pix_fmt yuv420p -c:v libx264 -an -y output
Last edited by sneaker; 22nd Sep 2019 at 10:23.
Did you forget one or more of the input files? (Always) post your complete command/log.