Hi Folks, What is the proper way to embed text stream into the Ogg stream? I need to have text information (lyrics as example) recorded together with the audio. Is there a standard mechanism for that? What is the right way to do it? With best regards, Boian Mitov -------------------------------------------------------------------- Mitov Software http://www.mitov.com -------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/ogg-dev/attachments/20080110/41bfe7db/attachment.htm
On Thu, Jan 10, 2008 at 10:20:51AM -0800, Boian Mitov wrote:> What is the proper way to embed text stream into the Ogg stream? I need to have text information (lyrics as example) recorded together with the audio. Is there a standard mechanism for that? What is the right way to do it?There's no standard way to do that. Some people embed lyrics wholesale in a vorbis comment tag. "LYRICS=line 1\nline2\n..." This has the advantage of working with older audio-only players. A better way is to put the text in its own stream and multiplex it with the audio. Especially if the text has a time index or is generated on the fly, in parallel with the audio. There have been a couple of proposals for this; the most popular one right now is to use the <description> or <caption> tags inside an CMML stream. https://svn.annodex.net/standards/draft-pfeiffer-cmml-current.txt We would like to get this standardized, so let us know how it goes. -r
Ivo Emanuel Gonçalves
2008-Jan-12 22:06 UTC
[ogg-dev] How to embede text into the Ogg stream
On 1/10/08, Ralph Giles <giles@xiph.org> wrote:> There have been a couple of > proposals for this; the most popular one right now is to use the > <description> or <caption> tags inside an CMML stream. > > We would like to get this standardized, so let us know how it goes.I think we are likely to settle for CMML for everything text in Ogg. Of course, semantically-wise and to avoid confusing players, we should make clear when to use <description> and when to use <caption>. For instance, I'm pretty sure <caption> should only be used for subtitles and lyrics, which would leave <description> likely for metadata only. Perhaps going as far as create one or two video (Theora) example files with subtitles for a test suite would be a step in the right direction. Without testcase files it's unlikely we'll see any support on third-party tools and we need that support. That said, I'm currently not sure how to embed CMML in Ogg. Does oggzmerge do it? -Ivo