Hi,
I am used to play around streamdev & VLC to stream over the web & mplayer to play.
I have a problem with the latest streamdev cvs : I have no sound !!!
The only way to have it is to use the version from peter...
Here is the script I use to stream :
# !/bin/sh
#
# /etc/init.d/stream_vlc
vcodec="mp4v"
#vcodec="mpgv"
#vcodec="DIV1"
#vcodec="DIV2"
#vcodec="DIV3"
#vcodec="H263"
#vcodec="H264"
#vcodec="I263"
#vcodec="WMV1"
#vcodec="WMV2"
#vcodec="MJPEG"
#vcodec="MJPB"
#vcodec="Theora"
#vcodec="mp1v"
#vcodec="mp2v"
acodec="mpga"
#acodec="mp3"
#acodec="ac3"
#acodec="a52"
#acodec="AAC"
#acodec="speex"
#acodec="flac"
#acodec="vorb"
vb="608"
#vb="120"
#vb="96"
ab="128"
#ab="256"
#ab="32"
#ab="96"
channels="2"
#channels="1"
#width="640"
width="352"
#width="320"
#height="480"
height="288"
#height="240"
access="http"
#access="https"
#access="mmsh"
#access="file"
#access="udp"
#access="rtp"
mux="ogg"
#mux="avi"
#mux="ps"
#mux="ts"
#mux="asfh"
#mux="asf"
#mux="mpeg1"
#mux="mpjpeg"
options=",croptop=0,cropbottom=0,cropleft=0,cropright=0"
#options="hq,deinterlace,qmin=,qmax="
case "$1" in
start)
echo -n "vlc start : "
vlc --noosd -vvv [URL]http://192.168.0.1:3000/PS/[/URL]$2 --sout '#transcode{vcodec='$vcodec',acodec='$acodec',vb='$vb',ab='$ab'
,channels='$channels',width='$width',height='$height''$options'}:standard{access='$access',mux='$mux',url=192.168.0.1:8090}'
echo "done."
;;
stop)
echo -n "vlc stop ... "
killall -9 vlc
echo ""
echo "done."
;;
*)
echo "start or stop ?"
;;
esac
Alles anzeigen