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.
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言