Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

When I try to play a large MP4 video file (500 MB), say a film on my phone, it plays the audio but not the video.

I have checked running a smaller MP4 file (5 MB), and it plays fine.

Even when the video is listed in the video gallery, the video thumbnail is not displayed. LogCat shows that video frame cannot be obtained with a status -24.

What changes are needed to fix this problem?

share|improve this question
    
Are you using a stock ROM? –  Ben Griffiths Feb 18 '11 at 12:59
    
Try converting the video using in the same format using Pc suite for your mobile –  eagleye Feb 18 '11 at 15:20
add comment

migrated from stackoverflow.com Feb 18 '11 at 12:29

This question came from our site for professional and enthusiast programmers.

2 Answers

Does the .mp4 play as a video on a desktop OS? Can you 'vouch' for the source?

.mp4 is a container format and may well only contain audio, or is corrupt and the player can only salvage the audio...

http://en.wikipedia.org/wiki/MPEG-4_Part_14

share|improve this answer
    
Yes the .mp4 plays correctly on the desktop OS (ubuntu). I even tried changing the resolution of the video using converter to match that to my mobile device but i still have the same problem. I also see that No thumbnail is getting created for this file and an error is returned by the opencore layer for getting a video frame as "PVMFErrMaxReached" . Is there a limitation set on the size of the file. @Onik: No the codec is fine as I am able to play the mp4 video file with same codec properties but of shorter duration. The video Codec is H264/AVC. –  user3061 Feb 22 '11 at 14:34
    
Please add the replys as comments to the answer, this way the user gets notified of the reply. Just to make sure, both of the videos use only the baseline profile of AVC? –  onik Feb 22 '11 at 14:34
add comment

Maybe the MP4 file contains video packed with a wrong/unsupported codec. Try recoding the video to a format that's supported by your phone.

A quick search showed Videora Android Converter. It seems easy to use and converts to formats supported by Android.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.