<div>Hi all,</div>
<div>I have compiled libavcodec.lib which including h264 decoder for Wince .</div>
<div>I write a small application using this lib, and it works fine to decode .h264 file and display it.</div>
<div>Then I compiled VLC with this lib for wince6.0 platform. But no picture is displayed, and I get the following error message:</div>
<div> </div>
<div><font style="BACKGROUND-COLOR: #ffffff" color="#000099">ffmpeg debug: libavcodec initialized (interface 4708 )<br>ffmpeg debug: postprocessing disabled<br>ffmpeg debug: ffmpeg codec (h264) started<br>main debug: using decoder module "ffmpeg"<br>
main debug: thread 2174140914 (decoder) created at priority 0 (..\src\input\decoder.c:161)<br>main debug: `\My Documents\My video\foreman.mp4' successfully opened<br>mp4 debug: track[Id 0x1] using Sync Sample Box (stss)<br>
mp4 debug: stts gives 0 --> 0 (sample number)<br>ffmpeg warning: cannot decode one frame (1917 bytes)<br>ffmpeg warning: cannot decode one frame (594 bytes)<br>ffmpeg warning: cannot decode one frame (712 bytes)<br>ffmpeg warning: cannot decode one frame (625 bytes)<br>
ffmpeg warning: cannot decode one frame (656 bytes)<br>ffmpeg warning: cannot decode one frame (724 bytes)<br>ffmpeg warning: cannot decode one frame (702 bytes)<br>ffmpeg warning: cannot decode one frame (809 bytes)<br>ffmpeg warning: cannot decode one frame (804 bytes)<br>
ffmpeg warning: cannot decode one frame (621 bytes)<br>ffmpeg warning: cannot decode one frame (547 bytes)<br>ffmpeg warning: cannot decode one frame (522 bytes)<br>ffmpeg warning: cannot decode one frame (632 bytes)<br>ffmpeg warning: cannot decode one frame (486 bytes)<br>
ffmpeg warning: cannot decode one frame (279 bytes)<br>ffmpeg warning: cannot decode one frame (417 bytes)<br>ffmpeg warning: cannot decode one frame (549 bytes)<br>ffmpeg warning: cannot decode one frame (529 bytes)<br>ffmpeg warning: cannot decode one frame (608 bytes)<br>
ffmpeg warning: cannot decode one frame (620 bytes)<br>ffmpeg warning: cannot decode one frame (493 bytes)<br>ffmpeg warning: cannot decode one frame (526 bytes)<br>ffmpeg warning: cannot decode one frame (494 bytes)<br>ffmpeg warning: cannot decode one frame (505 bytes)<br>
ffmpeg warning: cannot decode one frame (716 bytes)<br>ffmpeg warning: cannot decode one frame (639 bytes)</font></div>
<div> </div>
<div>I doubt that the vlc parse the H264 frame wrongly. But i don't find how vlc parse h264 frame in the sourcecode.</div>
<div>Or may be other reason for this error? May someone give me some suggestions? Thanks!</div>
<div> </div>
<div>Lina </div>
<div>2008-5-11 </div>