You are here: Home Blog Tags Live Streaming

The Bay Blog

The Bay Christian Family Church Blog

  • Home
    Home This is where you can find all the blog posts throughout the site.
  • Categories
    Categories Displays a list of categories from this blog.
  • Tags
    Tags Displays a list of tags that have been used in the blog.
  • Bloggers
    Bloggers Search for your favorite blogger from this site.
  • Archives
    Archives Contains a list of blog posts that were created previously.
  • Login
    Login Login form
Subscribe to this list via RSS Blog posts tagged in Live Streaming
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.
 
Techie info:
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.
5) you can change the position and text attributes with additional options - see https://wiki.videolan.org/Documentation:Modules/marq/ for more details
 
Check: 
- 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:
c:\play_vlc.bat
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

c:\display_text.txt
Some text to display

 

Hope this helps :)

Bay Newsletter

Find Us On

Contact Us

The Bay CFC:

Section 3, Gants Centre, Fabriek Street, Somerset West, 7130, Cape Town, South Africa

Telephone:

00 (+27) 21 853 7771

Email:

Click here to email us