Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Replay for 24h

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
newtech83



Joined: 11 Dec 2009
Posts: 29
Location: Cote d'ivoire

PostPosted: Sat Feb 09, 2013 5:37 pm    Post subject: Replay for 24h Reply with quote

Hello
how with icecast it's possible to make replay of my radio streaming ?
Thank to help
Back to top
View user's profile Send private message
Nonapeptide



Joined: 08 Sep 2012
Posts: 40
Location: Scottsdale, Arizona

PostPosted: Wed Feb 20, 2013 12:20 am    Post subject: Re: Replay for 24h Reply with quote

newtech83 wrote:
Hello
how with icecast it's possible to make replay of my radio streaming ?
Thank to help
Do you mean how to archive audio that comes in from source clients? You can use the <dump-file> tag to save a file of the incoming audio. I do this for clients that want to have live broadcasts saved for posterity. The file is in whatever format the source audio is; in my case MP3. Works like a charm.
Back to top
View user's profile Send private message
newtech83



Joined: 11 Dec 2009
Posts: 29
Location: Cote d'ivoire

PostPosted: Tue Jun 11, 2013 7:38 am    Post subject: Reply with quote

Yes thank.
But it 's possible to have many dump files with date each hour for example ?
Because when i use dump it' s make one big file of 1 year.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jun 11, 2013 11:30 am    Post subject: Reply with quote

for something like an hour slots, I would use a separate curl command started off from cron. The only way currently within icecast is to trigger a reload event.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nonapeptide



Joined: 08 Sep 2012
Posts: 40
Location: Scottsdale, Arizona

PostPosted: Fri Jul 26, 2013 12:55 am    Post subject: Reply with quote

newtech83 wrote:
Yes thank.
But it 's possible to have many dump files with date each hour for example ?
Because when i use dump it' s make one big file of 1 year.

Wow, sorry for the late reply. If you want to make an archive of each hour, you'll need to interrupt the stream just long enough to rename the stream, plus you'll need your source clients set to auto-connect after being interrupted.

For example, you could issue a admin/killsource.xsl?mount=/mountpoint command (for example, using cURL: curl --user admin:password http://yourserver.com/admin/killsource.xsl?mount=/mount ) and then immediately issue a command to rename the dump file based on whatever your criterion are (in this case based on the time). Then the source client will automatically reconnect within a few seconds (I use Edcast Standalone which reconnects in 10 seconds) and your stream will then restart using whatever the file name that is specified in the <dump-file> tags.

That does, however, mean that you will have to accept a few seconds worth of a dropout in your stream files. I do not know of a means of avoiding that in your scenario.

EDIT: I'm an idiot. I see what Karl was saying - and to expand on it, if for no other reason than to make it clearer to myself - you could issue a cURL command from any server (including the IceCast server itself) to retrieve the stream's URL and save it as a file. Issue it every hour and you should have a continuous stream with virtually no interruptions between hour-long files. Sorry Karl. Shocked
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber