[Ffmpeg-devel] mpegts pid values

Måns Rullgård mru
Mon Jul 18 13:15:57 CEST 2005


Nicolas Roussel said:
>> Many of the lower values have special meanings, are reserved, or have
>> special meanings in common uses of MPEG-TS, such as DVB.
>
>> There is generally no reason to set the PIDs explicitly.  Any
>> values should
>> work, and assigning them automatically simplifies things for the
>> caller.
>
> VLC has an option for specifying these pids. I guess it must be used by
> a few people.
>
> In my case, MPEG-TS data is being sent by UDP to a set-top-box that
> expects the video and audio streams to have particular pids.
>
> If low values are to be avoided, how can I use the AVStream id?

The patch looks OK with extras to avoid low values.  If someone explicitly
asks for it, that should be allowed.  If you're asking for specific PIDs,
you probably know what you're doing anyway.

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





More information about the ffmpeg-devel mailing list