Command line usage - Windows

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
xandu
New Cone
New Cone
Posts: 3
Joined: 13 Jan 2005 07:01

Command line usage - Windows

Postby xandu » 15 Jan 2005 12:32

How do I use the command line in Windows? The command lines specified in HOWTO doesn't seem to work. I also tried some command line options from the advanced help, but no luck either. E.g., how do I open a local mpeg and stream it to localhost on port 1235 using udp/mms/http?

Also, I would like to create a debug log, but I didn't manage to do it till now.

Thank you very much!


By the way, great work!

markfm
Big Cone-huna
Big Cone-huna
Posts: 1536
Joined: 22 Feb 2004 17:42

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.

xandu
New Cone
New Cone
Posts: 3
Joined: 13 Jan 2005 07:01

Postby xandu » 15 Jan 2005 14:53

Wow, this really gives me a point to start.
Thanks a lot!


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests