Page 1 of 1

Playing with logos in realtime

Posted: 10 Aug 2008 21:06
by ayperos
Hi,

I'd like to manage logos on video in a realtime basis.

I succed almost. First I'm launching the commande below

Code: Select all

vlc -I rc --sub-filter logo --logo-file mylogo.png myvideo.mpg
And I can hide the logo by entering the command

Code: Select all

logo-file nonexistinglogo.png
And I can display again the logo with this command.

Code: Select all

logo-file mylogo.png
Now I'm looking for a way to do it programmatically with perl, Bash or other languages.

Anyone have an idea ?

Thanks

Re: Playing with logos in realtime

Posted: 09 Oct 2008 08:24
by anthony
Bro,
Do you know how to do in Windows.

thanks,
Anthony

Re: Playing with logos in realtime

Posted: 10 Oct 2008 21:00
by Erwan100
Hi,

you can use a TCP/IP socket in lieu of the standard rc interface by typing :

=> vlc -I rc --rc-host localhost:9999 --sub-filter logo .....

You can connect to vlc by issuing the following command and typing the rc commands.
=> nc localhost 9999

This nc command can very easily be inserted into a bash shell as in the following example
#!/bin/bash

nc localhost 9999 <<EOF
@my_marq marq-marquee $1
logout
EOF