[FFmpeg-devel] [RFC] How to make 2 AVStreams out of 1 PID in mpegts.
Thu Mar 26 02:04:13 CET 2009
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
require lots of work on the code since it ties one PID to an AVStream.
Or maybe expecting the user to specify -acodec and choose TrueHD by
default if he doesn't?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2888 bytes
Desc: not available
More information about the ffmpeg-devel