Justin Ruggles <[email protected]> added the comment:

Out of the 3 samples streams (this one + 2 in mphq samples), all of them have
extra streams using other stream ids that are skipped because they're
initialized with stream2_guid, not stream_guid.  But this is the only sample of
the 3 that actually sends data chunks for one of the other sid's.  It seems
pointless to initialize the others and never have them used, especially since
they may come before the primary stream(s).

Maybe there is a flag somewhere that says whether there will be data sent for
this stream?  Or maybe it's just setting up multiple TV channels then switching
between them by sending data chunks with those sids?  I can't think of a good
solution.  Sometimes there are even data chunks sent with silence.  For example,
the Law+and+Order-+SVU_Five_2008_08_12_23_36_55.wtv sample has many sid's but
data is only sent for 4: subtitle, stereo audio, video, and mono audio.  The
mono audio is valid mp2, but it's just silence... The silent one is initialized
with stream2_guid.  But in the case of this AC3 sample, it is also initialized
with stream2_guid, data chunks are sent for it, and it doesn't contain silence,
but rather a 5.1 version of the primary stereo mp2 audio stream.

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2556>
________________________________________________

Reply via email to