ok, thanks for your reply.

I have some questions in my mind, when to use which SurfaceHolder's
type.

I mean when to use SURFACE_TYPE_GPU, SURFACE_TYPE_HARDWARE ,
SURFACE_TYPE_NORMAL, SURFACE_TYPE_PUSH_BUFFERS.

Can you please explain me in detail.

Thanks,
Manoj.

On Mar 6, 6:54 pm, dar <dher...@gmail.com> wrote:
> I think Dave is saying you have to transcode down to 480x320 - the
> maximum frame size the G1 supports.
>
> This brings up a second question, when we grab video assets, is there
> an api call to determine the maximum profile supported?  I suppose
> that devices with better capabilities will come out and it would be
> nice to be able to give the higher quality streams to the better
> devices.
>
> On Mar 6, 5:35 am, manoj <manojkumar.m...@gmail.com> wrote:
>
> > so, how can I solve it?
> > even if I fixed the holder size to 320*240, I am not getting the
> > video, only audio comes.
>
> > can you please help me.
>
> > Thanks,
> > Manoj.
>
> > On Mar 6, 3:16 pm, Dave Sparks <davidspa...@android.com> wrote:
>
> > > If you are trying to play this on a G1, the frame size is too large.
> > > The H.264 codec is base profile up to HVGA (480x320).
>
> > > It's pointless to encode at VGA when the screen is HGVA - you're
> > > wasting half your bandwidth for pixels you will never see.
>
> > > On Mar 6, 1:42 am, manoj <manojkumar.m...@gmail.com> wrote:
>
> > > > Hi,
>
> > > > I have created a small application which plays video file.
>
> > > > I am using .mp4 files to play.
>
> > > > Its working for only some files, but for some files, I am getting only
> > > > audio there is no video at all.
>
> > > > When I observed the properties of the media files,
>
> > > > 1. Format: MPEG-4 Video, 320*240, AAC     Movie FPS:29.97, Data size:
> > > > 3.76, Data Rate:316.03 kbps, noram size:320*240, current size:320*240
> > > > -----> PLAYING PERFECTLY
>
> > > > 2. Format:h.264, 640*480, AAC Movie FPS: 29.97  data size:25.76 MB
> > > > noramal size : 640*480, current size:640*480
> > > > -------------------------------------> NO VIDEO, ONLY AUDIO.
>
> > > > can any one please suggest me, how to solve this issue.
>
> > > > Thanks,
> > > > Manoj.- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to