View Single Post
  #7  
Old 06-01-2014, 12:51 PM
Nori Nori is offline
Junior Member
 
Join Date: Jun 2014
Posts: 3
Nori is on a distinguished road
Default

Re: Renaming rtmpdump downloads automatically based on date and time (Windows, Linux)


Quote:
Originally Posted by KSV View Post
The following script should do the trick
Code:
#! /bin/bash
FileName=`date +"MyShow - %0d-%0m-%0y - %0k-%0M-%0S.flv"`
rtmpdump.exe -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\"

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.
Reply With Quote