[FFmpeg-devel] [RFC] How to make 2 AVStreams out of 1 PID in mpegts.

Michael Niedermayer michaelni
Thu Mar 26 02:16:39 CET 2009

On Wed, Mar 25, 2009 at 10:04:13PM -0300, Ramiro Polla wrote:
> Hi,
> Blu-Ray .m2ts files have a PID in which the same audio data is
> interleaved both in TrueHD and AC3. The information to differ one PES
> packet between the two codecs is in some PES extension flag.
> Attached not-for-review patch hardcodes either one codec or the other,
> skipping the unwanted packets.
> What's the best course of action to support both codecs at the same

> time? I suppose creating 2 AVStreams would be best, but that would


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- 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/20090326/a8e124ea/attachment.pgp>

More information about the ffmpeg-devel mailing list