Logo disappear/reappear problems?

About encoding, codec settings, muxers and filter usage
rv888
Blank Cone
Blank Cone
Posts: 17
Joined: 20 Jul 2007 17:21

Logo disappear/reappear problems?

Postby rv888 » 20 Jul 2007 17:33

I've been spending alot of time trying to figure this out. I've looked up and down the forums as well as google as much as possible.

The following test command works to a point. I can get the logo to show and then disappear. But, maybe I'm not understanding the intent of logo-repeat but the logo is not coming back. Am I misinterpreting something here? Based upon the command line wiki, I assume logo-delay is the length to show the logo in milliseconds. And then the logo-repeat is how many times to run this cycle?

vlc -vvv -I dummy test.avi --logo-file=logo.png --logo-delay=1000 --logo-repeat=25 --logo-transparency=100 --logo-position=10 --sout '#transcode{vcodec=h264,acodec=mpga,vb=1024,ab=128,sfilter=logo}:std{access=http,mux=ts,dst=:8080}' --ttl 12 vlc:quit

My interpretation: So after 1000 milliseconds disappear. Then after 1000 milliseconds reappear. Do this 25 times. Yes, that would be annoying, but it is just a test. If you see any other ways I can tweak it, please let me know. I may not have discovered them yet. Also, the stream is embedded into a web page.

Thanks anyone!

Ryan

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Logo disappear/reappear problems?

Postby dionoea » 20 Jul 2007 17:42

This command will display the logo 1 second 25 times without any skipping (If i understand it correctly). You might want to try this instead: "--logo-file 'image,1000,100;uselessimage,1000,0' --logo-repeat 25". This will alternate displaying "image" for 1 second at 100/255 alpha and "uselessimage" for 1 second at 0/255 alpha (== completely invisible).
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

rv888
Blank Cone
Blank Cone
Posts: 17
Joined: 20 Jul 2007 17:21

Re: Logo disappear/reappear problems?

Postby rv888 » 20 Jul 2007 18:15

That worked, thanks! It's giving the "blink" effect now.

Now I can continue tweaking.

For anyone else ever finding this... this is what worked for me as a test. (Show 3 seconds, go away for 1)

vlc -vvv -I dummy test.avi --logo-file='logo.png,3000,100;deadlogo.png,1000,0' --logo-repeat 5 --logo-position=10 --sout '#transcode{vcodec=DIV3,vb=768,scale=1,acodec=mp3,ab=64,sfilter=logo}:std{access=http,mux=ts,dst=:8080}' --ttl 12 vlc:quit

dynamitemedia
Blank Cone
Blank Cone
Posts: 60
Joined: 15 Jul 2007 23:30

Re: Logo disappear/reappear problems?

Postby dynamitemedia » 20 Aug 2007 09:12

So For every second we want it to play we would post this?

10 s = 10000
35 s = 35000

also if we want the position of the logo in a certain area can we use the X and Y integers like the marquee module?

say i want the position at:

X = 519
Y = 409

how would this be written in the code?

any chance this would work in VLM? if not i guess WinXP remote desktop will work.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 24 guests