[FFmpeg-devel] [patch] export pmt and pcr pids from mpegts demuxer
Michael Niedermayer
michaelni
Tue Jun 8 04:08:50 CEST 2010
On Sun, Jun 06, 2010 at 01:11:35PM -0400, Mike Scheutzow wrote:
> This patch allows a libav application to obtain the pmt pid(s) and pcr
> pid(s) values parsed by the mpegts demuxer. This is useful for applications
> that need the output stream pids to match the input stream pids.
>
> The pid values are added to AVProgram.metadata inside the AVFormatContext.
>
> Example: key="pmt_pid" value="129"
> key="pcr_pid" value="1064"
>
> Values are base10. This patch supports multiple programs per transport
> stream.
>
> Feedback appreciated.
this feels like a misuse of the metadata API
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100608/7ea9b3d4/attachment.pgp>
More information about the ffmpeg-devel
mailing list