Re: [FFmpeg-user] center-align multiple text lines

2020-04-28 Thread Michael Koch
Am 11.04.2020 um 23:24 schrieb Moritz Barsnick: On Sat, Apr 11, 2020 at 23:03:31 +0200, Michael Koch wrote: I want to show the content of a credits file scrolling up.The file contains many lines of different lengths. drawtext=textfile=credits.txt:x=(w-text_w)/2:y=h-100*t The variable text_w

Re: [FFmpeg-user] center-align multiple text lines

2020-04-11 Thread Moritz Barsnick
On Sat, Apr 11, 2020 at 23:03:31 +0200, Michael Koch wrote: > I want to show the content of a credits file scrolling up.The file > contains many lines of different lengths. > > drawtext=textfile=credits.txt:x=(w-text_w)/2:y=h-100*t > > The variable text_w is the width of the longest line in the

[FFmpeg-user] center-align multiple text lines

2020-04-11 Thread Michael Koch
Hello, I want to show the content of a credits file scrolling up.The file contains many lines of different lengths. drawtext=textfile=credits.txt:x=(w-text_w)/2:y=h-100*t The variable text_w is the width of the longest line in the text file. This line is center-aligned in the frame, and all