liquidsoap
liquidsoap copied to clipboard
Scrolling text is jerky
With 1.5.0+git@82acd8f0
and this script, the scrolling text from the all add_text
sources is quite jumpy. I used native
here to illustrate with the simplest possible text generation
A speed of 60 pixels per second at 30fps should be really smooth, and it mostly is, but every couple of seconds, there's a judder:
#!/usr/bin/liquidsoap
set("init.allow_root",true)
set("frame.video.width", 640)
set("frame.video.height",368)
set("frame.video.samplerate",30)
set("frame.audio.size", 1470)
v = blank()
v = video.add_text.native("qwertyuiopasdfghjklzxcvbnm1234567890",speed=60,x=300,y=250,v)
output.file(%theora(quality=1), "/host/anonymous.theora", v)
I've attached a ZIP of a raw Theora video showing that every second or two, the scrolling will judder very noticably.
This doesn't seem like a typical 25 / 30fps mismatch, because it's not a regular jump.
Hi!
We have a game plan for the next major release to fix this and other issues you reported. We plan on implementing a layer content type, similar to what is done in OBS, to make these kind of video editing automation more efficient.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.