Page 1 of 1

Simple Logo Overlay filter ?

Posted: 13 May 2008 08:28
by Fahim
Hello,
I'm trying to play my stream with a logo in stream. I've followed http://wiki.videolan.org/How_to_add_logo unsuccessfully.

Stream plays but no logo comes. Than I've also tried following in SSH.

vlc --sub-filter "logo{file=logo.png,transparency=128}" mms://serverip/movies --sout '#std {access=mmsh,mux=asfh,dst=:8080}'


Am I missing something or where exactly i've to put the logo file?

Thanks.

Re: Simple Logo Overlay filter ?

Posted: 13 May 2008 23:26
by Arite
You need to transcode the file with the logo overlayed using sfiler=logo. So try e.g.:

Code: Select all

vlc --sub-filter logo --logo-file logo.png --logo-transparency 128 INPUT_STREAM --sout="#transcode{vcodec=mp4v,vb=1024,scale=1,sfilter=logo}:duplicate{dst=std {access=mmsh,mux=asfh,dst=:8080}}"
That will trancode the video to mp4v at 1024kbps. I just used the mms output part from your sout string.

Cheers, Arite.

Re: Simple Logo Overlay filter ?

Posted: 14 May 2008 07:01
by Fahim
Thanks mate.
Where do I exactly put the logo image in ftp of my server?

Re: Simple Logo Overlay filter ?

Posted: 14 May 2008 13:15
by Arite
Where do I exactly put the logo image in ftp of my server?
Well it is either relative to the current directory you are or give the full path - shouldn't matter providing you give the path to it.

Arite.

Re: Simple Logo Overlay filter ?

Posted: 16 May 2008 07:52
by Fahim
Thank you very much !
Cheers

Re: Simple Logo Overlay filter ?

Posted: 16 May 2008 08:30
by airtek
You need to transcode the file with the logo overlayed using sfiler=logo. So try e.g.:

Code: Select all

vlc --sub-filter logo --logo-file logo.png --logo-transparency 128 INPUT_STREAM --sout="#transcode{vcodec=mp4v,vb=1024,scale=1,sfilter=logo}:duplicate{dst=std {access=mmsh,mux=asfh,dst=:8080}}"
That will trancode the video to mp4v at 1024kbps. I just used the mms output part from your sout string.

Cheers, Arite.

Thanks


Pierpaolo