RE: Track "id" format?

> >   * MPEG-TS: "id" should contain the PID, formatted as "0x"-prefixed hexadecimal (example: id="0x51").
> 
> Is that how you'd prefer to see it? Then, indeed, that requires
> special treatment.

I'm really not sure about this one. I think I'm leaning towards decimal, but what I'd really like is input from someone familiar with this spec and programs that edit or display MPEG-TS metadata.

> >   * Ogg: "id" should contain the Name header, decoded from UTF-8, if it exists, otherwise it should be the stream
> > serial number, formatted as a decimal number.
> 
> "name" is compulsory in Ogg Skeleton and it's a more reliable
> identifier, because the serial number can change when transcoding or
> re-multiplexing.

But not all Ogg files have a Skeleton section.

> > Note that decimal formatting might be better for MPEG-TS too. This is just an example.
> 
> Depends on what you're trying to achieve.

What I'd like to see is for the "id" to be something that makes sense to people who are familiar with particular formats. For example, in Matroska, it looks like people would expect the ID to be formatted as a decimal number. It's not clear to me what people would expect for MPEG-TS.

Maybe we should just start with, "Any ID which is a number (or number-ish, like PID) should be represented as a decimal number"?

Received on Monday, 11 November 2013 23:53:04 UTC