Add a logo to stream or Stream a picture

About encoding, codec settings, muxers and filter usage
Hoodie_JR
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jun 2010 04:19

Add a logo to stream or Stream a picture

Postby Hoodie_JR » 16 Jun 2010 18:44

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?

Hoodie_JR
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jun 2010 04:19

Re: Add a logo to stream or Stream a picture

Postby Hoodie_JR » 18 Jun 2010 23:41

: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/

ILEoo
Developer
Developer
Posts: 91
Joined: 05 Nov 2008 16:29

Re: Add a logo to stream or Stream a picture

Postby ILEoo » 28 Jun 2010 08:23

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}....

Padawan.AVT
New Cone
New Cone
Posts: 1
Joined: 24 Aug 2010 20:53

Re: Add a logo to stream or Stream a picture

Postby Padawan.AVT » 24 Aug 2010 21:30

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:

Image

When it just has to be an elegant text on the screen like this:
Image


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?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 18 guests