search for: bytes_per_half_hour

Displaying 3 results from an estimated 3 matches for "bytes_per_half_hour".

2004 Aug 06
2
Auto Archiving function for Icecast.
Hello: Does anyone know how to set up auto-archiving with icecast. I have an encoder coming in with a radio station. I want to create hourly mp3 archives of their streams that are coming to my icecast server. Got any ideas? Raymond <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message
2004 Aug 06
0
Auto Archiving function for Icecast.
...m, you can calculate the byte offset and amount of bytes to cut from the dump file (e.g. 128 kb/s stream is ((128 / 8) * 60) kB/minute, a half hour section is ((128 / 8) * 60 * 1000 * 30) bytes) - use dd to cut the desired mp3 data from the current dump, e.g.: dd if=session3.mp3 of=1000.mp3 bs=BYTES_PER_HALF_HOUR skip=4 count=1 where skip=4 tells dd to skip the first 4 half-hour segments You can cut with dd if you take care to cut by the mp3 frame boundaries. Of course, this only works with fixed bitrate encoding. Also, some mp3 experts would argue that there will be some mess at the boundries of the c...
2004 Aug 06
1
Auto Archiving function for Icecast.
...offset > and amount of bytes to cut from the dump file (e.g. 128 kb/s stream is > ((128 / 8) * 60) kB/minute, a half hour section is ((128 / 8) * 60 * > 1000 * 30) bytes) > > - use dd to cut the desired mp3 data from the current dump, e.g.: > > dd if=session3.mp3 of=1000.mp3 bs=BYTES_PER_HALF_HOUR skip=4 count=1 > > where skip=4 tells dd to skip the first 4 half-hour segments > > You can cut with dd if you take care to cut by the mp3 frame boundaries. > Of course, this only works with fixed bitrate encoding. Also, some mp3 > experts would argue that there will be some mess...