Time VideoFilter in Windows
Posted: 18 Oct 2009 23:02
Hi
Actually I made a Streaming using VLC and DSS for 3G mobiles. However I need include in the Streaming text, logo and time overlay.
I use the following comand for this:
vlc -vvv dshow:// --dshow-tuner-channel=6 :sout=#transcode{width=176,height=144,vcodec=H263,vb=128,fps=12.5,acodec="samr",ab="12200",samplerate="8000",channels="1",sfilter='logo{file=satellite.png,position=9,transparency=160}:marq@text1{marquee="Test",position=8,size=20,color=FFFFFF}:time{format="%%Y",position=2}'}:rtp{dst=127.0.0.1,ttl=127,sdp=file://"C:\Program Files\Darwin Streaming Server\Movies\canal.sdp"}
As you see in http://wiki.videolan.org/Documentation:Modules/time: The format to Time Video Filter is "%Y %M %d..." but in Windows Batch File the percentege char is a reserved for variables.
If I tried only %Y window try to match with an Operating System variable %Y%. If I use %%Y VLC not take the time filter and show an VLC title in the Streaming
How can I made the time filter in Windows with an custom format?
Thanks for you help!
Actually I made a Streaming using VLC and DSS for 3G mobiles. However I need include in the Streaming text, logo and time overlay.
I use the following comand for this:
vlc -vvv dshow:// --dshow-tuner-channel=6 :sout=#transcode{width=176,height=144,vcodec=H263,vb=128,fps=12.5,acodec="samr",ab="12200",samplerate="8000",channels="1",sfilter='logo{file=satellite.png,position=9,transparency=160}:marq@text1{marquee="Test",position=8,size=20,color=FFFFFF}:time{format="%%Y",position=2}'}:rtp{dst=127.0.0.1,ttl=127,sdp=file://"C:\Program Files\Darwin Streaming Server\Movies\canal.sdp"}
As you see in http://wiki.videolan.org/Documentation:Modules/time: The format to Time Video Filter is "%Y %M %d..." but in Windows Batch File the percentege char is a reserved for variables.
If I tried only %Y window try to match with an Operating System variable %Y%. If I use %%Y VLC not take the time filter and show an VLC title in the Streaming
How can I made the time filter in Windows with an custom format?
Thanks for you help!