MainConcept’s MP4 Demultiplexer in Annex B mode looks, well… slightly excessively broken.
- H.264 media type with start codes (
H264FourCC, but here they use legacy subtype informally known as
MEDIASUBTYPE_H264_bis) do not require parameter sets as a part of
MPEGVIDEOINFO2structure. If they however decided to provide the NAL units, they have to be RLE encoded, without start codes. MainConcept does it Aneex B way – not good.
BITMAPINFOHEADER::biBitCountof 24 is hardly correct, but it is not fatal
- Additionally, they do memory allocator of default capacity of 64K followed by streaming larger samples…
Needless to mention that this sort of connection simply has no chances to succeed: