VLC: stream to internet

VCODEC=mp4v

if [ $1 == "-hq" ]; then
VCODEC=h264
fi

vlc v4l:/dev/video0 --sout '#duplicate{dst=display,dst="transcode{vcodec=$VCODEC,vb=128}:standard{access=http,mux=ts,url=:8888}"}' --ttl 16 --noaudio