As shown in these video screen captures, I would like to replace the text in the upper left of the videos to another language.
What I am thinking is first to create a gradient box with colors that are automatically sampled along the edges of the box. Then it would be easy to
drawtext the replacement text. For each video file, the background gradient doesn't change, so it can be sampled only once for each file.
Is this possible in FFmpeg? Other ideas on how to achieve the text replacement is also welcome.