Silvia Pfeiffer
2008-May-30 22:54 UTC
[ogg-dev] How Ogg mappings translate into the codecs parameter in Ogg media types
I agree - we should use only hex or octal, but not mixed. Cheers, Silvia. On Sat, May 31, 2008 at 2:20 AM, Ivo Emanuel Gon?alves <justivo at gmail.com> wrote:> I received the following comment regarding the table: > >> The table contains a mix of octal and hexadecimal 'escape sequences' >> for non-printable / non-ASCII octets. >> I strongly suggest to only use a single kind of numerical escapes. > > Is this feasible or even desired, or should we leave things as they are? > > For reference, this is how the table looks right now: > > Codec Identifier | Codecs Parameter > ----------------------------------------------------------- > char[5]: 'BBCD\0' | dirac > char[5]: '\177FLAC' | flac > char[7]: '\x80theora' | theora > char[7]: '\x01vorbis' | vorbis > char[8]: 'Speex ' | speex > char[8]: 'OggMIDI\0' | midi > char[8]: 'CMML\0\0\0\0' | cmml > char[8]: '\211PNG\r\n\032\n' | png > char[8]: '\212MNG\r\n\032\n' | mng > char[8]: '\213JNG\r\n\032\n' | jng > char[8]: 'CELT ' | celt > char[8]: 'PCM ' | pcm > char[9]: '\x80kate\0\0\0\0' | kate > char[9]: 'YUV4MPEG2' | yuv4mpeg > > (Don't expect it to look pretty without a monospaced font) > > -Ivo > _______________________________________________ > ogg-dev mailing list > ogg-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/ogg-dev >
Ivo Emanuel Gonçalves
2008-Jun-01 03:43 UTC
[ogg-dev] How Ogg mappings translate into the codecs parameter in Ogg media types
On 5/30/08, Silvia Pfeiffer <silviapfeiffer1 at gmail.com> wrote:> I agree - we should use only hex or octal, but not mixed.Seems nobody else has an opinion on the subject. I leave it at your criteria to choose one of them (hex/octal) and patch the table accordingly. -Ivo
Conrad Parker
2008-Jun-01 04:51 UTC
[ogg-dev] How Ogg mappings translate into the codecs parameter in Ogg media types
2008/6/1 Ivo Emanuel Gon?alves <justivo at gmail.com>:> On 5/30/08, Silvia Pfeiffer <silviapfeiffer1 at gmail.com> wrote: >> I agree - we should use only hex or octal, but not mixed. > > Seems nobody else has an opinion on the subject.I third the motion :-) K.
Ralph Giles
2008-Jun-01 06:16 UTC
[ogg-dev] How Ogg mappings translate into the codecs parameter in Ogg media types
If you want another opinion, the table currently lists the magic strings in the format they're given in their respective specifications, so it may be less confusing to have the mix of escape styles. If anyone needs to check and you've converted them, they'll have to convert back. And if octal<->hex was a trivial operation for most people, we wouldn't be having this conversation. -r