[Helix-client-dev] Fail to play H263+ video of custom format

Renjie Huang <[email protected]> Thu, 23 Sep 2010 14:53:28 -0700
Newsgroups gmane.comp.multimedia.helix.devel
Message-ID <[email protected]>
Hi

I have a question regarding to H263+ video playback.  Helix always crashes when playing  H263+ video of custom format (e.g. 800*480, 720*576). The reason is that iSliceMBA ( in datatype-restricted/rm/video/codec/g2mp4combo/dec/d3mvdec.cpp) read from the slice header is wrong. For example, the  iSliceMBA got by CH263pBs::GetSliceHeader() ( in datatype-restricted/rm/video/codec/g2mp4combo/common/c3bsx.cpp) from a 800*480 H263+ clip is 1550, while the total micro blocks (m_iTotalNumberOfMBs) is only 50*30 = 1500.  From the logic of the code, the way of reading the slicing header seems correct.  Not understanding why the value is wrong.The clips can be played with other media players. Can someone give me some help on that? Thanks.