Postby markfm » 07 Apr 2004 23:13
No idea on the VC part of it, but to just see if it kinda-sorta works:
1. Double click VLC -- see if it opens the GUI.
or
2. Use: vlc -vvv demo.mpg
The above should open a local VLC session, start playing demo.mpg
3. If you're trying for a streaming test, you could try a slightly simpler, perhaps, command line of the form:
vlc -vvv demo.mpg
:sout=#duplicate{dst=std{access=udp,mux=ts,url=239.20.30.40:1234}}
The above is all on one command line, would tell vlc to stream demo.mpg to 239.20.30.40 (a local LAN segment multicast address) on Port 1234
OR,
4. If you were trying to test transcoding, with streaming plus a copy played locally, using SLP and SAP announce, channel name of TestChannelName:
vlc -vvv demo.mpg :sout=#transcode{vcodec=mp4v,vb=1024,scale=1,acodec=mpga,ab=192,channels=2}:duplicate{dst=display,dst=std{access=udp,mux=ts,url=239.20.30.40:1234,sap="TestChannelName",slp="TestChannelName"}}
The above gludge is, again, all intended to be a single command line, something you would put in at a DOS prompt.
The VLC GUI is pretty good, to gain practice with some settings. Run Streaming Wizard and copy the results that appear on the top line of Step 1 and Step 2, to get a working command line. (the only thing missing is the "vlc " that has to go before the file [or other input method] choice, and the -vvv if you wish verbose debugger output.)