2011年12月27日 星期二

vmware-cmd VM Management


http://www.esxguide.com/esx/content/view/2/25/

vmware-cmd -l

Sample:

[root@esxhost root]# vmware-cmd -l

 /vmfs/volumes/44ee9812-da790870-b7f7-00145e1b5242/cumuli/cumuli.vmx
/vmfs/volumes/44ebf538-51cc7998-2525-00145e1b556a/printer/printer.vmx

List path and names of .registered VM vmx files on the present host

2011年12月26日 星期一

RTMP authentication for Wowza Media


http://www.wowza.com/forums/content.php?115

1. add the following definitions as the last entries in the
list:


ModuleRTMPAuthenticate
ModuleRTMPAuthenticate
com.wowza.wms.plugin.security.ModuleRTMPAuthenticate


2. restart the service

3. Add a username and password entry into the  file:

“[install-dir]/conf/publish.password”

for each user to which you want to grant publishing access.

2011年12月14日 星期三

VLC transcoder for mms->rtp->rtmp


http://ubuntuforums.org/showthread.php?t=1117283
http://www.wowza.com/forums/content.php?90

1. Install mp4a(AAC) support for VLC

$ sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list
--output-document=/etc/apt/sources.list.d/medibuntu.list && sudo apt-get -q
update && sudo apt-get --yes -q --allow-unauthenticated install
medibuntu-keyring && sudo apt-get -q update

$ sudo apt-get install ffmpeg libavcodec-extra-52

2. Run VLC from the command line, and use screen for background processing


screen -d -m cvlc -vvv "mms://my.live/mylive" --sout
"#transcode{venc=x264{keyint=60,profile=baseline,level=3.0,nocabac},
vcodec=x264,vb=150,scale=0.5,acodec=mp4a,ab=96,channels=2,samplerate=48000}:
rtp{dst=wowza.server.ip,port=10000,mux=ts}"

3. use 'killall screen' to stop encoding if needed.