I have built VLC for Android successfully by this instruction:
(with the git repo "vlc-android")
http://rootzwiki.com/topic/475-compilin ... e-for-apk/
I try to run my .apk on my device (Samsung Galaxy Tab P1000), and emulator; in both situations,
program runs normally,
audio files (mp3) are OK to play,
some type of video files (ex: wmv) are also OK.
But when I try to play MP4 (format in H.264, XVID, 3GPP) video files,
only audio part is fine,
the video part lags seriously, almost freezes, with huge mosaic.
I use DDMS Logcat of Eclipse ADT to look error messages if any,
It shows:
11-04 04:29:03.923: E/vlc(1242): [0x4854ec] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
(Also another message... Does it matter? )
11-04 04:28:58.264: W/vlc(1242): [0x58d544] main audio output warning: PTS is out of range (-31742), dropping buffer
*NEON enabled or disabled have same results as above.
PS: But someone published .apk he built, it can play mp4 smoothly; so there must be some problems in my build.
http://cvpcs.org/blog/2011-09-18/videol ... _pre-alpha
Please tell me what's wrong with it, such as compile setting, build setting,ffmpeg's compile setting, ffmpeg's version (if change is needed),
and the steps of handle this problem.