Hi All, I want to add more data into an already recorded oggfile. do we have any special APIs for this case in libvorbis? or do i need to do avoid generating headers and appending the data pages into the file? in that case, I must use the same stream number that is used when the file is recorded for the first time? Thanks in advance. regards, Pavan. Send instant messages to your online friends http://in.messenger.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/vorbis/attachments/20060123/2c736b7c/attachment.htm
Giuliano Pochini
2006-Jan-23 00:08 UTC
[Vorbis] Appending more data into an existing oggfile
On 23-Jan-2006 pavan kumar wrote:> I want to add more data into an already recorded oggfile. > do we have any special APIs for this case in libvorbis? > or do i need to do avoid generating headers and appending > the data pages into the file? in that case, I must use the > same stream number that is used when the file is recorded > for the first time?cat newfile.ogg >> oldfile.ogg -- Giuliano.
On 1/23/06, Giuliano Pochini <pochini@shiny.it> wrote:> > On 23-Jan-2006 pavan kumar wrote: > > > I want to add more data into an already recorded oggfile. > > do we have any special APIs for this case in libvorbis? > > or do i need to do avoid generating headers and appending > > the data pages into the file? in that case, I must use the > > same stream number that is used when the file is recorded > > for the first time? > > cat newfile.ogg >> oldfile.oggThis is likely to be problematic if any of the serial numbers overlap, I think.