[FFmpeg-devel] [patch] export pmt and pcr pids from mpegts demuxer

Mike Scheutzow mjs973
Sun Jun 6 19:11:35 CEST 2010

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 

The pid values are added to AVProgram.metadata inside the AVFormatContext.

    key="pmt_pid" value="129"
    key="pcr_pid" value="1064"

Values are base10.  This patch supports multiple programs per transport 

Feedback appreciated.

Mike Scheutzow

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mpegts_export_psi_pids_v1.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100606/c49bf649/attachment.asc>

More information about the ffmpeg-devel mailing list