An easy question! How to print the 1st drawtext x and y values at 2nd drawtext?

Questions involving a Windows version of FFmpeg.
Post Reply
FFmpeg2019
Posts: 7
Joined: Fri Oct 18, 2019 6:56 am

An easy question! How to print the 1st drawtext x and y values at 2nd drawtext?

Post by FFmpeg2019 » Fri Oct 25, 2019 7:40 pm

ffplay -an -i input.mp4 -vf \
drawtext=text=hello:fontcolor=blue:x=rand(0,640):y=rand(0,480),\
drawtext=text=print(x,y):fontcolor=pink:x=10:y=10


So, the 2nd text how to print the 1st text "hello" x and y values? how to get it?

Post Reply
'