I have a solution to display messages on screen at live campuses during services - i.e. to display text over a live video or stream being played with VLC (tested using v2.1.1).
The easiest solution we can use without any additions is to use the marquee functionality that is built into VLC.
The marquee function has the ability to display the contents of a text file. The display is updated whenever the contents of the text file changed (and saved).
i.e. while service i running, edit the text file and save it - text is displayed automatically on the screen. delete the text and save = blank text displayed. NOTE: must save at least 1 blank space in the text file for it to update screen to blank text.
So the way this works is:
1) Save a text file to the drive in an easy accessible place (mac: desktop? or win: c:\ )
2) add these options to our existing script we use to start playing the stream (updating file path):
--sub-filter=marq --marq-file="c:\display_text.txt" --marq-position=4
3) run the script as normal. Text will be updated onto the live video as you update and save the text file.
4) save a space to "clear" the text.
- that the full-path to the text file is correct.
- there is a space between options
- mac has a different script format and vlc executable location
Contents of test files:
start /D "c:\Program Files (x86)\VideoLAN\VLC" vlc.exe c:\MyVideos\2013-02-24_17-55-02_cube.mp4 --sub-filter=marq --marq-file="c:\display_text.txt" --marq-position=4
Some text to display
Hope this helps :)