Marvin Scholz
2015-Mar-01 17:33 UTC
[Icecast] Dump file - split based on time v. single file
On 1 Mar 2015, at 18:17, Dean Sauer wrote:> REQUEST: IceCast server generated dump file via <dump-file></dump-file>Please note, it's called Icecast, not IceCast.> > I realize that when this was probably generated that the type of sources > that Icecast would be used with would not be 24/7/365 types, but probably > short burts say up to a few hours, and also wouldn't contain large > amounts of silence between actual audio. > > Right now I use darkice, cron, and a BASH script for the sources which > then generates a MP3 recording of each hour, which is fed to sox, and > then spits out a silence removed MP3 of that hours recording. This then > has to be uploaded to the server.. > > It would be a boon to do this server side, especially for sources/feeds I > don't control which unfortunately use inferior wincrap software and can't > generate a local dump file. And darkice can't seem to do this for Ogg, > after the first dump, as the headers are missing for each file > subsequently, bug/request sent to darkice. > > My suggestion is that the dump-file tag have an interval option or tag so > that it creates a new dump file based on this interval, and named based > on some sort of dump-file-name tag which would use BASH naming variables > to name it. > > Alternatively I guess you could send Icecast another type of signal via > kill much like the -HUP causes a rescan of the config, but if I/others > wanted differing intervals that may not be the route to do this via kill > (Signal) option via cron job... > > Any of this been considered in the past??? Possible??? > > It would be a boon if Icecast would do this on its own, and then I can > feed these file(s) to sox SERVER SIDE, thus not having to do sftp uploads > of these to the server from the sources... > > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast