The H.264 codec in the G1 is baseline profile Level 1.3. Maximum frame size is 480x320 (happily the same dimensions as the screen). Recommended maximum bit rate is 384Kbps. Maximum frame rate is 30 fps. It does not support B-frames (consistent with baseline profile). If you stay within these bounds, you should have good performance.
That said, with a good encoder, you can push the bit rate a bit higher. The important thing is that it not be too bursty, the decoder can handle a few frames at double the bit rate, but eventually it will fall behind. I've even had the audio track screw up when I pushed it too hard. On Mar 7, 4:08 am, Freepine <[email protected]> wrote: > I have no specific knowledge about the error code returned ( perhaps a > Qualcomm or HTC guy can give some hints:), so I can't give you concrete > suggestions about what to do exactly... > Anyway, I did a search in google and found below link might be helpful to > you:http://techlime.com/mobiles-cellphones-handhelds-pda/mp4htchd-new-eas... > > On Sat, Mar 7, 2009 at 8:03 PM, manoj <[email protected]> wrote: > > > can you please suggest me how to use the transcode tool to convert the > > original clip to lower profile? > > > I will be thankful to you if I got this answer. > > > Thanks, > > Manoj. > > > On Mar 7, 4:58 pm, Freepine <[email protected]> wrote: > > > You are welcome, and It might be possible to use a video transcode tool > > to > > > convert the original clip to lower profile, resolution or frame rate, but > > I > > > guess using another file would be the easiest way :) > > > > On Sat, Mar 7, 2009 at 7:46 PM, manoj <[email protected]> wrote: > > > > > thanks for your reply. > > > > > On Mar 7, 4:44 pm, Freepine <[email protected]> wrote: > > > > > Probably not:) > > > > > > On Sat, Mar 7, 2009 at 7:34 PM, manoj <[email protected]> > > wrote: > > > > > > > can't I do anything to play it perfectly? > > > > > > > Thanks, > > > > > > Manoj. > > > > > > > On Mar 7, 4:29 pm, Freepine <[email protected]> wrote: > > > > > > > It looks Qualcomm omx decoder couldn't be initialized > > successfully > > > > for > > > > > > your > > > > > > > video clip. Perhaps you can try with another video file. > > > > > > > > On Sat, Mar 7, 2009 at 5:31 PM, manoj <[email protected] > > > > > wrote: > > > > > > > > > Hi, > > > > > > > > > I have written a small video playing application. > > > > > > > > > I installed it on Android dev phone. > > > > > > > > > I am trying to play a video file, but got the following error. > > > > > > > > > E/QCvdecH264( 31): get_parameter: unknown param 0ff7a347 > > > > > > > > W/QCvdec ( 31): vdec: opened > > > > > > > > W/QCvdec ( 31): VDL_Configure_HW: Interface Not supported > > > > > > > > E/QCvdec ( 31): Driver Layer hardware config failed with > > error > > > > code > > > > > > > > 7 > > > > > > > > W/QCvdec ( 31): error - H264Decoder::InitializeDecInternal() > > > > > > > > failed!! > > > > > > > > W/QCvdec ( 31): There is no input node available > > > > > > > > E/QCvdec ( 31): partner/qct/proprietary/libOmxH264Dec/ > > > > > > > > vdecoder_i.cpp:952 *** ERROR ASSERT(0) > > > > > > > > W/ ( 31): [vdec_core] vdec_queue error: 5 > > > > > > > > W/ ( 31): [vdec_core] frame buffer malloc failed, > > index: 8 > > > > > > > > W/QCvdec ( 31): Unable to allocate buffers (out of memory) > > > > > > > > W/QCvdec ( 31): VDL_Configure_HW: Interface Not supported > > > > > > > > E/QCvdec ( 31): Driver Layer hardware config failed with > > error > > > > code > > > > > > > > 7 > > > > > > > > W/QCvdec ( 31): error - H264Decoder::InitializeDecInternal() > > > > > > > > failed!! > > > > > > > > > can any one please help me to solve this problem. > > > > > > > > > Thanks, > > > > > > > > Manoj. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

