Geoff Shang
2009-Jun-01 21:39 UTC
[Vorbis-dev] Placing multiple sound clips in a single file
Hello, I strongly recall mention of people storing multiple small sound clips in a single ogg vorbis file and then referencing them within the file, rather than having multiple small files. However, Google has failed to turn up anything posted about this. My friend is thinking of using this technique to cut down on the space the sounds take up in his games client. He is interested in information on techniques for generating such files and then referencing clips in them, and any code that might be available. Thanks in advance for any help. Cheers, Geoff.
ogg.k.ogg.k at googlemail.com
2009-Jun-01 21:48 UTC
[Vorbis-dev] Placing multiple sound clips in a single file
> I strongly recall mention of people storing multiple small sound clips in > a single ogg vorbis file and then referencing them within the file, rather > than having multiple small files. However, Google has failed to turn upMight have been that it's quite likely that the headers will be the same for similar encode parameters (sampling rate, channels, etc), so headers can be cut off and kept separately only once, and each sound file can be trimmed of its headers. Decoding a file would then involve feeding the shared headers, followed by the headerless file. Now, that might not be what you read about, but it's a possible way.
Erik de Castro Lopo
2009-Jun-01 22:05 UTC
[Vorbis-dev] Placing multiple sound clips in a single file
Geoff Shang wrote:> I strongly recall mention of people storing multiple small sound clips in > a single ogg vorbis file and then referencing them within the file, rather > than having multiple small files. However, Google has failed to turn up > anything posted about this.The previous mailing list thread is here: http://lists.xiph.org/pipermail/vorbis/2009-March/027330.html Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
Maybe Matching Threads
- Splicing audio clips into one stream
- Huge resource of images, video, and sound clips?
- can you suggest on extending ogg as short-clip container and the make of its tool?
- [Bug 13364] New: rsyncd clips trims relative symlinks outside of source tree
- Question/Feature Request