Hello Bernard, Friday, December 13, 2002, 7:22:54 AM, you wrote: Bernard> I've one small request - an option on speexenc that allows you to Bernard> specify a speex file to append to, allowing you to concatenate Bernard> streams without losing quality by decoding & encoding. Ideally, it Bernard> would: But you can `cat speex1.ogg speex2.ogg> unionspeex.og` and still have a valid gapless file. Correct me if I'm wrong. -- Best regards, Alejandro Belluscio <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Fri, Dec 13, 2002 at 10:57:00AM -0300, Alejandro G. Belluscio wrote:> But you can `cat speex1.ogg speex2.ogg> unionspeex.og` and still have > a valid gapless file. Correct me if I'm wrong.I tried this with speex files, but speexdec insisted on ending at the end of the first file. I traced this back to the "end of stream" flag on the last packet in the file which has to be set to zero for the first stream. Other players might ignore this end of stream flag, which probably isn't the best thing to do. If it were this simple I'd be happy to do "speexenc - - >> appendedfile.spx" :) Cheers, Bernard. -- Bernard Blackham bernard at blackham dot com dot au Australian Linux Technical Conference 2003: http://www.linux.conf.au/ -------------- next part -------------- A non-text attachment was scrubbed... Name: part Type: application/pgp-signature Size: 190 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20021213/a32b53d2/part-0001.pgp
> I tried this with speex files, but speexdec insisted on ending at > the end of the first file. I traced this back to the "end of stream" > flag on the last packet in the file which has to be set to zero for > the first stream. Other players might ignore this end of stream > flag, which probably isn't the best thing to do. If it were this > simple I'd be happy to do "speexenc - - >> appendedfile.spx" :)I agree that it's something that should work. It's not yet implemented in speexdec, but I'd be happy to receive a patch for it (I don't know enough about Ogg to do that myself). In the long term, ogg123 will support Speex and handle that too... Jean-Marc -- Jean-Marc Valin, M.Sc.A. LABORIUS (http://www.gel.usherb.ca/laborius) Université de Sherbrooke, Québec, Canada -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 242 bytes Desc: signature.asc Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20021213/1bff7fb6/signature-0001.pgp
On Fri, Dec 13, 2002 at 11:38:27PM +0800, Bernard Blackham wrote:> On Fri, Dec 13, 2002 at 10:57:00AM -0300, Alejandro G. Belluscio wrote: > > But you can `cat speex1.ogg speex2.ogg> unionspeex.og` and still have > > a valid gapless file. Correct me if I'm wrong. > > I tried this with speex files, but speexdec insisted on ending at > the end of the first file. I traced this back to the "end of stream" > flag on the last packet in the file which has to be set to zero for > the first stream. Other players might ignore this end of stream > flag, which probably isn't the best thing to do. If it were this > simple I'd be happy to do "speexenc - - >> appendedfile.spx" :)The 'end of stream' flag is for end of logical, not physical, stream. That has nothing to do with the problem. The decoder is simply not expecting chained files. If it's not fixed in the speex-specific toolchain, OggFile will take care of this problem when it rolls around early next year. Monty --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.