Video Freezes when Playing MP4 Video on Android

*nix specific usage questions
kaishu
New Cone
New Cone
Posts: 4
Joined: 29 Oct 2011 00:00

Video Freezes when Playing MP4 Video on Android

Postby kaishu » 04 Nov 2011 02:55

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.

XilasZ
Developer
Developer
Posts: 189
Joined: 16 Jun 2009 20:35

Re: Video Freezes when Playing MP4 Video on Android

Postby XilasZ » 16 Nov 2011 15:26

Did you built without NEON ? if so, try to enable it if the P1000 supports it, it improves performance a lot (but might not work anymore on the emulator).


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 5 guests