Re: Track "id" format?

On Tue, Nov 12, 2013 at 7:52 AM, Brendan Long <B.Long@cablelabs.com> wrote:
>
>> >   * 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.

Right. Makes sense.

>
>> > 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.

I assume you mean: a string representation of the 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"?

again I think it should be: a string representation of the decimal number.

Silvia.

Received on Tuesday, 12 November 2013 01:11:01 UTC