Quote:
Originally Posted by Nori
Hi
i have a problem with this script. the output flv file is always MyShow with no date and when restart the script the previous flv file is overwritten.
|
There is only a little mistake in the script.
This should work:
Code:
#! /bin/bash
FileName=`date +"MyShow - %0d-%0m-%0y - %0k-%0M-%0S.flv"`
rtmpdump -r rtmp://live1.seeon.tv/edge/nvcrd4lz4zs0w34 -p http://www.seeon.tv/view/11073 -W http://www.seeon.tv/jwplayer/player.swf --stop 3600 --live -o "$FileName"