[vlc-devel] H264 mp4 file not playing in VLC on wince

张丽娜 zhanglina.tz at gmail.com
Sun May 11 12:00:08 CEST 2008


Hi all,
I have compiled libavcodec.lib which including h264 decoder for Wince .
I write a small application using this lib, and it works fine to decode
.h264 file and display it.
Then I compiled VLC with this lib for wince6.0 platform. But no picture is
displayed, and I get the following error message:

ffmpeg debug: libavcodec initialized (interface 4708 )
ffmpeg debug: postprocessing disabled
ffmpeg debug: ffmpeg codec (h264) started
main debug: using decoder module "ffmpeg"
main debug: thread 2174140914 (decoder) created at priority 0
(..\src\input\decoder.c:161)
main debug: `\My Documents\My video\foreman.mp4' successfully opened
mp4 debug: track[Id 0x1] using Sync Sample Box (stss)
mp4 debug: stts gives 0 --> 0 (sample number)
ffmpeg warning: cannot decode one frame (1917 bytes)
ffmpeg warning: cannot decode one frame (594 bytes)
ffmpeg warning: cannot decode one frame (712 bytes)
ffmpeg warning: cannot decode one frame (625 bytes)
ffmpeg warning: cannot decode one frame (656 bytes)
ffmpeg warning: cannot decode one frame (724 bytes)
ffmpeg warning: cannot decode one frame (702 bytes)
ffmpeg warning: cannot decode one frame (809 bytes)
ffmpeg warning: cannot decode one frame (804 bytes)
ffmpeg warning: cannot decode one frame (621 bytes)
ffmpeg warning: cannot decode one frame (547 bytes)
ffmpeg warning: cannot decode one frame (522 bytes)
ffmpeg warning: cannot decode one frame (632 bytes)
ffmpeg warning: cannot decode one frame (486 bytes)
ffmpeg warning: cannot decode one frame (279 bytes)
ffmpeg warning: cannot decode one frame (417 bytes)
ffmpeg warning: cannot decode one frame (549 bytes)
ffmpeg warning: cannot decode one frame (529 bytes)
ffmpeg warning: cannot decode one frame (608 bytes)
ffmpeg warning: cannot decode one frame (620 bytes)
ffmpeg warning: cannot decode one frame (493 bytes)
ffmpeg warning: cannot decode one frame (526 bytes)
ffmpeg warning: cannot decode one frame (494 bytes)
ffmpeg warning: cannot decode one frame (505 bytes)
ffmpeg warning: cannot decode one frame (716 bytes)
ffmpeg warning: cannot decode one frame (639 bytes)

I doubt that the vlc parse the H264 frame wrongly. But i don't find how vlc
parse h264 frame in the sourcecode.
Or may be other reason for this error? May someone give me some suggestions?
Thanks!

Lina
2008-5-11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080511/4efefc82/attachment.html>


More information about the vlc-devel mailing list