Empty frames at VideoBufferReady

Login to reply to this topic.
Sat, 2008-03-22 19:43
Joined: 2007-08-25
Forum posts: 8

Hi, I am trying to record some frames from the phone's camera.
I modified MyP990Camera to record video.
The first frame I get has 115200bytes of data and I can save it without problems. All frames after that have 0 length and a call to DataL, ChunkOffsetL etc. will fail with "Bad Request".

I am using Sony-Ericsson P990 phone and UIQ 3.0 SDK with semc_p990_sdk_extension_1_00

I have attached my modified app. The most important file is MyCameraHandler.cpp, most of camera stuff is there.

Did someone run into the same problem ? I really can't figure out what is wrong and the documentation is not very helpful.
Thanks.

AttachmentSize
MyP990Camera.zip52.91 KB

Sun, 2008-03-23 21:28
Joined: 2007-08-25
Forum posts: 8
Re: Empty frames at VideoBufferReady

Never Mind Laughing out loud
I found the problme, the documentation and example program was missleading.
I was using aFrameBuffer->DataL(aCameraBuffer.iIndexOfFirstFrameInBuffer) instead of aFrameBuffer->DataL(0)

Sun, 2008-03-23 21:28
Joined: 2007-08-25
Forum posts: 8
Re: Empty frames at VideoBufferReady

Never Mind Laughing out loud
I found the problme, the documentation and example program was missleading.
I was using aFrameBuffer->DataL(aCameraBuffer.iIndexOfFirstFrameInBuffer) instead of aFrameBuffer->DataL(0)

  • Login to reply to this topic.