remove tcp protocol and make it static

This commit is contained in:
Jonathan Baecker 2020-04-29 09:39:24 +02:00
parent 78f96cc691
commit 6ab379f103
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ def main():
_text.address
))
overlay = [
'-vf', "null,zmq=b='{}',drawtext=text='':fontfile='{}'".format(
'-vf', "null,zmq=b=tcp\\\://'{}',drawtext=text='':fontfile='{}'".format(
_text.address.replace(':', '\\:'), _text.fontfile)
]

View File

@ -81,7 +81,7 @@ text:
On windows fontfile path need to be like this 'C\:/WINDOWS/fonts/DejaVuSans.ttf'.
In a standard environment the filter drawtext node is Parsed_drawtext_2.
add_text: False
bind_address: "tcp://127.0.0.1:5555"
bind_address: "127.0.0.1:5555"
fontfile: "/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf"
out: