[Ffmpeg-devel] mpegts pid values

Måns Rullgård mru
Mon Jul 18 11:55:32 CEST 2005


Nicolas Roussel said:
>> Unacceptable.  AVCodecContext fields are for codec information,
>> noting else.
>> Use AVStream.id instead.
>
> Ok.
>
> Does anybody know why DEFAULT_START_PID is 0x0100

Many of the lower values have special meanings, are reserved, or have
special meanings in common uses of MPEG-TS, such as DVB.

> and why the AVStream id was not used in the first place?

There is generally no reason to set the PIDs explicitly.  Any values should
work, and assigning them automatically simplifies things for the caller.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list