Hello All,
I believe is easy to create a new ticker in ffmpeg using for example :- -filter_complex "[0:v]drawbox=x=0:y=1020:w=1920:h=40:color=white@0.6:t=fill drawtext=textfile='/home/dev/files/scroller.txt':x=(mod(-t*55\,(1920-200)+text_w)-text_w):y=1030:\ fontfile='/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf':fontsize=28:fontcolor=darkslategray:box=0[base];\ [2:v]scale=-1:40[logo];[base][logo]overlay=x=10:y=1020
Is there a plan to develop a scroller element for gstreamer?
I did look at Skia which is new over using Pango… All a bit out of my development skill level.
Any example links and has anyone successfully do a scroller? using Textoverlay and dynamically changing the x, y position I’d suspect be waste of CPU cycles?
Sorry, I can’t. It’s all in proprietary code, and each of the cases had special requirements.
It’s not really hard though: look at how textoverlay renders text. Do something like that based on your requirements to get pixels with your text, and then clip and offset it over time when overlaying it on top of the video.