Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Discussion > Android Media

Android Media For Ringtones, Video, TV, Audio or anything else Multimedia related...



Reply
 
LinkBack Thread Tools
Old August 10th, 2011, 07:56 AM   #1 (permalink)
New Member
 
Join Date: Aug 2011
Posts: 4
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Sad MP4 Videos stop playing / audio only

I have a very annoying problem, which is rather hard to explain in a few words, and so I haven't found anything similar on the net to help me.
I basically can not watch mp4 movies on my X10 mini (2.1) reliably. The movie starts by playing just fine, but after a while (often less than a minute) the video just randomly stops. This happens with every player I've tried, on any movie, streamed or from my sdcard.

After I exit the player any movie I try to watch afterwards will display the first frame only. I can seek inside the movie and can hear the audio perfectly, but i only get the first 1-2 video frames after a seek (if any). I have to restart my phone to be able to watch movies again (until it stops again).
The built-in YouTube App seems unaffected by this and works perfectly.

I understand that all video players have to use some built-in android media player back-end and my guess is that this back-end gets unrecoverably stuck at some point.
I'd like to know if there is a way to either restart the media player backend without having to restart the phone or to omit it's use entirely. (I haven't heard of a true standalone player so far)

Or maybe there is another solution?

santaranger is offline  
Reply With Quote
Sponsors
Old August 10th, 2011, 10:29 AM   #2 (permalink)
 
Join Date: Apr 2010
Posts: 5,873
 
Device(s):
Thanks: 0
Thanked 626 Times in 534 Posts
Default

We need more details about the video, I'm guessing the video itself is the problem. All you said was it was an mp4, that doesnt help at all. We need to know codec, resolution, bitrate, encoding settings, etc.
sitlet is offline  
Reply With Quote
Old August 11th, 2011, 03:55 AM   #3 (permalink)
Master
 
Usta's Avatar
 
Join Date: Jul 2010
Location: The Netherlands
Posts: 2,584
 
Device(s): HTC Desire
Thanks: 127
Thanked 813 Times in 327 Posts
Default

Exactly. Try to use MediaInfo to see what's inside the problematic mp4 videos.
__________________
Oxygen v2.2.2 (Android v2.3.5), Apharev S-OFF, ClockworkMod v2.5.0.7, Root FAQ, Video Guide
Usta is offline  
Reply With Quote
Old August 11th, 2011, 10:10 AM   #4 (permalink)
New Member
 
Join Date: Aug 2011
Posts: 4
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

MediaInfo of some sample movies:
klick:




As a side note, all freshly downloaded video files would be simply gone after the required phone restart. While the video bug happens with direct streaming as well, this problem could still be related if there is some weird caching problem.
santaranger is offline  
Last edited by santaranger; August 11th, 2011 at 11:04 AM.
Reply With Quote
Old August 11th, 2011, 11:55 AM   #5 (permalink)
 
Join Date: Apr 2010
Posts: 5,873
 
Device(s):
Thanks: 0
Thanked 626 Times in 534 Posts
Default

Hmm, everything with the videos seems fine. They are all h264 baseline with cabac disabled, this is exactly what android needs. Perhaps your card is bad?
sitlet is offline  
Reply With Quote
Old August 11th, 2011, 07:52 PM   #6 (permalink)
New Member
 
Join Date: Aug 2011
Posts: 4
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

can anyone confirm that directly streamed movies are being cached to sdcard?
santaranger is offline  
Reply With Quote
Old August 21st, 2011, 11:03 AM   #7 (permalink)
Master
 
Usta's Avatar
 
Join Date: Jul 2010
Location: The Netherlands
Posts: 2,584
 
Device(s): HTC Desire
Thanks: 127
Thanked 813 Times in 327 Posts
Default

I think the videos are a bit too heavy for X10 mini. Particularly, the H264 Baseline L3.0 with 3 ref frames should require quite some calculations from CPU.

The advice here is to re-convert videos with more basic settings. The Handbrake Guide in my signature should produce such videos.
Usta is offline  
Reply With Quote
Old August 24th, 2011, 03:33 PM   #8 (permalink)
New Member
 
Join Date: Aug 2011
Posts: 4
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I narrowed it down to a player/codec crash. I've been watching .3gp movies and had a similar crash (though after a much longer time period). I force quit the player app, restarted it and continued watching .3gp movies with no obvious problems.

However after a while I noticed my phone getting warmer and warmer. I launched a monitoring app and saw I had constant 100% cpu load and no idea how to fix it but by restarting the phone. Remember this is the same workaround as for the non-working .mp4 movies.

So I'm guessing there IS something constantly crashing/looping within my media API which causes heavy cpu load. I further think the ramaining CPU time is sufficient for .3gp playback but not for the more sophisticated mp4 movies, which leads to the playback problems described in my OP.

The question remaining is how to stop these crashes from happening. Meanwhile I'm quite sure the video files are not responsible. I think this may have started after the 2.1 update.
santaranger is offline  
Reply With Quote
Old August 25th, 2011, 04:03 PM   #9 (permalink)
Master
 
Usta's Avatar
 
Join Date: Jul 2010
Location: The Netherlands
Posts: 2,584
 
Device(s): HTC Desire
Thanks: 127
Thanked 813 Times in 327 Posts
Default

It doesn't really matter if the video files are 3GP or MP4 - these are simply containers and can contain simply or complex video material.

It may be a good idea to backup your data and factory reset the phone. This could stop whatever is crashing the phone. Then monitor the video playback using a good video player like MoboPlayer. The videos should be all simple encoded.
Usta is offline  
Reply With Quote
Reply

Bookmarks

Tags
first frame, freeze, hang, mp4, stop, video


Go Back   Android Forums > Android Discussion > Android Media User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 03:10 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo