Hi Quarx,

for OMX you need to set the correct initial video resolution size as a
parameter before you create the H264 encoder component. So get the
available size using get_parameter and change the value to desired
size and do a set_parameter. You can also include the correct size in
your default parameters which is used before creating the component.

- Preetam

On Tue, Apr 19, 2011 at 10:08 PM, Quarx <[email protected]> wrote:
> Hello. I have a question.
> I build 2.3.3 for OMAP3630 and i have problem with recording video
>>1mbit bitrate.
>
> 04-19 23:25:14.398: INFO/OMXCodec(2565): [OMX.TI.Video.encoder]
> allocating 5 buffers of size 153600 on input port
> 04-19 23:25:14.405: INFO/OMXCodec(2565): [OMX.TI.Video.encoder]
> allocating 10 buffers of size 38656 on output port
> 04-19 23:25:14.405: DEBUG/TI_OMX_VideoEnc(2565):
> OMX_VIDENC_InitDSP_H264Enc():3376 Unsupported level. (60)
> 04-19 23:25:14.452: DEBUG/AudioHardwareMot(2565):
> AudioStreamOut::wake: disabling SRC
> 04-19 23:25:14.452: DEBUG/AudioHardwareMot(2565): Output 0x12d48
> exiting standby
> 04-19 23:25:14.460: ERROR/TI_LCML(2565): 824 :: Exiting
> Init_DSPSubSystem 0
> 04-19 23:25:14.467: ERROR/OMXCodec(2565): [OMX.TI.Video.encoder]
> Codec's input buffers are too small to accomodate buffer read from
> source (info->mSize = 153600, srcLength = 155648)
> 04-19 23:25:14.483: INFO/TIOverlay(1992): Nothing to do!
> 04-19 23:25:14.499: INFO/MPEG4Writer(2565): setStartTimestampUs:
> 100219
> 04-19 23:25:14.499: INFO/MPEG4Writer(2565): Earliest track starting
> time: 100219
> 04-19 23:25:14.530: ERROR/OMXCodec(2565): [OMX.TI.Video.encoder]
> Codec's input buffers are too small to accomodate buffer read from
> source (info->mSize = 153600, srcLength = 155648)
> 04-19 23:25:14.592: ERROR/OMXCodec(2565): [OMX.TI.Video.encoder]
> Codec's input buffers are too small to accomodate buffer read from
> source (info->mSize = 153600, srcLength = 155648)
> 04-19 23:25:14.670: ERROR/OMXCodec(2565): [OMX.TI.Video.encoder]
> Codec's input buffers are too small to accomodate buffer read from
> source (info->mSize = 153600, srcLength = 155648)
> 04-19 23:25:14.733: ERROR/OMXCodec(2565): [OMX.TI.Video.encoder]
> Codec's input buffers are too small to accomodate buffer read from
> source (info->mSize = 153600, srcLength = 155648)
> 04-19 23:25:14.733: INFO/MPEG4Writer(2565): Received total/0-length
> (0/0) buffers and encoded 0 frames. - video
> 04-19 23:25:14.733: VERBOSE/videocamera(3006): stopVideoRecording
>
> How i can fix it?
> Thanks
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>



-- 
"The great pleasure in life is doing what people say you cannot do"

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to