[android-developers] Re: videoview can't play mp4 smoothly

2009-07-23 Thread Suchand Ghosh
That might be due to codec sample rate which is default max (44100 Hz), available channels (2), buffer size (2048 Bytes). Pls increase those values, provided your h/w need to support. Ref to file "AudioHarwareALSA.cpp". It may solve your issue. Thank you. BR, Chand On Thu, Jul 23, 2009 at 5:14 P

[android-developers] Re: videoview can't play mp4 smoothly

2009-07-23 Thread tstanly
thanks for your reply, so what's the section I could modify my code?? or your suggestion is about " change movie file formate"(not the code can determine),?? such as sample rate. and what's your mean about increase buffer size? and how to do? thanks! On 7月23日, 下午7時13分, Suchand Ghosh wrote:

[android-developers] Re: videoview can't play mp4 smoothly

2009-07-23 Thread Marco Nelissen
'mp4 format' is pretty broad. What's the resolution of your video? What is the bitrate? What is the encoding? On Thu, Jul 23, 2009 at 1:14 AM, tstanly wrote: > > hi all, > > this question i have post once, > but nobody can answer me > > > I have used videoview to play mp4 formate movie, > b

[android-developers] Re: videoview can't play mp4 smoothly

2009-07-23 Thread tstanly
did you think this problem is a "format" issue? because i download a freeware named "aPlayer" it play the same video well,and smoothly.. so that i think it's a code issue. On 7月24日, 上午12時54分, Marco Nelissen wrote: > 'mp4 format' is pretty broad. What's the resolution of your video? What is

[android-developers] Re: videoview can't play mp4 smoothly

2009-07-23 Thread tstanly
I chaeck the formate, h.264 encoding 30 fps On 7月24日, 上午9時40分, tstanly wrote: > did you think this problem is a "format" issue? > > because i download a freeware named "aPlayer" > it play the same video well,and smoothly.. > > so that i think it's a code issue. > > On 7月24日, 上午12時54分, Marco Nel

[android-developers] Re: videoview can't play mp4 smoothly

2009-07-23 Thread Brian Conrad
Are you trying to play this on the emulator? About the only thing I can get to play on the emulator is 176x144 3gp h.263 videos at 15fps. Anything else, especially h.264 AVC only shows a frame or to and plays audio. Support is mum on this but I think the emulator can't really handle these in softw

[android-developers] Re: videoview can't play mp4 smoothly

2009-07-23 Thread Marco Nelissen
2009/7/23 tstanly > > did you think this problem is a "format" issue? > > because i download a freeware named "aPlayer" > it play the same video well,and smoothly.. You didn't mention that before. so that i think it's a code issue. I guess so, but I have no idea what the problem would be.

[android-developers] Re: videoview can't play mp4 smoothly

2009-07-23 Thread tstanly
sorry about not mention clear before, and I think is a buffer issue?? is possible get the mp4(/data/t.mp4) to buffer, and then begin to start?? thanks On 7月24日, 上午11時50分, Marco Nelissen wrote: > 2009/7/23 tstanly > > > > > did you think this problem is a "format" issue? > > > because i downl

[android-developers] Re: videoview can't play mp4 smoothly

2009-07-24 Thread Suchand Ghosh
No, Not need to change the movie file. You have to modify your software/program to fit into that video codec level and profile. You can look into the "AudioHarwareALSA.cpp (...\open_src\external\libaudio)" or similar codec lib level file. There you need to change your MAX_BUFFER_SIZE, sample rate e

[android-developers] Re: videoview can't play mp4 smoothly

2009-07-24 Thread tstanly
thank you, but the AudioHardwareALSA.cpp is about audio codec, what's the video codec source name?? thanks On 7月24日, 下午5時04分, Suchand Ghosh wrote: > No, Not need to change the movie file. You have to modify your > software/program to fit into that video codec level and profile. You can > look