Postby markfm » 15 Jan 2005 14:22
vlc dshow:// :dshow-vdev="Osprey-210 Video Device 1" :dshow-adev="none" :no-dshow-config :dshow-size="640x480" :sout=#transcode{vcodec=DIV3,vb=128,scale=1,sfilter=marq:logo:time}:duplicate{dst=std{access=mmsh,mux=ASFH,url=:1234}} --time-y=458 --marq-x=0 --marq-y=0 --marq-marquee="Markfm Stream Test" --marq-timeout=0 --rc-extend --logo-file=vlc32x32.png --logo-x=600 --freetype-font=c:\cygwin\home\arkfonts\AerialMono.ttf --extraintf="rc" --rc-host="192.168.2.50:23" --rc-quiet --freetype-fontsize=22 --sout-transcode-fps=15.0 --extraintf dummy -vvv
Open a directshow inpout (framegrabber), no audio input desired, set the input video to 640x480 (must be supported by the framegrabber).
Take the video from that source, and encode it in DIV3, 128Kbps.
Turn on some video filters -- a logo (graphic), marquee (general text), time (date-time, which can also take some additional text).
The "duplicate" section sets up the stream. "mmsh" is an ACK'd protocol, ASFH is a "container", it'll be available on :1234 -- people connect to my IP address, port 1234.
The "--" settings are called shortcuts in VLC parlance, I call them switches. All the --logo, --time, --marq things relate to what I want the filters to contain and/or where I want them positioned. The --rc is a switch to open a socket-based external control interface. The --freetype things are to change VLC's default font, and font size.
The above can be connected to from another vlc client:
vlc mmsh://server_ip_address:1234
or by a Windows Media Player client:
Open Url then enter mms://server_IP_address:1234 in the address field.
A simple UDP multicast example would be:
vlc myfile.mpg :sout=#duplicate{dst=std{access=udp,mux=ts,url=239.240.10.20:1234}}
It does no transcoding (re-encoding) of the source file. It pushes it out as UDP multicast (the particular address is a multicast one), UDP, MPEG TS encapsulation.
Last edited by
markfm on 15 Jan 2005 15:13, edited 1 time in total.