Add a logo to stream or Stream a picture
Posted: 16 Jun 2010 18:44
by Hoodie_JR
How do I add my logo to my stream. I have selected it in the VLC preferences but it never shows.
Also can VLC stream a GIF?
Re: Add a logo to stream or Stream a picture
Posted: 18 Jun 2010 23:41
by Hoodie_JR
:sout=#transcode{vfilter=croppadd{cropleft=10,cropright=10,croptop=46,cropbottom=52},vb=800,width=640,height=360,venc=x264{subme=7,ref=1,bframes=16},vcodec=h264,deinterlace-mode{linear},deinterlace,acodec=mp3,ab=96,channels=2,threads=4}:duplicate{dst=standard{access=http,mux=asf,dst=localhost:1234}}
There is my command line. If someone could show me how to implement the logo would be great. I have tried the how to and its not working. I am not sure what I am doing wrong. All I want is a simple logo in the top right corner/
Re: Add a logo to stream or Stream a picture
Posted: 28 Jun 2010 08:23
by ILEoo
http://wiki.videolan.org/Documentation:Modules/logo is the place for logo-options, for transcoding, you also need to add soverlay-option to transcode-block, for example
Code: Select all
transcode{soverlay,sfilter=logo{file=mylogo.png,position=10},rest-of-the-transcode-stuff}....
Re: Add a logo to stream or Stream a picture
Posted: 24 Aug 2010 21:30
by Padawan.AVT
Hi! Thanks for this answer, now I'm able to see my logo as well, but I have the next question:
My logo is some text on transparent background.I was testing with PNG image saved in two version: with and without interlacing, but both of them give me some rubbish instead:
When it just has to be an elegant text on the screen like this:
I'm launching my video with this command:
Code: Select all
cvlc w.avi --loop --sout="#transcode{soverlay,sfilter=logo{file=tebe1.png,transparency=100},vcodec=FLV1,vb=1024}:std{access=http{mime=video/x-flv},dst=:8081/stream.flv,mux=ffmpeg{mux=flv}}"
How can I get what I want?