Dynamic Text Issue with video.add_text.ffmpeg.raw.filter() #3554
Replies: 3 comments 16 replies
-
Hi @bradenfallon, Also
|
Beta Was this translation helpful? Give feedback.
-
@vitoyucepi I'm a bit surprised by this error, we never use this parameter:
@bradenfallon the reload mechanism is tricky with fffmpeg filters. You need to trigger the reload manually to trigger a reload of the filter's paramers. If you look at the filter's doc, this is explained:
You can either call If you don't know when to change, you can hook up the
|
Beta Was this translation helpful? Give feedback.
-
@vitoyucepi ERROR:
CODE:
I believe the issue is with the following parameter: When I remove the |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
There appears to be a bug in the video.add_text.ffmpeg.raw.filter() function, which correctly processes static text but generates incorrect output if the input is dynamic (such as changing metadata or a counter). I've included two lines of codes in one of my functions:
These output in the Liquidsoap log and show that the functions intially generating this data are running correctly. However, the issue arises after they are passed into video.add_text.ffmpeg.raw.filter().
To Reproduce
** Logs **
Expected behavior
This code should generate a video stream that shows the currently playing song metadata, a countdown until the next song is played, and a logo overlay. Instead, the code outputs no metadata, the number 00 instead of a countdown, but the logo is displayed correctly.
You can access the livestream to see the output at https://www.youtube.com/watch?v=HPhxFR1Y4MY
Version details
Liquidsoap 2.2.2
Install method
AzuraCast - v0.19.3 Stable - Docker - PHP 8.2
Beta Was this translation helpful? Give feedback.
All reactions