#FORMAT plain
#!/bin/sh
#######################################################################
#
# streamer: Just a simple script to stream video w/audio to icecast
# Copyright (C) 2011 Gente anĂ³nima pro software libre - flisol
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
#
#######################################################################
V4LDEV=/dev/video0
XRES=320
YRES=240
FPS=15/2
VQUALITY=24
AQUALITY=0.1
# USESCALE allows specifying custom XRES,YRES. If you enable this option, you
# must set XCAMERARES,YCAMERARES to some value supported by your camera.
#USESCALE=1
#XCAMERARES=640
#YCAMERARES=480
#OUTFILE=stream-`date +%Y%m%d-%H%M`.ogg
OUTFILE=/dev/null
# settings for the icecast/giss/rooteala/whatever server:
SERVER=giss.tv
PORT=8000
MOUNTPOINT=flisol_fixme.ogg
PASSWORD=fixme
# external file for user-settings:
[ -r ~/.streamer.sh ] && . .streamer.sh
showhelp() {
cat <