Re: [android-developers] Re: problem playing back .mp4

2010-04-23 Thread Mark Murphy
Abhi wrote:
 I see the .mp4 video as having a frame rate of 30fps and resolution
 640 x 480. Is that an issue?

I have no idea.

 Also, I don't see the mp4 when I call list of all videos from within
 my application by
 
 Intent i = new Intent(Intent.ACTION_PICK);
 i.setType(video/*);
 startActivityForResult(i, PICK_VIDEO);
 
 The only ones that show up are the .3gp video files located on my
 sdcard.

That means the MediaScanner has not picked up your video yet.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: problem playing back .mp4

2010-04-23 Thread Mark Murphy
Abhi wrote:
 Mark
 
 What did you mean when you said the videos would work as long as they
 are properly hinted?

MP4 files need to be safe for streaming -- the MOOV atom has to appear
before the first MDAT atom. This sometimes happens by default. You can
ensure an MP4 file is safe for streaming by using the open source
MP4Box application:

MP4Box -hint ThisIsMy.mp4

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Beginning Android 2_ from Apress Now Available!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en