[PLUG-AV] Stream command

Leon Wright techman83 at gmail.com
Wed Nov 27 12:29:31 UTC 2013


Guys,

In the dv_menu file, can someone explain to me what is going on here:

stream_cmd="${PREFIX}/bin/ice_cast.sh"
stream_chk=oggfwd

run_once ${stream_chk} "xterm -T Streaming -e ${stream_cmd}"


To me that reads:

run_once oggfwd "xterm -T Streaming -e /home/av/bin/ice_cast.sh"

Which is doing the following:

/usr/bin/dvsink-command -- ffmpeg2theora - -f dv -F 25:2 --speedlevel 0 -v 4 \
  --optimize -V 420 --soft-target -a 4 -c 1 -H 44100 -o - | \
  oggfwd icecast.plug.org.au 8000 $SOURCEPASSWORD /PLUG-live.ogg

I don't get the purpose of the ${stream_chk}, what is it doing?
I'm having a little trouble automating the streaming and wondering if
the oggfwd at the start is doing anything in particular?

Leon

--
DRM 'manages access' in the same way that jail 'manages freedom.'

# cat /dev/mem | strings | grep -i cats
Damn, my RAM is full of cats... MEOW!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/av/attachments/20131127/1ac32d19/attachment.html>


More information about the AV mailing list